feat(ui): dark tech theme — emoji-free chrome, subtle animated CSS background, WCAG AA dark palette
This commit is contained in:
@@ -108,8 +108,8 @@ def test_onboarding_chips_render(
|
||||
expect(page.locator("#empty-state")).to_be_visible()
|
||||
# Chip component contract: brand pill, >=44px touch target.
|
||||
style = chips.first.evaluate("el => getComputedStyle(el)")
|
||||
assert style["backgroundColor"] == "rgb(238, 240, 254)" # --brand-soft
|
||||
assert style["color"] == "rgb(55, 48, 163)" # --brand-ink
|
||||
assert style["backgroundColor"] == "rgb(35, 43, 82)" # --brand-soft #232b52 (dark theme)
|
||||
assert style["color"] == "rgb(165, 180, 252)" # --brand-ink #a5b4fc
|
||||
assert style["borderRadius"] == "999px"
|
||||
box = chips.first.bounding_box()
|
||||
assert box is not None and box["height"] >= 44
|
||||
|
||||
Reference in New Issue
Block a user