Skip to content

Commit e0888ef

Browse files
committed
deprecate: primar-light/dark color tokens
1 parent 18b7a05 commit e0888ef

File tree

3 files changed

+1
-17
lines changed

3 files changed

+1
-17
lines changed

src/styles/docsearch.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
}
102102
.DocSearch-Hit[aria-selected="true"] a {
103103
--docsearch-hit-active-color: theme(backgroundColor.background.DEFAULT);
104-
@apply border-transparent bg-primary-hover shadow-[4px_4px_0_0_var(--primary-light)];
104+
@apply border-transparent bg-primary-hover shadow-[4px_4px_0_0_var(--primary-visited)];
105105
}
106106

107107
.DocSearch-Hit-content-wrapper {

src/styles/global.css

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,6 @@
1313
--font-inter: Inter, sans-serif;
1414
--font-mono: "IBM Plex Mono", Courier, monospace;
1515

16-
/* Semantic Colors: Light mode */
17-
/* ! Deprecating primary-light */
18-
--primary-light: var(--blue-100);
19-
/* ! Deprecating primary-dark */
20-
--primary-dark: var(--blue-700);
21-
2216
/* Misc sematics: light mode */
2317
--tooltip-shadow: rgba(0, 0, 0, 0.24);
2418
--switch-background: var(--gray-300);
@@ -52,12 +46,6 @@
5246
}
5347

5448
[data-theme="dark"] {
55-
/* Semantic Colors: Dark mode */
56-
/* ! Deprecating primary-light */
57-
--primary-light: hsla(var(--orange-100));
58-
/* ! Deprecating primary-dark */
59-
--primary-dark: hsla(var(--orange-800));
60-
6149
/* Misc sematics: dark mode */
6250
--tooltip-shadow: rgba(255, 255, 255, 0.24);
6351
--switch-background: rgba(255, 255, 255, 0.24);

tailwind.config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,10 +155,6 @@ const config = {
155155
visited: "hsla(var(--primary-visited))",
156156
action: "hsla(var(--primary-action))",
157157
"action-hover": "hsla(var(--primary-action-hover))",
158-
/** @deprecated */
159-
light: "hsla(var(--primary-light))",
160-
/** @deprecated */
161-
dark: "hsla(var(--primary-dark))",
162158
},
163159

164160
accent: {

0 commit comments

Comments
 (0)