fix: remove hardcoded dark theme colors from stat cards for light theme support

This commit is contained in:
yumoqing 2026-05-28 16:16:07 +08:00
parent 65d5020fc7
commit 534e4fe8e0
4 changed files with 0 additions and 16 deletions

View File

@ -2,10 +2,8 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"bgcolor": "#1E293B",
"padding": "20px", "padding": "20px",
"borderRadius": "12px", "borderRadius": "12px",
"border": "1px solid #334155",
"flex": "1", "flex": "1",
"minHeight": "110px" "minHeight": "110px"
}, },
@ -36,7 +34,6 @@
"text": "{{stats.catelog_count}}", "text": "{{stats.catelog_count}}",
"fontSize": "32px", "fontSize": "32px",
"fontWeight": "700", "fontWeight": "700",
"color": "#F1F5F9",
"lineHeight": "1.1" "lineHeight": "1.1"
} }
}, },
@ -45,7 +42,6 @@
"options": { "options": {
"text": "模型分类", "text": "模型分类",
"fontSize": "14px", "fontSize": "14px",
"color": "#94A3B8",
"marginTop": "4px" "marginTop": "4px"
} }
} }

View File

@ -2,10 +2,8 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"bgcolor": "#1E293B",
"padding": "20px", "padding": "20px",
"borderRadius": "12px", "borderRadius": "12px",
"border": "1px solid #334155",
"flex": "1", "flex": "1",
"minHeight": "110px" "minHeight": "110px"
}, },
@ -36,7 +34,6 @@
"text": "¥{{'%.2f' % stats.today_amount}}", "text": "¥{{'%.2f' % stats.today_amount}}",
"fontSize": "32px", "fontSize": "32px",
"fontWeight": "700", "fontWeight": "700",
"color": "#F1F5F9",
"lineHeight": "1.1" "lineHeight": "1.1"
} }
}, },
@ -45,7 +42,6 @@
"options": { "options": {
"text": "今日消费", "text": "今日消费",
"fontSize": "14px", "fontSize": "14px",
"color": "#94A3B8",
"marginTop": "4px" "marginTop": "4px"
} }
} }

View File

@ -2,10 +2,8 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"bgcolor": "#1E293B",
"padding": "20px", "padding": "20px",
"borderRadius": "12px", "borderRadius": "12px",
"border": "1px solid #334155",
"flex": "1", "flex": "1",
"minHeight": "110px" "minHeight": "110px"
}, },
@ -36,7 +34,6 @@
"text": "{{stats.today_usage_count}}", "text": "{{stats.today_usage_count}}",
"fontSize": "32px", "fontSize": "32px",
"fontWeight": "700", "fontWeight": "700",
"color": "#F1F5F9",
"lineHeight": "1.1" "lineHeight": "1.1"
} }
}, },
@ -45,7 +42,6 @@
"options": { "options": {
"text": "今日调用", "text": "今日调用",
"fontSize": "14px", "fontSize": "14px",
"color": "#94A3B8",
"marginTop": "4px" "marginTop": "4px"
} }
} }

View File

@ -2,10 +2,8 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"bgcolor": "#1E293B",
"padding": "20px", "padding": "20px",
"borderRadius": "12px", "borderRadius": "12px",
"border": "1px solid #334155",
"flex": "1", "flex": "1",
"minHeight": "110px" "minHeight": "110px"
}, },
@ -36,7 +34,6 @@
"text": "{{stats.total_models}}", "text": "{{stats.total_models}}",
"fontSize": "32px", "fontSize": "32px",
"fontWeight": "700", "fontWeight": "700",
"color": "#F1F5F9",
"lineHeight": "1.1" "lineHeight": "1.1"
} }
}, },
@ -45,7 +42,6 @@
"options": { "options": {
"text": "可用模型数", "text": "可用模型数",
"fontSize": "14px", "fontSize": "14px",
"color": "#94A3B8",
"marginTop": "4px" "marginTop": "4px"
} }
} }