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

@ -55,10 +55,10 @@ class WhipCalcView : public View {
void add_default_antenna();
Labels labels{
{{2 * 8, 1 * 16}, "Frequency:", Color::light_grey()},
{{7 * 8, 2 * 16}, "Wave:", Color::light_grey()},
{{5 * 8, 3 * 16}, "Metric:", Color::light_grey()},
{{3 * 8, 4 * 16}, "Imperial:", Color::light_grey()}};
{{2 * 8, 1 * 16}, "Frequency:", Theme::getInstance()->fg_light->foreground},
{{7 * 8, 2 * 16}, "Wave:", Theme::getInstance()->fg_light->foreground},
{{5 * 8, 3 * 16}, "Metric:", Theme::getInstance()->fg_light->foreground},
{{3 * 8, 4 * 16}, "Imperial:", Theme::getInstance()->fg_light->foreground}};
TxFrequencyField field_frequency{
{13 * 8, 1 * 16},