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

@ -76,11 +76,11 @@ class KeyfobView : public View {
void subaru_set_command(const uint32_t command);
Labels labels{
{{5 * 8, 1 * 16}, "Make:", Color::light_grey()},
{{2 * 8, 2 * 16}, "Command:", Color::light_grey()},
{{2 * 8, 4 * 16}, "Payload: #####", Color::light_grey()},
{{2 * 8, 7 * 16}, "Checksum is fixed just", Color::light_grey()},
{{2 * 8, 8 * 16}, "before transmission.", Color::light_grey()},
{{5 * 8, 1 * 16}, "Make:", Theme::getInstance()->fg_light->foreground},
{{2 * 8, 2 * 16}, "Command:", Theme::getInstance()->fg_light->foreground},
{{2 * 8, 4 * 16}, "Payload: #####", Theme::getInstance()->fg_light->foreground},
{{2 * 8, 7 * 16}, "Checksum is fixed just", Theme::getInstance()->fg_light->foreground},
{{2 * 8, 8 * 16}, "before transmission.", Theme::getInstance()->fg_light->foreground},
};
OptionsField options_make{