[TGUI v6] Migration to CSS Variables, styles refactor & React 19 (#17487)

* Initial Port of tg's tgui 2.0

* initial

* first UI fixes

* fix retro theme

* rd console

* wiki theme

* better tgui say handling

* Ui scaling port

* smaller gap

* guh

* reset subcats on main cat change

* blink a bit later

* tofixed

* fixed

* currently not fully supported

* increase that

* fix powermonitor chart

* typescript up

* tgui core up
This commit is contained in:
Kashargul
2025-04-08 22:49:38 +02:00
committed by GitHub
parent e90a7a554a
commit d18cd11713
138 changed files with 2624 additions and 1987 deletions
+8 -1
View File
@@ -296,9 +296,12 @@
)
addtimer(CALLBACK(src, PROC_REF(check_panel_loaded)), 30 SECONDS)
INVOKE_ASYNC(src, PROC_REF(acquire_dpi))
tgui_panel.initialize()
// Initialize tgui panel
tgui_say.initialize()
tgui_panel.initialize()
connection_time = world.time
connection_realtime = world.realtime
@@ -813,6 +816,10 @@
SEND_SIGNAL(src, COMSIG_CLIENT_CLICK, object, location, control, params, usr)
. = ..()
/// This grabs the DPI of the user per their skin
/client/proc/acquire_dpi()
window_scaling = text2num(winget(src, null, "dpi"))
#undef ADMINSWARNED_AT
#undef CURRENT_MINUTE
#undef CURRENT_SECOND