From 534e4fe8e09701bf4ead30ed0a88904552ca705e Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 28 May 2026 16:16:07 +0800 Subject: [PATCH] fix: remove hardcoded dark theme colors from stat cards for light theme support --- wwwroot/stat_catelog_count.ui | 4 ---- wwwroot/stat_today_amount.ui | 4 ---- wwwroot/stat_today_calls.ui | 4 ---- wwwroot/stat_total_models.ui | 4 ---- 4 files changed, 16 deletions(-) diff --git a/wwwroot/stat_catelog_count.ui b/wwwroot/stat_catelog_count.ui index 3bd121f..e8fdeb1 100644 --- a/wwwroot/stat_catelog_count.ui +++ b/wwwroot/stat_catelog_count.ui @@ -2,10 +2,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -36,7 +34,6 @@ "text": "{{stats.catelog_count}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -45,7 +42,6 @@ "options": { "text": "模型分类", "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px" } } diff --git a/wwwroot/stat_today_amount.ui b/wwwroot/stat_today_amount.ui index 2ac8469..28c4a2a 100644 --- a/wwwroot/stat_today_amount.ui +++ b/wwwroot/stat_today_amount.ui @@ -2,10 +2,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -36,7 +34,6 @@ "text": "¥{{'%.2f' % stats.today_amount}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -45,7 +42,6 @@ "options": { "text": "今日消费", "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px" } } diff --git a/wwwroot/stat_today_calls.ui b/wwwroot/stat_today_calls.ui index 7edd862..6ca664e 100644 --- a/wwwroot/stat_today_calls.ui +++ b/wwwroot/stat_today_calls.ui @@ -2,10 +2,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -36,7 +34,6 @@ "text": "{{stats.today_usage_count}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -45,7 +42,6 @@ "options": { "text": "今日调用", "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px" } } diff --git a/wwwroot/stat_total_models.ui b/wwwroot/stat_total_models.ui index 3861e52..ad7afec 100644 --- a/wwwroot/stat_total_models.ui +++ b/wwwroot/stat_total_models.ui @@ -2,10 +2,8 @@ { "widgettype": "VBox", "options": { - "bgcolor": "#1E293B", "padding": "20px", "borderRadius": "12px", - "border": "1px solid #334155", "flex": "1", "minHeight": "110px" }, @@ -36,7 +34,6 @@ "text": "{{stats.total_models}}", "fontSize": "32px", "fontWeight": "700", - "color": "#F1F5F9", "lineHeight": "1.1" } }, @@ -45,7 +42,6 @@ "options": { "text": "可用模型数", "fontSize": "14px", - "color": "#94A3B8", "marginTop": "4px" } }