From ce5062215e8ca91e2f7e387cbf29e20e08c9c4e0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 27 May 2026 11:31:15 +0800 Subject: [PATCH] fix: remove hardcoded dark theme colors from index.ui - Remove bgcolor/color/border hardcoded dark theme values - Use css:'card' class for navigation card - Let system theme handle styling for proper contrast --- wwwroot/index.ui | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index fa3398e..5f50f23 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -3,8 +3,7 @@ "options": { "width": "100%", "height": "100%", - "padding": "0", - "bgcolor": "#0B1120" + "padding": "0" }, "subwidgets": [ { @@ -19,7 +18,6 @@ "widgettype": "Title2", "options": { "text": "定价管理", - "color": "#F1F5F9", "fontWeight": "700" } }, @@ -30,8 +28,7 @@ "widgettype": "Text", "options": { "text": "模型定价项目与计费规则配置", - "fontSize": "14px", - "color": "#64748B" + "fontSize": "14px" } } ] @@ -39,10 +36,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", + "css": "card", "padding": "24px", - "borderRadius": "12px", - "border": "1px solid #334155", "cursor": "pointer" }, "binds": [ @@ -58,20 +53,10 @@ } ], "subwidgets": [ - { - "widgettype": "Svg", - "options": { - "svg": "", - "width": "36px", - "height": "36px", - "marginBottom": "16px" - } - }, { "widgettype": "Title4", "options": { "text": "定价项目管理", - "color": "#F1F5F9", "fontWeight": "600", "marginBottom": "8px" } @@ -80,8 +65,7 @@ "widgettype": "Text", "options": { "text": "管理模型定价规则、计费项目和定时任务", - "fontSize": "14px", - "color": "#94A3B8" + "fontSize": "14px" } } ]