Skip to content

Commit

Permalink
V2 last minute tweaks (#1615)
Browse files Browse the repository at this point in the history
* Last minute tweaks

* Create healthy-rings-suffer.md

* Update .color-border-tertiary mapping

* Format
  • Loading branch information
simurai authored Sep 23, 2021
1 parent 947a139 commit 612841f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/healthy-rings-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/css": major
---

Update v1 deprecations
5 changes: 2 additions & 3 deletions docs/content/support/v18-migration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ See [color utility classes](/utilities/colors) for a list of all the functional
| ----------------------- | ------------------------|
| `.color-text-primary` | `.color-fg-default` |
| `.color-text-secondary` | `.color-fg-muted` |
| `.color-text-tertiary` | `.color-fg-subtle` |
| `.color-text-tertiary` | `.color-fg-muted` |
| `.color-text-link` | `.color-fg-accent` |
| `.color-text-success` | `.color-fg-success` |
| `.color-text-warning` | `.color-fg-attention` |
Expand Down Expand Up @@ -47,7 +47,7 @@ See [color utility classes](/utilities/colors) for a list of all the functional
| ------------------------- | ------------------------- |
| `.color-border-primary` | `.color-border-default` |
| `.color-border-secondary` | `.color-border-muted` |
| `.color-border-tertiary` | `.color-border-muted` |
| `.color-border-tertiary` | `.color-border-default` |
| `.color-border-inverse` | n/a |
| `.color-border-info` | `.color-border-accent` |
| `.color-border-warning` | `.color-border-attention` |
Expand All @@ -62,7 +62,6 @@ See [color utility classes](/utilities/colors) for a list of all the functional
| `.color-bg-primary` | `.color-bg-default` |
| `.color-bg-secondary` | `.color-bg-subtle` |
| `.color-bg-tertiary` | `.color-bg-subtle` |
| `.color-bg-overlay` | `.color-bg-overlay` |
| `.color-bg-info` | `.color-bg-accent-subtle` |
| `.color-bg-info-inverse` | `.color-bg-accent-emphasis` |
| `.color-bg-danger` | `.color-bg-danger-subtle` |
Expand Down
4 changes: 2 additions & 2 deletions src/deprecations.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"selectors": {
"color-text-primary": "color-fg-default",
"color-text-secondary": "color-fg-muted",
"color-text-tertiary": "color-fg-subtle",
"color-text-tertiary": "color-fg-muted",
"color-text-link": "color-fg-accent",
"color-text-success": "color-fg-success",
"color-text-warning": "color-fg-attention",
Expand All @@ -18,7 +18,7 @@
"color-icon-warning": "color-fg-attention",
"color-border-primary": "color-border-default",
"color-border-secondary": "color-border-muted",
"color-border-tertiary": "color-border-muted",
"color-border-tertiary": "color-border-default",
"color-border-inverse": null,
"color-border-info": "color-border-accent",
"color-border-warning": "color-border-attention",
Expand Down

0 comments on commit 612841f

Please sign in to comment.