- 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/classic.json Normal file
View File

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