@purpurds/theme 8.13.0 → 8.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/telia-dark.ts CHANGED
@@ -1,141 +1,278 @@
1
+ import {
2
+ purpurColorBackgroundInteractiveAutoFill,
3
+ purpurColorBackgroundInteractiveDestructive,
4
+ purpurColorBackgroundInteractiveDestructiveActive,
5
+ purpurColorBackgroundInteractiveDestructiveHover,
6
+ purpurColorBackgroundInteractiveDisabled,
7
+ purpurColorBackgroundInteractiveDisabledNegative,
8
+ purpurColorBackgroundInteractiveExpressive,
9
+ purpurColorBackgroundInteractiveExpressiveActive,
10
+ purpurColorBackgroundInteractiveExpressiveActiveNegative,
11
+ purpurColorBackgroundInteractiveExpressiveHover,
12
+ purpurColorBackgroundInteractiveExpressiveHoverNegative,
13
+ purpurColorBackgroundInteractiveExpressiveNegative,
14
+ purpurColorBackgroundInteractiveInactive,
15
+ purpurColorBackgroundInteractiveInactiveNegative,
16
+ purpurColorBackgroundInteractivePrimary,
17
+ purpurColorBackgroundInteractivePrimaryActive,
18
+ purpurColorBackgroundInteractivePrimaryActiveNegative,
19
+ purpurColorBackgroundInteractivePrimaryHover,
20
+ purpurColorBackgroundInteractivePrimaryHoverNegative,
21
+ purpurColorBackgroundInteractivePrimaryNegative,
22
+ purpurColorBackgroundInteractiveReadOnly,
23
+ purpurColorBackgroundInteractiveReadOnlyNegative,
24
+ purpurColorBackgroundInteractiveTransparentActive,
25
+ purpurColorBackgroundInteractiveTransparentActiveNegative,
26
+ purpurColorBackgroundInteractiveTransparentHover,
27
+ purpurColorBackgroundInteractiveTransparentHoverNegative,
28
+ purpurColorBackgroundOnImage,
29
+ purpurColorBackgroundOnImageNegative,
30
+ purpurColorBackgroundPrimary,
31
+ purpurColorBackgroundPrimaryNegative,
32
+ purpurColorBackgroundSecondary,
33
+ purpurColorBackgroundSecondaryNegative,
34
+ purpurColorBackgroundStatusAttention,
35
+ purpurColorBackgroundStatusBlackFriday,
36
+ purpurColorBackgroundStatusErrorMedium,
37
+ purpurColorBackgroundStatusErrorStrong,
38
+ purpurColorBackgroundStatusErrorStrongNegative,
39
+ purpurColorBackgroundStatusInfoMedium,
40
+ purpurColorBackgroundStatusInfoStrong,
41
+ purpurColorBackgroundStatusNeutral,
42
+ purpurColorBackgroundStatusSpecial,
43
+ purpurColorBackgroundStatusSuccessMedium,
44
+ purpurColorBackgroundStatusSuccessStrong,
45
+ purpurColorBackgroundStatusSuccessStrongNegative,
46
+ purpurColorBackgroundStatusWarningMedium,
47
+ purpurColorBackgroundStatusWarningStrong,
48
+ purpurColorBackgroundStatusWarningStrongNegative,
49
+ purpurColorBackgroundToneOnTonePrimary,
50
+ purpurColorBackgroundToneOnToneQuaternary,
51
+ purpurColorBackgroundToneOnToneSecondary,
52
+ purpurColorBackgroundToneOnToneTertiary,
53
+ purpurColorBorderInteractiveExpressive,
54
+ purpurColorBorderInteractiveFocus,
55
+ purpurColorBorderInteractivePrimary,
56
+ purpurColorBorderInteractivePrimaryActive,
57
+ purpurColorBorderInteractivePrimaryActiveNegative,
58
+ purpurColorBorderInteractivePrimaryHover,
59
+ purpurColorBorderInteractivePrimaryHoverNegative,
60
+ purpurColorBorderInteractivePrimaryNegative,
61
+ purpurColorBorderInteractiveSelected,
62
+ purpurColorBorderInteractiveSubtle,
63
+ purpurColorBorderInteractiveSubtleHover,
64
+ purpurColorBorderInteractiveSubtleHoverNegative,
65
+ purpurColorBorderInteractiveSubtleNegative,
66
+ purpurColorBorderMedium,
67
+ purpurColorBorderMediumNegative,
68
+ purpurColorBorderStatusError,
69
+ purpurColorBorderStatusErrorNegative,
70
+ purpurColorBorderStatusInfo,
71
+ purpurColorBorderStatusSuccess,
72
+ purpurColorBorderStatusSuccessNegative,
73
+ purpurColorBorderStatusWarning,
74
+ purpurColorBorderStrong,
75
+ purpurColorBorderStrongNegative,
76
+ purpurColorBorderWeak,
77
+ purpurColorBorderWeakNegative,
78
+ purpurColorBrandBeige,
79
+ purpurColorBrandCorePurple,
80
+ purpurColorBrandDeepBeige,
81
+ purpurColorBrandDeepPurple,
82
+ purpurColorBrandLightBeige,
83
+ purpurColorBrandLightPurple,
84
+ purpurColorBrandOffBlack,
85
+ purpurColorBrandWhite,
86
+ purpurColorTextDefault,
87
+ purpurColorTextDefaultNegative,
88
+ purpurColorTextInteractiveOnDestructive,
89
+ purpurColorTextInteractiveOnExpressive,
90
+ purpurColorTextInteractiveOnExpressiveActive,
91
+ purpurColorTextInteractiveOnExpressiveActiveNegative,
92
+ purpurColorTextInteractiveOnExpressiveHover,
93
+ purpurColorTextInteractiveOnExpressiveHoverNegative,
94
+ purpurColorTextInteractiveOnExpressiveNegative,
95
+ purpurColorTextInteractiveOnPrimary,
96
+ purpurColorTextInteractiveOnPrimaryNegative,
97
+ purpurColorTextInteractivePrimary,
98
+ purpurColorTextInteractivePrimaryActive,
99
+ purpurColorTextInteractivePrimaryActiveNegative,
100
+ purpurColorTextInteractivePrimaryHover,
101
+ purpurColorTextInteractivePrimaryHoverNegative,
102
+ purpurColorTextInteractivePrimaryNegative,
103
+ purpurColorTextInteractiveSelected,
104
+ purpurColorTextMedium,
105
+ purpurColorTextMediumNegative,
106
+ purpurColorTextStatusAttention,
107
+ purpurColorTextStatusBlackFriday,
108
+ purpurColorTextStatusDiscount,
109
+ purpurColorTextStatusErrorMedium,
110
+ purpurColorTextStatusErrorMediumNegative,
111
+ purpurColorTextStatusErrorStrong,
112
+ purpurColorTextStatusErrorStrongNegative,
113
+ purpurColorTextStatusInfoMedium,
114
+ purpurColorTextStatusInfoStrong,
115
+ purpurColorTextStatusNeutral,
116
+ purpurColorTextStatusSpecial,
117
+ purpurColorTextStatusSuccessMedium,
118
+ purpurColorTextStatusSuccessStrong,
119
+ purpurColorTextStatusSuccessStrongNegative,
120
+ purpurColorTextStatusWarningMedium,
121
+ purpurColorTextStatusWarningMediumNegative,
122
+ purpurColorTextStatusWarningStrong,
123
+ purpurColorTextToneOnTonePrimary,
124
+ purpurColorTextToneOnToneSecondary,
125
+ purpurColorTextToneOnToneTertiary,
126
+ purpurColorTextWeak,
127
+ purpurColorTextWeakNegative,
128
+ } from "@purpurds/tokens/dark";
129
+
1
130
  import type { ThemeProps } from "./theme-props";
2
131
 
3
132
  export const dark = {
4
- colorBrandDeepPurple: "var(--purpur-color-purple-100)",
5
- colorBrandCorePurple: "var(--purpur-color-purple-400)",
6
- colorBrandLightPurple: "var(--purpur-color-purple-900)",
7
- colorBrandDeepBeige: "var(--purpur-color-beige-100)",
8
- colorBrandBeige: "var(--purpur-color-beige-700)",
9
- colorBrandLightBeige: "var(--purpur-color-beige-800)",
10
- colorBrandOffBlack: "var(--purpur-color-functional-white)",
11
- colorBrandWhite: "var(--purpur-color-gray-900)",
133
+ colorBrandDeepPurple: purpurColorBrandDeepPurple,
134
+ colorBrandCorePurple: purpurColorBrandCorePurple,
135
+ colorBrandLightPurple: purpurColorBrandLightPurple,
136
+ colorBrandDeepBeige: purpurColorBrandDeepBeige,
137
+ colorBrandBeige: purpurColorBrandBeige,
138
+ colorBrandLightBeige: purpurColorBrandLightBeige,
139
+ colorBrandOffBlack: purpurColorBrandOffBlack,
140
+ colorBrandWhite: purpurColorBrandWhite,
12
141
 
13
- colorTextDefault: "var(--purpur-color-transparent-white-950)",
14
- colorTextMedium: "var(--purpur-color-transparent-white-700)",
15
- colorTextWeak: "var(--purpur-color-transparent-white-400)",
16
- colorTextDefaultNegative: "var(--purpur-color-transparent-black-800)",
17
- colorTextMediumNegative: "var(--purpur-color-transparent-black-500)",
18
- colorTextWeakNegative: "var(--purpur-color-transparent-black-400)",
142
+ colorTextDefault: purpurColorTextDefault,
143
+ colorTextMedium: purpurColorTextMedium,
144
+ colorTextWeak: purpurColorTextWeak,
145
+ colorTextDefaultNegative: purpurColorTextDefaultNegative,
146
+ colorTextMediumNegative: purpurColorTextMediumNegative,
147
+ colorTextWeakNegative: purpurColorTextWeakNegative,
19
148
 
20
- colorTextInteractivePrimary: "var(--purpur-color-purple-100)",
21
- colorTextInteractivePrimaryHover: "var(--purpur-color-purple-200)",
22
- colorTextInteractivePrimaryActive: "var(--purpur-color-purple-300)",
23
- colorTextInteractiveOnPrimary: "var(--purpur-color-purple-800)",
24
- colorTextInteractiveOnExpressive: "var(--purpur-color-functional-white)",
25
- colorTextInteractiveOnExpressiveHover: "var(--purpur-color-purple-900)",
26
- colorTextInteractiveOnExpressiveActive: "var(--purpur-color-purple-900)",
27
- colorTextInteractiveOnDestructive: "var(--purpur-color-functional-white)",
28
- colorTextInteractiveSelected: "var(--purpur-color-purple-300)",
29
- colorTextInteractivePrimaryNegative: "var(--purpur-color-purple-700)",
30
- colorTextInteractivePrimaryHoverNegative: "var(--purpur-color-purple-800)",
31
- colorTextInteractivePrimaryActiveNegative: "var(--purpur-color-purple-900)",
32
- colorTextInteractiveOnPrimaryNegative: "var(--purpur-color-functional-white)",
33
- colorTextInteractiveOnExpressiveNegative: "var(--purpur-color-functional-white)",
34
- colorTextInteractiveOnExpressiveHoverNegative: "var(--purpur-color-functional-white)",
35
- colorTextInteractiveOnExpressiveActiveNegative: "var(--purpur-color-functional-white)",
149
+ colorTextInteractivePrimary: purpurColorTextInteractivePrimary,
150
+ colorTextInteractivePrimaryHover: purpurColorTextInteractivePrimaryHover,
151
+ colorTextInteractivePrimaryActive: purpurColorTextInteractivePrimaryActive,
152
+ colorTextInteractiveOnPrimary: purpurColorTextInteractiveOnPrimary,
153
+ colorTextInteractiveOnExpressive: purpurColorTextInteractiveOnExpressive,
154
+ colorTextInteractiveOnExpressiveHover: purpurColorTextInteractiveOnExpressiveHover,
155
+ colorTextInteractiveOnExpressiveActive: purpurColorTextInteractiveOnExpressiveActive,
156
+ colorTextInteractiveOnDestructive: purpurColorTextInteractiveOnDestructive,
157
+ colorTextInteractiveSelected: purpurColorTextInteractiveSelected,
158
+ colorTextInteractivePrimaryNegative: purpurColorTextInteractivePrimaryNegative,
159
+ colorTextInteractivePrimaryHoverNegative: purpurColorTextInteractivePrimaryHoverNegative,
160
+ colorTextInteractivePrimaryActiveNegative: purpurColorTextInteractivePrimaryActiveNegative,
161
+ colorTextInteractiveOnPrimaryNegative: purpurColorTextInteractiveOnPrimaryNegative,
162
+ colorTextInteractiveOnExpressiveNegative: purpurColorTextInteractiveOnExpressiveNegative,
163
+ colorTextInteractiveOnExpressiveHoverNegative:
164
+ purpurColorTextInteractiveOnExpressiveHoverNegative,
165
+ colorTextInteractiveOnExpressiveActiveNegative:
166
+ purpurColorTextInteractiveOnExpressiveActiveNegative,
36
167
 
37
- colorTextStatusInfoMedium: "var(--purpur-color-blue-400)",
38
- colorTextStatusInfoStrong: "var(--purpur-color-blue-200)",
39
- colorTextStatusSuccessMedium: "var(--purpur-color-green-400)",
40
- colorTextStatusSuccessStrong: "var(--purpur-color-green-200)",
41
- colorTextStatusWarningMedium: "var(--purpur-color-orange-300)",
42
- colorTextStatusWarningStrong: "var(--purpur-color-orange-200)",
43
- colorTextStatusErrorMedium: "var(--purpur-color-red-400)",
44
- colorTextStatusErrorStrong: "var(--purpur-color-red-200)",
45
- colorTextStatusNeutral: "var(--purpur-color-functional-white)",
46
- colorTextStatusSpecial: "var(--purpur-color-functional-white)",
47
- colorTextStatusAttention: "var(--purpur-color-purple-800)",
48
- colorTextStatusDiscount: "var(--purpur-color-purple-300)",
49
- colorTextStatusBlackFriday: "var(--purpur-color-gray-900)",
50
- colorTextStatusSuccessStrongNegative: "var(--purpur-color-green-700)",
51
- colorTextStatusErrorMediumNegative: "var(--purpur-color-red-500)",
52
- colorTextStatusErrorStrongNegative: "var(--purpur-color-red-700)",
53
- colorTextStatusWarningMediumNegative: "var(--purpur-color-orange-500)",
168
+ colorTextStatusInfoMedium: purpurColorTextStatusInfoMedium,
169
+ colorTextStatusInfoStrong: purpurColorTextStatusInfoStrong,
170
+ colorTextStatusSuccessMedium: purpurColorTextStatusSuccessMedium,
171
+ colorTextStatusSuccessStrong: purpurColorTextStatusSuccessStrong,
172
+ colorTextStatusWarningMedium: purpurColorTextStatusWarningMedium,
173
+ colorTextStatusWarningStrong: purpurColorTextStatusWarningStrong,
174
+ colorTextStatusErrorMedium: purpurColorTextStatusErrorMedium,
175
+ colorTextStatusErrorStrong: purpurColorTextStatusErrorStrong,
176
+ colorTextStatusNeutral: purpurColorTextStatusNeutral,
177
+ colorTextStatusSpecial: purpurColorTextStatusSpecial,
178
+ colorTextStatusAttention: purpurColorTextStatusAttention,
179
+ colorTextStatusDiscount: purpurColorTextStatusDiscount,
180
+ colorTextStatusBlackFriday: purpurColorTextStatusBlackFriday,
181
+ colorTextStatusSuccessStrongNegative: purpurColorTextStatusSuccessStrongNegative,
182
+ colorTextStatusErrorMediumNegative: purpurColorTextStatusErrorMediumNegative,
183
+ colorTextStatusErrorStrongNegative: purpurColorTextStatusErrorStrongNegative,
184
+ colorTextStatusWarningMediumNegative: purpurColorTextStatusWarningMediumNegative,
54
185
 
55
- colorTextToneOnTonePrimary: "var(--purpur-color-purple-900)",
56
- colorTextToneOnToneSecondary: "var(--purpur-color-purple-100)",
57
- colorTextToneOnToneTertiary: "var(--purpur-color-functional-white)",
186
+ colorTextToneOnTonePrimary: purpurColorTextToneOnTonePrimary,
187
+ colorTextToneOnToneSecondary: purpurColorTextToneOnToneSecondary,
188
+ colorTextToneOnToneTertiary: purpurColorTextToneOnToneTertiary,
58
189
 
59
- colorBackgroundPrimary: "var(--purpur-color-gray-950)",
60
- colorBackgroundSecondary: "var(--purpur-color-gray-900)",
61
- colorBackgroundOnImage: "var(--purpur-color-transparent-black-700)",
62
- colorBackgroundPrimaryNegative: "var(--purpur-color-functional-white)",
63
- colorBackgroundSecondaryNegative: "var(--purpur-color-gray-50)",
64
- colorBackgroundOnImageNegative: "var(--purpur-color-transparent-white-850)",
190
+ colorBackgroundPrimary: purpurColorBackgroundPrimary,
191
+ colorBackgroundSecondary: purpurColorBackgroundSecondary,
192
+ colorBackgroundOnImage: purpurColorBackgroundOnImage,
193
+ colorBackgroundPrimaryNegative: purpurColorBackgroundPrimaryNegative,
194
+ colorBackgroundSecondaryNegative: purpurColorBackgroundSecondaryNegative,
195
+ colorBackgroundOnImageNegative: purpurColorBackgroundOnImageNegative,
65
196
 
66
- colorBackgroundInteractivePrimary: "var(--purpur-color-purple-100)",
67
- colorBackgroundInteractivePrimaryHover: "var(--purpur-color-purple-200)",
68
- colorBackgroundInteractivePrimaryActive: "var(--purpur-color-purple-300)",
69
- colorBackgroundInteractiveExpressive: "var(--purpur-color-purple-550)",
70
- colorBackgroundInteractiveExpressiveHover: "var(--purpur-color-purple-400)",
71
- colorBackgroundInteractiveExpressiveActive: "var(--purpur-color-purple-300)",
72
- colorBackgroundInteractiveTransparentHover: "var(--purpur-color-purple-800)",
73
- colorBackgroundInteractiveTransparentActive: "var(--purpur-color-purple-700)",
74
- colorBackgroundInteractiveDisabled: "var(--purpur-color-transparent-white-100)",
75
- colorBackgroundInteractiveReadOnly: "var(--purpur-color-transparent-white-50)",
76
- colorBackgroundInteractiveInactive: "var(--purpur-color-transparent-white-150)",
77
- colorBackgroundInteractiveDestructive: "var(--purpur-color-red-500)",
78
- colorBackgroundInteractiveDestructiveHover: "var(--purpur-color-red-600)",
79
- colorBackgroundInteractiveDestructiveActive: "var(--purpur-color-red-700)",
80
- colorBackgroundInteractiveAutoFill: "var(--purpur-color-blue-800)",
81
- colorBackgroundInteractivePrimaryNegative: "var(--purpur-color-purple-800)",
82
- colorBackgroundInteractivePrimaryHoverNegative: "var(--purpur-color-purple-700)",
83
- colorBackgroundInteractivePrimaryActiveNegative: "var(--purpur-color-purple-600)",
84
- colorBackgroundInteractiveExpressiveNegative: "var(--purpur-color-purple-550)",
85
- colorBackgroundInteractiveExpressiveHoverNegative: "var(--purpur-color-purple-700)",
86
- colorBackgroundInteractiveExpressiveActiveNegative: "var(--purpur-color-purple-800)",
87
- colorBackgroundInteractiveTransparentHoverNegative: "var(--purpur-color-purple-200)",
88
- colorBackgroundInteractiveTransparentActiveNegative: "var(--purpur-color-purple-300)",
89
- colorBackgroundInteractiveDisabledNegative: "var(--purpur-color-transparent-black-100)",
90
- colorBackgroundInteractiveInactiveNegative: "var(--purpur-color-transparent-black-50)",
91
- colorBackgroundInteractiveReadOnlyNegative: "var(--purpur-color-transparent-black-50)",
197
+ colorBackgroundInteractivePrimary: purpurColorBackgroundInteractivePrimary,
198
+ colorBackgroundInteractivePrimaryHover: purpurColorBackgroundInteractivePrimaryHover,
199
+ colorBackgroundInteractivePrimaryActive: purpurColorBackgroundInteractivePrimaryActive,
200
+ colorBackgroundInteractiveExpressive: purpurColorBackgroundInteractiveExpressive,
201
+ colorBackgroundInteractiveExpressiveHover: purpurColorBackgroundInteractiveExpressiveHover,
202
+ colorBackgroundInteractiveExpressiveActive: purpurColorBackgroundInteractiveExpressiveActive,
203
+ colorBackgroundInteractiveTransparentHover: purpurColorBackgroundInteractiveTransparentHover,
204
+ colorBackgroundInteractiveTransparentActive: purpurColorBackgroundInteractiveTransparentActive,
205
+ colorBackgroundInteractiveDisabled: purpurColorBackgroundInteractiveDisabled,
206
+ colorBackgroundInteractiveReadOnly: purpurColorBackgroundInteractiveReadOnly,
207
+ colorBackgroundInteractiveInactive: purpurColorBackgroundInteractiveInactive,
208
+ colorBackgroundInteractiveDestructive: purpurColorBackgroundInteractiveDestructive,
209
+ colorBackgroundInteractiveDestructiveHover: purpurColorBackgroundInteractiveDestructiveHover,
210
+ colorBackgroundInteractiveDestructiveActive: purpurColorBackgroundInteractiveDestructiveActive,
211
+ colorBackgroundInteractiveAutoFill: purpurColorBackgroundInteractiveAutoFill,
212
+ colorBackgroundInteractivePrimaryNegative: purpurColorBackgroundInteractivePrimaryNegative,
213
+ colorBackgroundInteractivePrimaryHoverNegative:
214
+ purpurColorBackgroundInteractivePrimaryHoverNegative,
215
+ colorBackgroundInteractivePrimaryActiveNegative:
216
+ purpurColorBackgroundInteractivePrimaryActiveNegative,
217
+ colorBackgroundInteractiveExpressiveNegative: purpurColorBackgroundInteractiveExpressiveNegative,
218
+ colorBackgroundInteractiveExpressiveHoverNegative:
219
+ purpurColorBackgroundInteractiveExpressiveHoverNegative,
220
+ colorBackgroundInteractiveExpressiveActiveNegative:
221
+ purpurColorBackgroundInteractiveExpressiveActiveNegative,
222
+ colorBackgroundInteractiveTransparentHoverNegative:
223
+ purpurColorBackgroundInteractiveTransparentHoverNegative,
224
+ colorBackgroundInteractiveTransparentActiveNegative:
225
+ purpurColorBackgroundInteractiveTransparentActiveNegative,
226
+ colorBackgroundInteractiveDisabledNegative: purpurColorBackgroundInteractiveDisabledNegative,
227
+ colorBackgroundInteractiveInactiveNegative: purpurColorBackgroundInteractiveInactiveNegative,
228
+ colorBackgroundInteractiveReadOnlyNegative: purpurColorBackgroundInteractiveReadOnlyNegative,
92
229
 
93
- colorBackgroundStatusInfoMedium: "var(--purpur-color-blue-800)",
94
- colorBackgroundStatusInfoStrong: "var(--purpur-color-blue-300)",
95
- colorBackgroundStatusSuccessMedium: "var(--purpur-color-green-800)",
96
- colorBackgroundStatusSuccessStrong: "var(--purpur-color-green-300)",
97
- colorBackgroundStatusWarningMedium: "var(--purpur-color-orange-800)",
98
- colorBackgroundStatusWarningStrong: "var(--purpur-color-orange-300)",
99
- colorBackgroundStatusErrorMedium: "var(--purpur-color-red-800)",
100
- colorBackgroundStatusErrorStrong: "var(--purpur-color-red-300)",
101
- colorBackgroundStatusNeutral: "var(--purpur-color-gray-800)",
102
- colorBackgroundStatusSpecial: "var(--purpur-color-purple-700)",
103
- colorBackgroundStatusAttention: "var(--purpur-color-purple-100)",
104
- colorBackgroundStatusBlackFriday: "var(--purpur-color-functional-white)",
105
- colorBackgroundStatusSuccessStrongNegative: "var(--purpur-color-green-400)",
106
- colorBackgroundStatusWarningStrongNegative: "var(--purpur-color-orange-300)",
107
- colorBackgroundStatusErrorStrongNegative: "var(--purpur-color-red-400)",
230
+ colorBackgroundStatusInfoMedium: purpurColorBackgroundStatusInfoMedium,
231
+ colorBackgroundStatusInfoStrong: purpurColorBackgroundStatusInfoStrong,
232
+ colorBackgroundStatusSuccessMedium: purpurColorBackgroundStatusSuccessMedium,
233
+ colorBackgroundStatusSuccessStrong: purpurColorBackgroundStatusSuccessStrong,
234
+ colorBackgroundStatusWarningMedium: purpurColorBackgroundStatusWarningMedium,
235
+ colorBackgroundStatusWarningStrong: purpurColorBackgroundStatusWarningStrong,
236
+ colorBackgroundStatusErrorMedium: purpurColorBackgroundStatusErrorMedium,
237
+ colorBackgroundStatusErrorStrong: purpurColorBackgroundStatusErrorStrong,
238
+ colorBackgroundStatusNeutral: purpurColorBackgroundStatusNeutral,
239
+ colorBackgroundStatusSpecial: purpurColorBackgroundStatusSpecial,
240
+ colorBackgroundStatusAttention: purpurColorBackgroundStatusAttention,
241
+ colorBackgroundStatusBlackFriday: purpurColorBackgroundStatusBlackFriday,
242
+ colorBackgroundStatusSuccessStrongNegative: purpurColorBackgroundStatusSuccessStrongNegative,
243
+ colorBackgroundStatusWarningStrongNegative: purpurColorBackgroundStatusWarningStrongNegative,
244
+ colorBackgroundStatusErrorStrongNegative: purpurColorBackgroundStatusErrorStrongNegative,
108
245
 
109
- colorBackgroundToneOnTonePrimary: "var(--purpur-color-purple-100)",
110
- colorBackgroundToneOnToneSecondary: "var(--purpur-color-purple-900)",
111
- colorBackgroundToneOnToneTertiary: "var(--purpur-color-beige-700)",
112
- colorBackgroundToneOnToneQuaternary: "var(--purpur-color-beige-900)",
246
+ colorBackgroundToneOnTonePrimary: purpurColorBackgroundToneOnTonePrimary,
247
+ colorBackgroundToneOnToneSecondary: purpurColorBackgroundToneOnToneSecondary,
248
+ colorBackgroundToneOnToneTertiary: purpurColorBackgroundToneOnToneTertiary,
249
+ colorBackgroundToneOnToneQuaternary: purpurColorBackgroundToneOnToneQuaternary,
113
250
 
114
- colorBorderWeak: "var(--purpur-color-transparent-white-150)",
115
- colorBorderMedium: "var(--purpur-color-transparent-white-300)",
116
- colorBorderStrong: "var(--purpur-color-transparent-white-500)",
117
- colorBorderWeakNegative: "var(--purpur-color-transparent-black-150)",
118
- colorBorderMediumNegative: "var(--purpur-color-transparent-black-300)",
119
- colorBorderStrongNegative: "var(--purpur-color-transparent-black-500)",
251
+ colorBorderWeak: purpurColorBorderWeak,
252
+ colorBorderMedium: purpurColorBorderMedium,
253
+ colorBorderStrong: purpurColorBorderStrong,
254
+ colorBorderWeakNegative: purpurColorBorderWeakNegative,
255
+ colorBorderMediumNegative: purpurColorBorderMediumNegative,
256
+ colorBorderStrongNegative: purpurColorBorderStrongNegative,
120
257
 
121
- colorBorderInteractivePrimary: "var(--purpur-color-purple-100)",
122
- colorBorderInteractivePrimaryHover: "var(--purpur-color-purple-200)",
123
- colorBorderInteractivePrimaryActive: "var(--purpur-color-purple-200)",
124
- colorBorderInteractiveFocus: "var(--purpur-color-purple-400)",
125
- colorBorderInteractiveExpressive: "var(--purpur-color-purple-550)",
126
- colorBorderInteractiveSubtle: "var(--purpur-color-transparent-white-400)",
127
- colorBorderInteractiveSubtleHover: "var(--purpur-color-purple-200)",
128
- colorBorderInteractiveSelected: "var(--purpur-color-purple-300)",
129
- colorBorderInteractivePrimaryNegative: "var(--purpur-color-purple-700)",
130
- colorBorderInteractivePrimaryHoverNegative: "var(--purpur-color-purple-800)",
131
- colorBorderInteractivePrimaryActiveNegative: "var(--purpur-color-purple-900)",
132
- colorBorderInteractiveSubtleNegative: "var(--purpur-color-transparent-black-400)",
133
- colorBorderInteractiveSubtleHoverNegative: "var(--purpur-color-purple-700)",
258
+ colorBorderInteractivePrimary: purpurColorBorderInteractivePrimary,
259
+ colorBorderInteractivePrimaryHover: purpurColorBorderInteractivePrimaryHover,
260
+ colorBorderInteractivePrimaryActive: purpurColorBorderInteractivePrimaryActive,
261
+ colorBorderInteractiveFocus: purpurColorBorderInteractiveFocus,
262
+ colorBorderInteractiveExpressive: purpurColorBorderInteractiveExpressive,
263
+ colorBorderInteractiveSubtle: purpurColorBorderInteractiveSubtle,
264
+ colorBorderInteractiveSubtleHover: purpurColorBorderInteractiveSubtleHover,
265
+ colorBorderInteractiveSelected: purpurColorBorderInteractiveSelected,
266
+ colorBorderInteractivePrimaryNegative: purpurColorBorderInteractivePrimaryNegative,
267
+ colorBorderInteractivePrimaryHoverNegative: purpurColorBorderInteractivePrimaryHoverNegative,
268
+ colorBorderInteractivePrimaryActiveNegative: purpurColorBorderInteractivePrimaryActiveNegative,
269
+ colorBorderInteractiveSubtleNegative: purpurColorBorderInteractiveSubtleNegative,
270
+ colorBorderInteractiveSubtleHoverNegative: purpurColorBorderInteractiveSubtleHoverNegative,
134
271
 
135
- colorBorderStatusError: "var(--purpur-color-red-400)",
136
- colorBorderStatusWarning: "var(--purpur-color-orange-300)",
137
- colorBorderStatusInfo: "var(--purpur-color-blue-400)",
138
- colorBorderStatusSuccess: "var(--purpur-color-green-400)",
139
- colorBorderStatusErrorNegative: "var(--purpur-color-red-500)",
140
- colorBorderStatusSuccessNegative: "var(--purpur-color-green-500)",
272
+ colorBorderStatusError: purpurColorBorderStatusError,
273
+ colorBorderStatusWarning: purpurColorBorderStatusWarning,
274
+ colorBorderStatusInfo: purpurColorBorderStatusInfo,
275
+ colorBorderStatusSuccess: purpurColorBorderStatusSuccess,
276
+ colorBorderStatusErrorNegative: purpurColorBorderStatusErrorNegative,
277
+ colorBorderStatusSuccessNegative: purpurColorBorderStatusSuccessNegative,
141
278
  } satisfies ThemeProps;
@@ -41,6 +41,7 @@ export type ThemeProps = {
41
41
  colorTextStatusSuccessStrong?: string;
42
42
  colorTextStatusSuccessStrongNegative?: string;
43
43
  colorTextStatusSuccessMedium?: string;
44
+ colorTextStatusSuccessMediumNegative?: string;
44
45
  colorTextStatusWarningStrong?: string;
45
46
  colorTextStatusWarningMedium?: string;
46
47
  colorTextStatusWarningMediumNegative?: string;
@@ -2,6 +2,6 @@ import { useTheme } from "./ThemeProvider";
2
2
  import type { ColorOptions } from "./types";
3
3
 
4
4
  export const useColorScheme = (): [ColorOptions, (colorScheme: ColorOptions) => void] => {
5
- const { currentColorScheme, setColorScheme } = useTheme();
6
- return [currentColorScheme, setColorScheme];
5
+ const { colorScheme, setColorScheme } = useTheme();
6
+ return [colorScheme, setColorScheme];
7
7
  };