mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-20 12:54:33 -04:00
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:
parent
a8203a6372
commit
ced8012783
143 changed files with 1566 additions and 1154 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue