Skip to content

Commit

Permalink
Fix titanium background token name
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z committed Nov 29, 2024
1 parent 2652475 commit 048fa79
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .changeset/spotty-eels-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@salt-ds/theme": patch
---

Fixed titanium background color token was incorrected named

```diff
- --salt-color-background-gradientlight
+ --salt-color-background-titanium
```
4 changes: 4 additions & 0 deletions packages/theme/css/deprecated/foundations-next.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.salt-theme.salt-theme-next {
--salt-color-background-gradientlight-rgb: var(--salt-color-background-titanium-rgb);
--salt-color-background-gradientlight: var(--salt-color-background-titanium);
}
4 changes: 2 additions & 2 deletions packages/theme/css/foundations/color-next.css
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
--salt-color-background-snow-rgb: 255, 255, 255;
--salt-color-background-marble-rgb: 245, 247, 248;
--salt-color-background-limestone-rgb: 250, 248, 242;
--salt-color-background-gradientlight-rgb: 226, 228, 229;
--salt-color-background-titanium-rgb: 226, 228, 229;
--salt-color-background-jet-rgb: 16, 24, 32;
--salt-color-background-granite-rgb: 26, 34, 41;
--salt-color-background-leather-rgb: 38, 41, 43;
Expand Down Expand Up @@ -140,7 +140,7 @@
--salt-color-background-snow: rgb(var(--salt-color-background-snow-rgb));
--salt-color-background-marble: rgb(var(--salt-color-background-marble-rgb));
--salt-color-background-limestone: rgb(var(--salt-color-background-limestone-rgb));
--salt-color-background-gradientlight: rgb(var(--salt-color-background-gradientlight-rgb));
--salt-color-background-titanium: rgb(var(--salt-color-background-titanium-rgb));
--salt-color-background-jet: rgb(var(--salt-color-background-jet-rgb));
--salt-color-background-granite: rgb(var(--salt-color-background-granite-rgb));
--salt-color-background-leather: rgb(var(--salt-color-background-leather-rgb));
Expand Down
3 changes: 3 additions & 0 deletions packages/theme/css/theme-next.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@
@import url(characteristics/target-next.css);
@import url(characteristics/text-next.css);
@import url(characteristics/track-next.css);

/* Deprecated */
@import url(deprecated/foundations-next.css);

0 comments on commit 048fa79

Please sign in to comment.