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",
"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"
}
}

View File

@ -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"
}
}

View File

@ -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"
}
}

View File

@ -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"
}
}