You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
About app: use theme color
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
0.6.0
|
||||
=====
|
||||
- About app: make more beautiful
|
||||
- AppStore app: add Settings screen to choose backend
|
||||
- Camera app: fix aspect ratio for higher resolutions
|
||||
- WiFi app: check "hidden" in EditNetwork
|
||||
|
||||
@@ -10,7 +10,8 @@ class About(Activity):
|
||||
label = lv.label(parent)
|
||||
label.set_text(text)
|
||||
if is_header:
|
||||
label.set_style_text_color(lv.color_hex(0x4A90E2), 0)
|
||||
primary_color = lv.theme_get_color_primary(None)
|
||||
label.set_style_text_color(primary_color, 0)
|
||||
label.set_style_text_font(lv.font_montserrat_14, 0)
|
||||
label.set_style_margin_top(12, 0)
|
||||
label.set_style_margin_bottom(4, 0)
|
||||
|
||||
Reference in New Issue
Block a user