Skip to content

Commit def7e5e

Browse files
committed
create ColorExperimentalBackgroundAlias
1 parent 6b4d976 commit def7e5e

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

polaris-tokens/src/token-groups/color.ts

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -68,17 +68,7 @@ export type ColorBackgroundAlias =
6868
| 'bg-success-subdued-active'
6969
| 'bg-success-subdued-hover'
7070
| 'bg-warning'
71-
| Extract<
72-
ColorExperimentalAlias,
73-
| 'experimental-bg-input-hover'
74-
| 'experimental-bg-input-active'
75-
| 'experimental-bg-transparent'
76-
| 'experimental-bg-transparent-subdued'
77-
| 'experimental-bg-transparent-hover'
78-
| 'experimental-bg-transparent-active'
79-
| 'experimental-bg-inverse-transparent-hover'
80-
| 'experimental-bg-inverse-transparent-active'
81-
>;
71+
| ColorExperimentalBackgroundAlias;
8272

8373
export type ColorBorderAlias =
8474
| 'border'
@@ -158,8 +148,7 @@ export type ColorTextAlias =
158148
| 'text-success-strong'
159149
| 'text-warning-strong';
160150

161-
type ColorExperimentalAlias =
162-
| 'experimental-subdued-link'
151+
type ColorExperimentalBackgroundAlias =
163152
| 'experimental-bg-input-hover'
164153
| 'experimental-bg-input-active'
165154
| 'experimental-bg-transparent'
@@ -173,8 +162,7 @@ export type ColorTokenName =
173162
| `color-${ColorBackgroundAlias}`
174163
| `color-${ColorBorderAlias}`
175164
| `color-${ColorIconAlias}`
176-
| `color-${ColorTextAlias}`
177-
| `color-${ColorExperimentalAlias}`;
165+
| `color-${ColorTextAlias}`;
178166

179167
export type ColorTokenGroup = {
180168
[TokenName in ColorTokenName]: string;
@@ -854,10 +842,6 @@ export const color: {
854842
description: '',
855843
},
856844
// Experimental tokens
857-
'color-experimental-subdued-link': {
858-
value: colorsExperimental.blue[12],
859-
description: '',
860-
},
861845
'color-experimental-bg-input-hover': {
862846
value: colorsExperimental.gray[3](),
863847
description: '',

0 commit comments

Comments
 (0)