style(B04): 3D 표고 범례 판 · 글 색 = 테마 값 — 어두움에 흰 판 안 남음 (PLAN 556-1 · 요구 383)
- 판 rgba(255,255,255,.9) → --color-surface-raised 90% · 선 --color-border-strong · 그림자 --shadow-sm - 최고 · 최저 글 → --color-danger · --color-info · 색 띠(그림 값)는 그대로 - 지킴 시험 test_556_1_page_bg 에 범례 줄 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -27,3 +27,12 @@ def test_general_layout_uses_page_bg():
|
||||
def test_b03_page_has_no_own_bg():
|
||||
css = (ROOT / "B03_FileInput/B03_FileInput_UI_Style.css").read_text(encoding="utf-8")
|
||||
assert "background" not in _rule(css, ".b03-file")
|
||||
|
||||
|
||||
def test_b04_elevation_legend_follows_theme():
|
||||
ts = (ROOT / "B04_PreProcess/B04_PreProcess_UI_TerrainViewer_Chrome.ts").read_text(
|
||||
encoding="utf-8"
|
||||
)
|
||||
legend = ts[ts.index("const legendBar") : ts.index("legendBar.append")]
|
||||
assert "rgba(255, 255, 255" not in legend
|
||||
assert "var(--color-surface-raised)" in legend
|
||||
|
||||
Reference in New Issue
Block a user