Theme system (#2164)

* Themes instead of Styles
* Colors changed to theme colors
* Reworked style management
* Theme settings app
* warn, menu dual set
* Added Aqua style
This commit is contained in:
Totoo
2024-05-27 21:02:52 +02:00
committed by GitHub
parent a8203a6372
commit ced8012783
143 changed files with 1566 additions and 1154 deletions

View File

@@ -184,8 +184,8 @@ class TouchTunesView : public View {
{{23 * 8, 29 * 8}, "-"}}};
Labels labels{
{{2 * 8, 1 * 8}, "PIN:", Color::light_grey()},
{{13 * 8 + 4, 27 * 8}, "VOL1 VOL2 VOL3", Color::light_grey()}};
{{2 * 8, 1 * 8}, "PIN:", Theme::getInstance()->fg_light->foreground},
{{13 * 8 + 4, 27 * 8}, "VOL1 VOL2 VOL3", Theme::getInstance()->fg_light->foreground}};
std::array<Button, 32> buttons{};