refactor(ui): 移除屏幕背景渐变样式

移除了UI主界面屏幕对象的背景渐变颜色和垂直渐变方向样式设置,
统一使用纯色背景以简化界面设计并提升渲染性能。
This commit is contained in:
2026-04-15 10:59:03 +08:00
parent 79af0eb025
commit 0a905d280d

View File

@@ -207,8 +207,6 @@ void ui_main_init(const struct ui_main_model *model,
lv_obj_clean(screen);
lv_obj_set_style_bg_color(screen, lv_color_hex(0x0F1115), 0);
lv_obj_set_style_bg_grad_color(screen, lv_color_hex(0x1A1F29), 0);
lv_obj_set_style_bg_grad_dir(screen, LV_GRAD_DIR_VER, 0);
lv_obj_set_style_bg_opa(screen, LV_OPA_COVER, 0);
lv_obj_set_style_text_color(screen, lv_color_white(), 0);
lv_obj_set_style_pad_all(screen, 0, 0);