Skip to content

Commit 2f8ef28

Browse files
feat(statuslight): s2 migration (#2818)
* refactor: remove --sizeM modifier and make "medium" default size * refactor:remove accent semantic variant * refactor: add/update new colors/tokens * refactor: update typography styles * refactor: generate new mod properties * docs: add migration notes/changes to yml * feat: add chromatic vr coverage * fix: high contrast changes (utilizes changes from PR#2771 to clean up legacy vendor prefixes) * docs: add changeset and update yml
1 parent 5d730fe commit 2f8ef28

File tree

5 files changed

+420
-189
lines changed

5 files changed

+420
-189
lines changed

.changeset/chilly-peaches-sniff.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
"@spectrum-css/statuslight": major
3+
---
4+
5+
Spectrum 2 Status light migration
6+
7+
New non-semantic colors were added to the variants list, while the `accent` semantic variant was removed. There were also some new and updated color and text-to-visual tokens used to match the designs, along with normalizing font family, font style, and font weight.
8+
9+
New mods added:
10+
11+
- `--mod-statuslight-font-family`
12+
- `--mod-statuslight-font-style`
13+
- `--mod-statuslight-nonsemantic-brown-color`
14+
- `--mod-statuslight-nonsemantic-cinnamon-color`
15+
- `--mod-statuslight-nonsemantic-pink-color`
16+
- `--mod-statuslight-nonsemantic-silver-color`
17+
- `--mod-statuslight-nonsemantic-turquoise-color`
18+
19+
Removed mods:
20+
21+
- `--mod-statuslight-semantic-accent-color`

0 commit comments

Comments
 (0)