Commit 714f8dd
committed
chore(Icon stories): drop #888 backdrop from IconHarness
The IconHarness wrapper applied a hardcoded grey #888 background that
made sense for Spacer/Separator (where you need contrast against an
otherwise invisible primitive) but hurt Icon's stories — it muddied
the state pills (success/warning/danger/info badges) and washed out
glyphs whose visibility doesn't need any artificial contrast against
Storybook's page background.
Drop the backdrop and the 24px padding; keep the wrapper as a
testid-only inline-flex container so the Playwright locator still
attaches. All 36 Icon snapshots regenerated.
No component code changes; stories/spec layout only.1 parent 5130256 commit 714f8dd
37 files changed
Lines changed: 1 addition & 5 deletions
File tree
- src/components/Icon
- tests/display/icon.spec.ts-snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
| 62 | + | |
67 | 63 | | |
68 | 64 | | |
69 | 65 | | |
| |||
0 commit comments