fix: restore load_dashboard.py (truncated), use CSS vars for dark mode, improve card spacing

This commit is contained in:
yumoqing 2026-06-01 16:39:57 +08:00
parent 759d629bb3
commit 401c7a15bb
5 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,7 @@
{
"widgettype": "VBox",
"options": {
"bgcolor": "#FFFFFF",
"bgcolor": "var(--sage-bg-card, #FFFFFF)",
"padding": "24px",
"borderRadius": "8px",
"flex": "1",

View File

@ -5,7 +5,7 @@
"options": {
"width": "100%",
"height": "100%",
"bgcolor": "var(--bricks-bg-color, #ffffff)"
"bgcolor": "var(--sage-bg-primary, transparent)"
},
"subwidgets": [
{
@ -68,9 +68,9 @@
"widgettype": "ResponsableBox",
"options": {
"width": "100%",
"gap": "12px",
"minWidth": "220px",
"marginBottom": "12px"
"gap": "16px",
"minWidth": "180px",
"marginBottom": "16px"
},
"subwidgets": [
{
@ -127,9 +127,9 @@
"widgettype": "ResponsableBox",
"options": {
"width": "100%",
"gap": "12px",
"minWidth": "220px",
"marginBottom": "12px"
"gap": "16px",
"minWidth": "180px",
"marginBottom": "16px"
},
"subwidgets": [
{

View File

@ -1,6 +1,7 @@
{
"widgettype": "VBox",
"options": {
"css": "stat-card",
"padding": "14px",
"borderRadius": "12px",
"flex": "1",

View File

@ -1,7 +1,7 @@
{
"widgettype": "VBox",
"options": {
"bgcolor": "#FFFFFF",
"bgcolor": "var(--sage-bg-card, #FFFFFF)",
"padding": "24px",
"borderRadius": "8px",
"flex": "1",

View File

@ -1,7 +1,7 @@
{
"widgettype": "VBox",
"options": {
"bgcolor": "#FFFFFF",
"bgcolor": "var(--sage-bg-card, #FFFFFF)",
"padding": "24px",
"borderRadius": "8px",
"flex": "1",