Skip to content

Commit 8c87c38

Browse files
committed
Add border color tokens
1 parent 7006b14 commit 8c87c38

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/styles/semantic-tokens.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
--background-medium: var(--gray-200);
2424
--background-high: var(--gray-300);
2525

26-
/* TODO: Add border color tokens to match DS */
26+
/* TODO: Add all border color tokens to match DS */
27+
--border: var(--gray-200);
2728

2829
--primary: var(--purple-600);
2930
--primary-high-contrast: var(--purple-800);
@@ -129,7 +130,8 @@
129130
--background-medium: var(--gray-600);
130131
--background-high: var(--gray-800);
131132

132-
/* TODO: Add border color tokens to match DS */
133+
/* TODO: Add all border color tokens to match DS */
134+
--border: var(--gray-600);
133135

134136
--primary: var(--purple-400);
135137
--primary-high-contrast: var(--purple-200);

tailwind.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,10 @@ const config = {
154154
high: "hsla(var(--background-high))",
155155
},
156156

157-
// TODO: Add border color tokens to match DS
157+
// TODO: Add all border color tokens to match DS
158+
border: {
159+
DEFAULT: "hsla(var(--border))",
160+
},
158161

159162
primary: {
160163
DEFAULT: "hsla(var(--primary))",

0 commit comments

Comments
 (0)