Skip to content

Commit

Permalink
fix(tokens,well): border color mapping (#3137)
Browse files Browse the repository at this point in the history
`--spectrum-well-border-color` was mapped to the `-rgb` postfixed value which resolves to a raw rgb number but not a valid color.
  • Loading branch information
castastrophe authored Sep 19, 2024
1 parent 78b32e7 commit b16a159
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/late-wombats-begin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@spectrum-css/tokens": patch
"@spectrum-css/well": patch
---

`--spectrum-well-border-color` was mapped to the `-rgb` postfixed value which resolves to a raw rgb number but not a valid color.
2 changes: 1 addition & 1 deletion tokens/custom-spectrum/custom-light-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
--spectrum-coach-indicator-ring-dark-color: var(--spectrum-gray-900);
--spectrum-coach-indicator-ring-light-color: var(--spectrum-gray-50);

--spectrum-well-border-color: var(--spectrum-black-rgb);
--spectrum-well-border-color: var(--spectrum-black);

--spectrum-steplist-current-marker-color-key-focus: var(--spectrum-blue-800);

Expand Down
2 changes: 1 addition & 1 deletion tokens/dist/css/spectrum/light-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
--spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
--spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);

--spectrum-well-border-color:var(--spectrum-black-rgb);
--spectrum-well-border-color:var(--spectrum-black);

--spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-800);

Expand Down
2 changes: 1 addition & 1 deletion tokens/dist/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3187,7 +3187,7 @@
--spectrum-coach-indicator-ring-dark-color:var(--spectrum-gray-900);
--spectrum-coach-indicator-ring-light-color:var(--spectrum-gray-50);

--spectrum-well-border-color:var(--spectrum-black-rgb);
--spectrum-well-border-color:var(--spectrum-black);

--spectrum-steplist-current-marker-color-key-focus:var(--spectrum-blue-800);

Expand Down

0 comments on commit b16a159

Please sign in to comment.