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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
143 changed files with 1566 additions and 1154 deletions

View file

@ -49,7 +49,7 @@ class AudioSpectrumView : public View {
int16_t audio_spectrum[128]{0};
Labels labels{
{{6 * 8, 0 * 16}, "Hz", Color::light_grey()}};
{{6 * 8, 0 * 16}, "Hz", Theme::getInstance()->fg_light->foreground}};
NumberField field_frequency{
{0 * 8, 0 * 16},
@ -64,7 +64,7 @@ class AudioSpectrumView : public View {
128,
0,
false,
Color::white()};
Theme::getInstance()->bg_darkest->foreground};
};
class FrequencyScale : public Widget {