Skip to content

Commit

Permalink
Add missing counter button tokens to no-deprecated-colors (#343)
Browse files Browse the repository at this point in the history
* add missing fallbacks

* Create green-tigers-destroy.md
  • Loading branch information
langermank committed Jul 7, 2023
1 parent fb132e9 commit 5b975fc
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/green-tigers-destroy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/stylelint-config": patch
---

Add missing counter btn tokens to no-deprecated-colors
36 changes: 36 additions & 0 deletions plugins/lib/primitives-v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -1442,5 +1442,41 @@
"props": ["box-shadow"],
"replacement": "--shadow-floating-xlarge"
}
],
"--color-btn-danger-disabled-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-danger-fgColor-disabled"
}
],
"--color-btn-danger-hover-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-danger-fgColor-hover"
}
],
"--color-btn-danger-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-danger-fgColor-rest"
}
],
"--color-btn-outline-disabled-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-outline-fgColor-disabled"
}
],
"--color-btn-outline-hover-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-outline-fgColor-hover"
}
],
"--color-btn-outline-counter-fg": [
{
"props": ["color"],
"replacement": "--buttonCounter-outline-fgColor-rest"
}
]
}

0 comments on commit 5b975fc

Please sign in to comment.