[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
@@ -114,3 +114,16 @@
/datum/preference/text/preset_colors/apply_to_client(client/client, value)
return
/datum/preference/toggle/ui_scale
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "ui_scale"
savefile_identifier = PREFERENCE_PLAYER
default_value = FALSE // Set to true once lobby screen is migrated to tgui and browse are replaced with datum browser
/datum/preference/toggle/ui_scale/apply_to_client(client/client, value)
if(!istype(client))
return
INVOKE_ASYNC(client, TYPE_VERB_REF(/client, refresh_tgui))
client.tgui_say?.load()