Skip to content

Commit 74894ec

Browse files
About app: use theme color
1 parent fd3104a commit 74894ec

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
0.6.0
22
=====
3+
- About app: make more beautiful
34
- AppStore app: add Settings screen to choose backend
45
- Camera app: fix aspect ratio for higher resolutions
56
- WiFi app: check "hidden" in EditNetwork

internal_filesystem/builtin/apps/com.micropythonos.about/assets/about.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ def _add_label(self, parent, text, is_header=False):
1010
label = lv.label(parent)
1111
label.set_text(text)
1212
if is_header:
13-
label.set_style_text_color(lv.color_hex(0x4A90E2), 0)
13+
primary_color = lv.theme_get_color_primary(None)
14+
label.set_style_text_color(primary_color, 0)
1415
label.set_style_text_font(lv.font_montserrat_14, 0)
1516
label.set_style_margin_top(12, 0)
1617
label.set_style_margin_bottom(4, 0)

0 commit comments

Comments
 (0)