Skip to content

Commit 612841f

Browse files
authored
V2 last minute tweaks (#1615)
* Last minute tweaks * Create healthy-rings-suffer.md * Update .color-border-tertiary mapping * Format
1 parent 947a139 commit 612841f

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

.changeset/healthy-rings-suffer.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/css": major
3+
---
4+
5+
Update v1 deprecations

docs/content/support/v18-migration.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ See [color utility classes](/utilities/colors) for a list of all the functional
1919
| ----------------------- | ------------------------|
2020
| `.color-text-primary` | `.color-fg-default` |
2121
| `.color-text-secondary` | `.color-fg-muted` |
22-
| `.color-text-tertiary` | `.color-fg-subtle` |
22+
| `.color-text-tertiary` | `.color-fg-muted` |
2323
| `.color-text-link` | `.color-fg-accent` |
2424
| `.color-text-success` | `.color-fg-success` |
2525
| `.color-text-warning` | `.color-fg-attention` |
@@ -47,7 +47,7 @@ See [color utility classes](/utilities/colors) for a list of all the functional
4747
| ------------------------- | ------------------------- |
4848
| `.color-border-primary` | `.color-border-default` |
4949
| `.color-border-secondary` | `.color-border-muted` |
50-
| `.color-border-tertiary` | `.color-border-muted` |
50+
| `.color-border-tertiary` | `.color-border-default` |
5151
| `.color-border-inverse` | n/a |
5252
| `.color-border-info` | `.color-border-accent` |
5353
| `.color-border-warning` | `.color-border-attention` |
@@ -62,7 +62,6 @@ See [color utility classes](/utilities/colors) for a list of all the functional
6262
| `.color-bg-primary` | `.color-bg-default` |
6363
| `.color-bg-secondary` | `.color-bg-subtle` |
6464
| `.color-bg-tertiary` | `.color-bg-subtle` |
65-
| `.color-bg-overlay` | `.color-bg-overlay` |
6665
| `.color-bg-info` | `.color-bg-accent-subtle` |
6766
| `.color-bg-info-inverse` | `.color-bg-accent-emphasis` |
6867
| `.color-bg-danger` | `.color-bg-danger-subtle` |

src/deprecations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"selectors": {
33
"color-text-primary": "color-fg-default",
44
"color-text-secondary": "color-fg-muted",
5-
"color-text-tertiary": "color-fg-subtle",
5+
"color-text-tertiary": "color-fg-muted",
66
"color-text-link": "color-fg-accent",
77
"color-text-success": "color-fg-success",
88
"color-text-warning": "color-fg-attention",
@@ -18,7 +18,7 @@
1818
"color-icon-warning": "color-fg-attention",
1919
"color-border-primary": "color-border-default",
2020
"color-border-secondary": "color-border-muted",
21-
"color-border-tertiary": "color-border-muted",
21+
"color-border-tertiary": "color-border-default",
2222
"color-border-inverse": null,
2323
"color-border-info": "color-border-accent",
2424
"color-border-warning": "color-border-attention",

0 commit comments

Comments
 (0)