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
This commit is contained in:
parent
0e9a0ef126
commit
ce5062215e
@ -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": "<svg width=\"36\" height=\"36\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"#F59E0B\" stroke-width=\"1.5\"><path d=\"M12 6v12m-3-2.818l.879.659c1.171.879 3.07.879 4.242 0 1.172-.879 1.172-2.303 0-3.182C13.536 12.219 12.768 12 12 12c-.725 0-1.45-.22-2.003-.659-1.106-.879-1.106-2.303 0-3.182s2.9-.879 4.006 0l.415.33M21 12a9 9 0 11-18 0 9 9 0 0118 0z\"/></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"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user