mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-03 03:11:57 +00:00
feat(l2): light theme reworked - a tint for selected, grey values, quiet edges
The light theme read as the dark one inverted. Now something selected (a tab, a segment, a tile, Fav) is a tint of the accent with the accent's text (SEL_*), the full accent fill stays for the primary action; setting values read in grey (VALUE); popups, the banner and the toast have a quiet grey edge (EDGE), the toast is a dark pill; neutral greys the RGB565 panel keeps neutral; the big clock graphite. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -419,7 +419,7 @@ void UITask::setAccent(int idx) {
|
||||
theme::setAccent(idx);
|
||||
lvport::saveAccent(theme::s_accent);
|
||||
theme::install(lv_display_get_default());
|
||||
if (_toast) lv_obj_set_style_border_color(_toast, lv_color_hex(theme::ACCENT), 0);
|
||||
if (_toast) lv_obj_set_style_border_color(_toast, lv_color_hex(theme::EDGE), 0);
|
||||
_status_sig[0] = '\0'; // icons in the accent rebuilt
|
||||
refreshStatusBar();
|
||||
pinRowRefresh(); // the page, kept at its bottom where this row is
|
||||
|
||||
Reference in New Issue
Block a user