feat(ui): implement dark/light theme switch

This commit is contained in:
kairee committed 2026-11-01 23:29:14 +08:00
1 parent 1b76fdeda1
commit 0b92e10317
4 files changed
+140 -31

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ def test_readonly_routes_and_static():
assert "text/html" in headers["Content-Type"]
assert b"<html" in payload.lower()
for asset in ("/static/style.css", "/static/app.js", "/static/vendor/echarts.min.js"):
for asset in ("/static/style.css", "/static/app.js", "/static/theme.js", "/static/vendor/echarts.min.js"):
status, asset_headers, asset_payload = running.request(asset)
assert status == 200, asset
assert asset_payload, asset