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

@ -137,15 +137,15 @@ ReconSetupViewMore::ReconSetupViewMore(NavigationView& nav, Rect parent_rect)
&field_repeat_delay});
// tx options have to be in yellow to inform the users that activating them will make the device transmit
checkbox_repeat_recorded.set_style(&Styles::yellow);
field_repeat_file_mode.set_style(&Styles::yellow);
text_repeat_nb.set_style(&Styles::yellow);
field_repeat_nb.set_style(&Styles::yellow);
checkbox_repeat_amp.set_style(&Styles::yellow);
text_repeat_gain.set_style(&Styles::yellow);
field_repeat_gain.set_style(&Styles::yellow);
text_repeat_delay.set_style(&Styles::yellow);
field_repeat_delay.set_style(&Styles::yellow);
checkbox_repeat_recorded.set_style(Theme::getInstance()->fg_yellow);
field_repeat_file_mode.set_style(Theme::getInstance()->fg_yellow);
text_repeat_nb.set_style(Theme::getInstance()->fg_yellow);
field_repeat_nb.set_style(Theme::getInstance()->fg_yellow);
checkbox_repeat_amp.set_style(Theme::getInstance()->fg_yellow);
text_repeat_gain.set_style(Theme::getInstance()->fg_yellow);
field_repeat_gain.set_style(Theme::getInstance()->fg_yellow);
text_repeat_delay.set_style(Theme::getInstance()->fg_yellow);
field_repeat_delay.set_style(Theme::getInstance()->fg_yellow);
checkbox_load_freqs.set_value(persistent_memory::recon_load_freqs());
checkbox_load_repeaters.set_value(persistent_memory::recon_load_repeaters());