Skip to content

Commit

Permalink
add all new border colors from DS
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Sep 27, 2024
1 parent ff97053 commit d748254
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/styles/semantic-tokens.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@
--background-medium: var(--gray-200);
--background-high: var(--gray-300);

/* TODO: Add all border color tokens to match DS */
--border: var(--gray-200);
--border-high-contrast: var(--gray-400);
--border-low-contrast: var(--gray-50);
--border-hover: var(--gray-300);

--primary: var(--purple-600);
--primary-high-contrast: var(--purple-800);
Expand Down Expand Up @@ -130,8 +132,10 @@
--background-medium: var(--gray-600);
--background-high: var(--gray-800);

/* TODO: Add all border color tokens to match DS */
--border: var(--gray-600);
--border-high-contrast: var(--gray-300);
--border-low-contrast: var(--black);
--border-hover: var(--gray-500);

--primary: var(--purple-400);
--primary-high-contrast: var(--purple-200);
Expand Down
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,11 @@ const config = {
high: "hsla(var(--background-high))",
},

// TODO: Add all border color tokens to match DS
border: {
DEFAULT: "hsla(var(--border))",
"high-contrast": "hsla(var(--border-high-contrast))",
"low-contrast": "hsla(var(--border-low-contrast))",
hover: "hsla(var(--border-hover))",
},

primary: {
Expand Down

0 comments on commit d748254

Please sign in to comment.