refactor: govern CSS tokens and cascade

This commit is contained in:
leefer
2026-07-29 21:56:39 +08:00
parent 8d617cfa17
commit ed2b47fe90
11 changed files with 551 additions and 425 deletions
+14 -13
View File
@@ -244,6 +244,7 @@
}
],
"css_layers": [
"/shared/tokens.css?v=20260729-1",
"/styles.css",
"/renovation.css?v=20260725-5",
"/redesign-v2.css?v=20260728-1",
@@ -259,23 +260,23 @@
},
{
"path": "static/styles.css",
"bytes": 364385,
"lines": 15549
},
{
"path": "static/redesign-v2.css",
"bytes": 264960,
"lines": 8616
"bytes": 361780,
"lines": 15465
},
{
"path": "server.py",
"bytes": 263744,
"lines": 5856
},
{
"path": "static/redesign-v2.css",
"bytes": 263539,
"lines": 8570
},
{
"path": "static/index.html",
"bytes": 133815,
"lines": 1875
"bytes": 133880,
"lines": 1876
},
{
"path": "database.py",
@@ -294,8 +295,8 @@
},
{
"path": "static/renovation.css",
"bytes": 86245,
"lines": 1636
"bytes": 83949,
"lines": 1553
},
{
"path": "static/wentian-v2.css",
@@ -309,8 +310,8 @@
},
{
"path": "static/theme.css",
"bytes": 41279,
"lines": 1407
"bytes": 36427,
"lines": 1253
}
]
}