Skip to content

Commit

Permalink
Fix foreground secondary color token in Salt theme next (#4133)
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z authored Sep 18, 2024
1 parent 2bb84ec commit 2263a98
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/popular-forks-doubt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/theme": patch
---

Fixed foreground secondary color token not correctly reflecting design in Salt Next theme, corrected to gray 700/300.
8 changes: 4 additions & 4 deletions packages/theme/css/palette/foreground-next.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
--salt-palette-foreground-primary-disabled: var(--salt-color-black-40a);
--salt-palette-foreground-primary-alt: var(--salt-color-white);
--salt-palette-foreground-primary-alt-disabled: var(--salt-color-white-40a);
--salt-palette-foreground-secondary: var(--salt-color-gray-600);
--salt-palette-foreground-secondary-disabled: var(--salt-color-gray-600-40a);
--salt-palette-foreground-secondary: var(--salt-color-gray-700);
--salt-palette-foreground-secondary-disabled: var(--salt-color-gray-700-40a);
--salt-palette-foreground-visited: var(--salt-color-purple-800);
}
.salt-theme.salt-theme-next[data-mode="dark"] {
Expand All @@ -16,7 +16,7 @@
--salt-palette-foreground-primary-disabled: var(--salt-color-white-40a);
--salt-palette-foreground-primary-alt: var(--salt-color-white);
--salt-palette-foreground-primary-alt-disabled: var(--salt-color-white-40a);
--salt-palette-foreground-secondary: var(--salt-color-gray-400);
--salt-palette-foreground-secondary-disabled: var(--salt-color-gray-400-40a);
--salt-palette-foreground-secondary: var(--salt-color-gray-300);
--salt-palette-foreground-secondary-disabled: var(--salt-color-gray-300-40a);
--salt-palette-foreground-visited: var(--salt-color-purple-200);
}

0 comments on commit 2263a98

Please sign in to comment.