mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2026-09-11 00:59:28 +00: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:
+1
-1
@@ -237,7 +237,7 @@ LCRView::LCRView(NavigationView& nav) {
|
||||
rectangle->set_parent_rect({static_cast<Coord>(98),
|
||||
static_cast<Coord>(n * 32 + 66),
|
||||
68, 20});
|
||||
rectangle->set_color(ui::Color::grey());
|
||||
rectangle->set_color(Theme::getInstance()->fg_medium->foreground);
|
||||
rectangle->set_outline(true);
|
||||
add_child(rectangle);
|
||||
|
||||
|
||||
+2
-2
@@ -105,8 +105,8 @@ class LCRView : public View {
|
||||
std::string generate_message(std::string rgsb, std::vector<std::string> litterals, size_t option_ec);
|
||||
|
||||
Labels labels{
|
||||
{{0, 8}, "EC: RGSB:", Color::light_grey()},
|
||||
{{17 * 8, 4 * 8}, "List:", Color::light_grey()}};
|
||||
{{0, 8}, "EC: RGSB:", Theme::getInstance()->fg_light->foreground},
|
||||
{{17 * 8, 4 * 8}, "List:", Theme::getInstance()->fg_light->foreground}};
|
||||
|
||||
std::array<Button, LCR_MAX_AM> buttons{};
|
||||
std::array<Checkbox, LCR_MAX_AM> checkboxes{};
|
||||
|
||||
Reference in New Issue
Block a user