feat(P5): 暗色模式真正实现(令牌31/对比度全过/10页实测/DARK32/预算292KB/回归1003)
Deploy to GitHub Pages / deploy (push) Failing after 2m30s
Regression / regression (push) Failing after 2m2s

This commit is contained in:
aurora-admin
2026-09-14 02:38:35 +08:00
parent e77efcdc60
commit e13049f5b9
8 changed files with 291 additions and 47 deletions
+4
View File
@@ -14,6 +14,10 @@
.aa-tag.aa-tag-orange { background: #FFF7E6; color: var(--au-color-warning); }
.aa-tag.aa-tag-gray { background: var(--au-color-disabled-bg); color: var(--au-color-text-secondary); }
/* S2-P5 暗色覆盖:浅底在深色下改为语义色半透明底,文字用暗色提亮值(对比度 ≥4.5:1 实测) */
html.aa-dark .aa-tag.aa-tag-red { background: rgba(242,109,109,0.18); }
html.aa-dark .aa-tag.aa-tag-orange { background: rgba(229,163,0,0.18); }
/* 自定义颜色(行内 style 提供 --aa-tag-color / --aa-tag-bg) */
.aa-tag.aa-tag-custom { background: var(--aa-tag-bg); color: var(--aa-tag-color); }
+1
View File
@@ -35,6 +35,7 @@
position: absolute; inset: 0; background: rgba(255,255,255,0.7); display: flex;
align-items: center; justify-content: center; z-index: 2;
}
html.aa-dark .aa-table .loading-mask { background: rgba(20,22,28,0.7); }
.aa-table .spinner {
width: 20px; height: 20px; border: 2px solid var(--au-color-brand); border-top-color: transparent;
border-radius: 50%; animation: aa-tbl-spin .6s linear infinite;