- Updated theme plugin to support changing themes on runtime

- Added 4 themes
- Added Cache System for States
This commit is contained in:
Robert Jelic
2025-11-05 13:56:19 +01:00
parent e4ee937f0f
commit 71d23ee9a2
11 changed files with 304 additions and 46 deletions

47
themes/orange.json Normal file
View File

@@ -0,0 +1,47 @@
{
"theme": "orange",
"default": {
"background": "black",
"foreground": "orange"
},
"BaseFrame": {
"background": "white",
"Container": {
"default": {
"background": "black",
"foreground": "orange"
},
"background": "orange",
"foreground": "white",
"Button": {
"background": "black",
"foreground": "orange",
"states": {
"clicked": {
"background": "white",
"foreground": "orange"
}
}
},
"Label": {
"foreground": "black"
}
},
"Button": {
"background": "black",
"foreground": "orange",
"states": {
"clicked": {
"background": "orange",
"foreground": "white"
}
}
},
"names": {
"basaltDebugLog": {
"background": "red",
"foreground": "white"
}
}
}
}