diff --git a/.changeset/healthy-rings-suffer.md b/.changeset/healthy-rings-suffer.md new file mode 100644 index 0000000000..6a60faaf63 --- /dev/null +++ b/.changeset/healthy-rings-suffer.md @@ -0,0 +1,5 @@ +--- +"@primer/css": major +--- + +Update v1 deprecations diff --git a/docs/content/support/v18-migration.mdx b/docs/content/support/v18-migration.mdx index aeade38f37..4fc770d1a8 100644 --- a/docs/content/support/v18-migration.mdx +++ b/docs/content/support/v18-migration.mdx @@ -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` | @@ -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` | @@ -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` | diff --git a/src/deprecations.json b/src/deprecations.json index 66936d2e0b..e2a94205c2 100644 --- a/src/deprecations.json +++ b/src/deprecations.json @@ -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", @@ -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",