Skip to content

Commit

Permalink
Fix --salt-color-autumn-500, --salt-color-indigo-500, --salt-color-ro…
Browse files Browse the repository at this point in the history
…se-500 not meeting colour contrast requirements in certain scenarios.
  • Loading branch information
joshwooding committed Jan 10, 2025
1 parent cd98ba5 commit 9932e82
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-emus-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@salt-ds/theme": patch
---

Fixed `--salt-color-autumn-500`, `--salt-color-indigo-500`, `--salt-color-rose-500` not meeting colour contrast requirements in certain scenarios.
6 changes: 3 additions & 3 deletions packages/theme/css/foundations/color.css
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
--salt-color-rose-200: rgb(250, 190, 237);
--salt-color-rose-300: rgb(229, 154, 212);
--salt-color-rose-400: rgb(209, 117, 189);
--salt-color-rose-500: rgb(176, 86, 158);
--salt-color-rose-500: rgb(176, 84, 157);
--salt-color-rose-600: rgb(146, 67, 130);
--salt-color-rose-700: rgb(118, 50, 104);
--salt-color-rose-800: rgb(90, 32, 78);
Expand All @@ -190,7 +190,7 @@
--salt-color-indigo-200: rgb(208, 194, 252);
--salt-color-indigo-300: rgb(180, 162, 242);
--salt-color-indigo-400: rgb(149, 129, 229);
--salt-color-indigo-500: rgb(120, 104, 206);
--salt-color-indigo-500: rgb(118, 101, 207);
--salt-color-indigo-600: rgb(98, 85, 170);
--salt-color-indigo-700: rgb(77, 66, 135);
--salt-color-indigo-800: rgb(57, 49, 102);
Expand All @@ -217,7 +217,7 @@
--salt-color-autumn-200: rgb(255, 197, 161);
--salt-color-autumn-300: rgb(242, 163, 114);
--salt-color-autumn-400: rgb(222, 126, 64);
--salt-color-autumn-500: rgb(189, 91, 21);
--salt-color-autumn-500: rgb(189, 90, 19);
--salt-color-autumn-600: rgb(153, 73, 18);
--salt-color-autumn-700: rgb(119, 55, 14);
--salt-color-autumn-800: rgb(86, 39, 10);
Expand Down

0 comments on commit 9932e82

Please sign in to comment.