@skbkontur/colors 2.0.0-alpha.2 → 2.0.0-alpha.4

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.
Files changed (174) hide show
  1. package/README.md +104 -171
  2. package/colors.less +319 -0
  3. package/colors.scss +319 -0
  4. package/lib/consts/default-swatch.d.ts +108 -0
  5. package/lib/consts/default-swatch.js +108 -0
  6. package/{dist/esm/constants/default-swatch.js → lib/consts/default-swatch.ts} +11 -7
  7. package/lib/consts/params/abney-correction.d.ts +2 -0
  8. package/lib/consts/params/abney-correction.js +1102 -0
  9. package/{dist/cjs/constants/abney-correction.js → lib/consts/params/abney-correction.ts} +3 -4
  10. package/lib/consts/params/chroma-params.d.ts +2 -0
  11. package/lib/consts/params/chroma-params.js +102 -0
  12. package/{dist/esm/constants/chroma-settings.js → lib/consts/params/chroma-params.ts} +3 -1
  13. package/lib/consts/params/interactions.ts +9 -0
  14. package/lib/consts/params/logo-lightness.d.ts +1 -0
  15. package/lib/consts/params/logo-lightness.js +1 -0
  16. package/lib/consts/params/logo-lightness.ts +1 -0
  17. package/{dist/cjs/constants → lib/consts/params}/promo-hue-shift.d.ts +1 -1
  18. package/lib/consts/params/promo-hue-shift.js +11 -0
  19. package/{dist/esm/constants/promo-hue-shift.js → lib/consts/params/promo-hue-shift.ts} +1 -1
  20. package/{dist/cjs/constants → lib/consts/params}/warning-hue-patch.d.ts +1 -1
  21. package/lib/consts/params/warning-hue-patch.js +22 -0
  22. package/{dist/esm/constants/warning-hue-patch.js → lib/consts/params/warning-hue-patch.ts} +1 -1
  23. package/lib/get-colors-base.d.ts +11 -0
  24. package/lib/get-colors-base.js +78 -0
  25. package/lib/get-colors-base.ts +99 -0
  26. package/lib/get-colors-default-tokens.d.ts +645 -0
  27. package/lib/get-colors-default-tokens.js +647 -0
  28. package/lib/get-colors-default-tokens.ts +646 -0
  29. package/lib/get-colors.d.ts +40 -0
  30. package/lib/get-colors.js +28 -0
  31. package/lib/get-colors.ts +65 -0
  32. package/{dist/cjs → lib}/helpers/get-interactions.d.ts +2 -2
  33. package/lib/helpers/get-interactions.js +35 -0
  34. package/lib/helpers/get-interactions.ts +64 -0
  35. package/{dist/cjs → lib}/helpers/get-logo.d.ts +2 -2
  36. package/lib/helpers/get-logo.js +25 -0
  37. package/lib/helpers/get-logo.ts +40 -0
  38. package/lib/helpers/get-palette.d.ts +51 -0
  39. package/lib/helpers/get-palette.js +204 -0
  40. package/lib/helpers/get-palette.ts +261 -0
  41. package/lib/helpers/get-promo.d.ts +6 -0
  42. package/lib/helpers/get-promo.js +47 -0
  43. package/lib/helpers/get-promo.ts +55 -0
  44. package/lib/types/tokens-base-generator.d.ts +43 -0
  45. package/{dist/cjs/types/generator-tokens.d.ts → lib/types/tokens-base-generator.ts} +12 -17
  46. package/lib/types/tokens-base.d.ts +55 -0
  47. package/{dist/esm/types/base-tokens.d.ts → lib/types/tokens-base.ts} +7 -2
  48. package/lib/types/tokens.d.ts +12 -0
  49. package/lib/types/tokens.js +1 -0
  50. package/lib/types/tokens.ts +18 -0
  51. package/lib/utils/convert-color.d.ts +3 -0
  52. package/lib/utils/convert-color.js +144 -0
  53. package/lib/utils/convert-color.ts +163 -0
  54. package/lib/utils/format-variable.js +6 -0
  55. package/lib/utils/format-variable.ts +7 -0
  56. package/package.json +44 -19
  57. package/{dist/tokens → tokens}/brand-blue-deep_accent-brand.css +33 -33
  58. package/{dist/tokens → tokens}/brand-blue-deep_accent-gray.css +33 -33
  59. package/{dist/tokens → tokens}/brand-blue_accent-brand.css +33 -33
  60. package/{dist/tokens → tokens}/brand-blue_accent-gray.css +33 -33
  61. package/{dist/tokens → tokens}/brand-green_accent-brand.css +33 -33
  62. package/{dist/tokens → tokens}/brand-green_accent-gray.css +33 -33
  63. package/{dist/tokens → tokens}/brand-mint_accent-brand.css +33 -33
  64. package/{dist/tokens → tokens}/brand-mint_accent-gray.css +33 -33
  65. package/{dist/tokens → tokens}/brand-orange_accent-gray.css +33 -33
  66. package/{dist/tokens → tokens}/brand-purple_accent-brand.css +33 -33
  67. package/{dist/tokens → tokens}/brand-purple_accent-gray.css +33 -33
  68. package/{dist/tokens → tokens}/brand-red_accent-gray.css +33 -33
  69. package/{dist/tokens → tokens}/brand-violet_accent-brand.css +33 -33
  70. package/{dist/tokens → tokens}/brand-violet_accent-gray.css +33 -33
  71. package/tokens-mobile/brand-blue-deep_accent-brand.json +718 -0
  72. package/tokens-mobile/brand-blue-deep_accent-gray.json +718 -0
  73. package/tokens-mobile/brand-blue_accent-brand.json +718 -0
  74. package/tokens-mobile/brand-blue_accent-gray.json +718 -0
  75. package/tokens-mobile/brand-green_accent-brand.json +718 -0
  76. package/tokens-mobile/brand-green_accent-gray.json +718 -0
  77. package/tokens-mobile/brand-mint_accent-brand.json +718 -0
  78. package/tokens-mobile/brand-mint_accent-gray.json +718 -0
  79. package/tokens-mobile/brand-orange_accent-gray.json +718 -0
  80. package/tokens-mobile/brand-purple_accent-brand.json +718 -0
  81. package/tokens-mobile/brand-purple_accent-gray.json +718 -0
  82. package/tokens-mobile/brand-red_accent-gray.json +718 -0
  83. package/tokens-mobile/brand-violet_accent-brand.json +718 -0
  84. package/tokens-mobile/brand-violet_accent-gray.json +718 -0
  85. package/dist/cjs/constants/abney-correction.d.ts +0 -2
  86. package/dist/cjs/constants/chroma-settings.d.ts +0 -2
  87. package/dist/cjs/constants/chroma-settings.js +0 -105
  88. package/dist/cjs/constants/default-swatch.d.ts +0 -109
  89. package/dist/cjs/constants/default-swatch.js +0 -112
  90. package/dist/cjs/constants/interaction-settings.js +0 -19
  91. package/dist/cjs/constants/logo-lightness.d.ts +0 -1
  92. package/dist/cjs/constants/logo-lightness.js +0 -4
  93. package/dist/cjs/constants/promo-hue-shift.js +0 -14
  94. package/dist/cjs/constants/warning-hue-patch.js +0 -25
  95. package/dist/cjs/get-base-tokens.d.ts +0 -26
  96. package/dist/cjs/get-base-tokens.js +0 -319
  97. package/dist/cjs/get-colors.d.ts +0 -20
  98. package/dist/cjs/get-colors.js +0 -20
  99. package/dist/cjs/get-default-tokens.d.ts +0 -645
  100. package/dist/cjs/get-default-tokens.js +0 -996
  101. package/dist/cjs/helpers/get-interactions.js +0 -61
  102. package/dist/cjs/helpers/get-logo.js +0 -32
  103. package/dist/cjs/helpers/get-palette.d.ts +0 -76
  104. package/dist/cjs/helpers/get-palette.js +0 -287
  105. package/dist/cjs/helpers/get-promo.d.ts +0 -12
  106. package/dist/cjs/helpers/get-promo.js +0 -56
  107. package/dist/cjs/types/base-tokens.d.ts +0 -125
  108. package/dist/cjs/types/base-tokens.js +0 -2
  109. package/dist/cjs/types/generator-tokens.js +0 -2
  110. package/dist/cjs/utils/format-variable.js +0 -15
  111. package/dist/colors.default-dark.js +0 -332
  112. package/dist/colors.default-light.js +0 -336
  113. package/dist/colors.less +0 -319
  114. package/dist/colors.scss +0 -319
  115. package/dist/esm/constants/abney-correction.d.ts +0 -2
  116. package/dist/esm/constants/abney-correction.js +0 -1102
  117. package/dist/esm/constants/chroma-settings.d.ts +0 -2
  118. package/dist/esm/constants/default-swatch.d.ts +0 -109
  119. package/dist/esm/constants/interaction-settings.d.ts +0 -8
  120. package/dist/esm/constants/logo-lightness.d.ts +0 -1
  121. package/dist/esm/constants/logo-lightness.js +0 -1
  122. package/dist/esm/constants/promo-hue-shift.d.ts +0 -3
  123. package/dist/esm/constants/warning-hue-patch.d.ts +0 -3
  124. package/dist/esm/get-base-tokens.d.ts +0 -26
  125. package/dist/esm/get-base-tokens.js +0 -257
  126. package/dist/esm/get-colors.d.ts +0 -20
  127. package/dist/esm/get-colors.js +0 -16
  128. package/dist/esm/get-default-tokens.d.ts +0 -645
  129. package/dist/esm/get-default-tokens.js +0 -992
  130. package/dist/esm/helpers/get-interactions.d.ts +0 -7
  131. package/dist/esm/helpers/get-interactions.js +0 -49
  132. package/dist/esm/helpers/get-logo.d.ts +0 -6
  133. package/dist/esm/helpers/get-logo.js +0 -28
  134. package/dist/esm/helpers/get-palette.d.ts +0 -76
  135. package/dist/esm/helpers/get-palette.js +0 -232
  136. package/dist/esm/helpers/get-promo.d.ts +0 -12
  137. package/dist/esm/helpers/get-promo.js +0 -51
  138. package/dist/esm/types/generator-tokens.d.ts +0 -43
  139. package/dist/esm/utils/format-variable.d.ts +0 -2
  140. package/dist/esm/utils/format-variable.js +0 -10
  141. package/dist/tokens-js/brand-blue-deep_accent-brand.js +0 -644
  142. package/dist/tokens-js/brand-blue-deep_accent-gray.js +0 -644
  143. package/dist/tokens-js/brand-blue_accent-brand.js +0 -644
  144. package/dist/tokens-js/brand-blue_accent-gray.js +0 -644
  145. package/dist/tokens-js/brand-green_accent-brand.js +0 -644
  146. package/dist/tokens-js/brand-green_accent-gray.js +0 -644
  147. package/dist/tokens-js/brand-mint_accent-brand.js +0 -644
  148. package/dist/tokens-js/brand-mint_accent-gray.js +0 -644
  149. package/dist/tokens-js/brand-orange_accent-gray.js +0 -644
  150. package/dist/tokens-js/brand-purple_accent-brand.js +0 -644
  151. package/dist/tokens-js/brand-purple_accent-gray.js +0 -644
  152. package/dist/tokens-js/brand-red_accent-gray.js +0 -644
  153. package/dist/tokens-js/brand-violet_accent-brand.js +0 -644
  154. package/dist/tokens-js/brand-violet_accent-gray.js +0 -644
  155. package/dist/tokens-mobile/brand-blue-deep_accent-brand.json +0 -718
  156. package/dist/tokens-mobile/brand-blue-deep_accent-gray.json +0 -718
  157. package/dist/tokens-mobile/brand-blue_accent-brand.json +0 -718
  158. package/dist/tokens-mobile/brand-blue_accent-gray.json +0 -718
  159. package/dist/tokens-mobile/brand-green_accent-brand.json +0 -718
  160. package/dist/tokens-mobile/brand-green_accent-gray.json +0 -718
  161. package/dist/tokens-mobile/brand-mint_accent-brand.json +0 -718
  162. package/dist/tokens-mobile/brand-mint_accent-gray.json +0 -718
  163. package/dist/tokens-mobile/brand-orange_accent-gray.json +0 -718
  164. package/dist/tokens-mobile/brand-purple_accent-brand.json +0 -718
  165. package/dist/tokens-mobile/brand-purple_accent-gray.json +0 -718
  166. package/dist/tokens-mobile/brand-red_accent-gray.json +0 -718
  167. package/dist/tokens-mobile/brand-violet_accent-brand.json +0 -718
  168. package/dist/tokens-mobile/brand-violet_accent-gray.json +0 -718
  169. /package/{dist/colors.js → colors.js} +0 -0
  170. /package/{dist/cjs/constants/interaction-settings.d.ts → lib/consts/params/interactions.d.ts} +0 -0
  171. /package/{dist/esm/constants/interaction-settings.js → lib/consts/params/interactions.js} +0 -0
  172. /package/{dist/esm/types/base-tokens.js → lib/types/tokens-base-generator.js} +0 -0
  173. /package/{dist/esm/types/generator-tokens.js → lib/types/tokens-base.js} +0 -0
  174. /package/{dist/cjs → lib}/utils/format-variable.d.ts +0 -0
@@ -1,996 +0,0 @@
1
- 'use strict';
2
- Object.defineProperty(exports, '__esModule', { value: true });
3
- exports.getDefaultTokens = void 0;
4
- var getDefaultTokens = function (base) {
5
- var _a,
6
- _b,
7
- _c,
8
- _d,
9
- _e,
10
- _f,
11
- _g,
12
- _h,
13
- _j,
14
- _k,
15
- _l,
16
- _m,
17
- _o,
18
- _p,
19
- _q,
20
- _r,
21
- _s,
22
- _t,
23
- _u,
24
- _v,
25
- _w,
26
- _x,
27
- _y,
28
- _z,
29
- _0,
30
- _1,
31
- _2,
32
- _3,
33
- _4,
34
- _5,
35
- _6,
36
- _7,
37
- _8,
38
- _9,
39
- _10,
40
- _11,
41
- _12,
42
- _13,
43
- _14,
44
- _15,
45
- _16,
46
- _17,
47
- _18,
48
- _19,
49
- _20,
50
- _21,
51
- _22,
52
- _23,
53
- _24,
54
- _25,
55
- _26,
56
- _27,
57
- _28,
58
- _29,
59
- _30,
60
- _31,
61
- _32,
62
- _33,
63
- _34,
64
- _35,
65
- _36,
66
- _37,
67
- _38,
68
- _39,
69
- _40,
70
- _41,
71
- _42,
72
- _43,
73
- _44,
74
- _45,
75
- _46,
76
- _47,
77
- _48,
78
- _49,
79
- _50,
80
- _51,
81
- _52,
82
- _53,
83
- _54,
84
- _55,
85
- _56,
86
- _57,
87
- _58,
88
- _59,
89
- _60,
90
- _61,
91
- _62,
92
- _63,
93
- _64,
94
- _65,
95
- _66,
96
- _67,
97
- _68,
98
- _69,
99
- _70,
100
- _71,
101
- _72,
102
- _73,
103
- _74,
104
- _75,
105
- _76,
106
- _77,
107
- _78,
108
- _79,
109
- _80,
110
- _81,
111
- _82,
112
- _83,
113
- _84,
114
- _85,
115
- _86,
116
- _87,
117
- _88,
118
- _89,
119
- _90,
120
- _91,
121
- _92,
122
- _93,
123
- _94,
124
- _95,
125
- _96,
126
- _97,
127
- _98,
128
- _99,
129
- _100,
130
- _101,
131
- _102,
132
- _103,
133
- _104,
134
- _105,
135
- _106,
136
- _107,
137
- _108,
138
- _109,
139
- _110,
140
- _111,
141
- _112,
142
- _113,
143
- _114,
144
- _115,
145
- _116,
146
- _117,
147
- _118,
148
- _119,
149
- _120,
150
- _121,
151
- _122,
152
- _123,
153
- _124,
154
- _125,
155
- _126,
156
- _127,
157
- _128,
158
- _129,
159
- _130,
160
- _131,
161
- _132,
162
- _133;
163
- return {
164
- light: {
165
- textAccentHeavy:
166
- ((_b = (_a = base.accent) === null || _a === void 0 ? void 0 : _a.palette) === null || _b === void 0
167
- ? void 0
168
- : _b.vivid[52]) || base.blackAlpha[88],
169
- textAccentHeavyHover:
170
- ((_d = (_c = base.accent) === null || _c === void 0 ? void 0 : _c.palette) === null || _d === void 0
171
- ? void 0
172
- : _d.vivid[60]) || base.blackAlpha[96],
173
- textAccentHeavyPressed:
174
- ((_f = (_e = base.accent) === null || _e === void 0 ? void 0 : _e.palette) === null || _f === void 0
175
- ? void 0
176
- : _f.dim[48]) || base.blackAlpha[96],
177
- textErrorHeavy: base.customizable.red.vivid[52],
178
- textErrorHeavyHover: base.customizable.red.vivid[60],
179
- textErrorHeavyPressed: base.customizable.red.dim[48],
180
- textInvertedAccentHeavy:
181
- ((_h = (_g = base.accent) === null || _g === void 0 ? void 0 : _g.palette) === null || _h === void 0
182
- ? void 0
183
- : _h.vivid[72]) || base.whiteAlpha[96],
184
- textInvertedAccentHeavyHover:
185
- ((_k = (_j = base.accent) === null || _j === void 0 ? void 0 : _j.palette) === null || _k === void 0
186
- ? void 0
187
- : _k.vivid[80]) || base.gray[100],
188
- textInvertedAccentHeavyPressed:
189
- ((_m = (_l = base.accent) === null || _l === void 0 ? void 0 : _l.palette) === null || _m === void 0
190
- ? void 0
191
- : _m.dim[64]) || base.gray[100],
192
- textInvertedErrorHeavy: base.customizable.red.vivid[68],
193
- textInvertedErrorHeavyHover: base.customizable.red.vivid[72],
194
- textInvertedErrorHeavyPressed: base.customizable.red.dim[64],
195
- textInvertedNeutralFaint: base.whiteAlpha[40],
196
- textInvertedNeutralHeavy: base.whiteAlpha[96],
197
- textInvertedNeutralPale: base.whiteAlpha[48],
198
- textInvertedNeutralSoft: base.whiteAlpha[64],
199
- textInvertedSuccessHeavy: base.customizable.green.vivid[72],
200
- textInvertedSuccessHeavyHover: base.customizable.green.vivid[80],
201
- textInvertedSuccessHeavyPressed: base.customizable.green.dim[64],
202
- textInvertedWarningHeavy: base.warning.vivid[80],
203
- textInvertedWarningHeavyHover: base.warning.vivid[84],
204
- textInvertedWarningHeavyPressed: base.warning.dim[72],
205
- textLogo: base.brand.logo.light,
206
- textNeutralFaint: base.blackAlpha[32],
207
- textNeutralHeavy: base.blackAlpha[88],
208
- textNeutralPale: base.blackAlpha[40],
209
- textNeutralSoft: base.blackAlpha[56],
210
- textSuccessHeavy: base.customizable.green.vivid[52],
211
- textSuccessHeavyHover: base.customizable.green.vivid[60],
212
- textSuccessHeavyPressed: base.customizable.green.dim[48],
213
- textWarningHeavy: base.warning.vivid[64],
214
- textWarningHeavyHover: base.warning.vivid[72],
215
- textWarningHeavyPressed: base.warning.dim[60],
216
- textConstFaintBlack: base.blackAlpha[32],
217
- textConstFaintWhite: base.whiteAlpha[40],
218
- textConstHeavyBlack: base.blackAlpha[88],
219
- textConstHeavyWhite: base.whiteAlpha[96],
220
- textConstPaleBlack: base.blackAlpha[40],
221
- textConstPaleWhite: base.whiteAlpha[48],
222
- textConstSoftBlack: base.blackAlpha[56],
223
- textConstSoftWhite: base.whiteAlpha[64],
224
- textOnAccentBoldFaint: ((_o = base.onAccent) === null || _o === void 0 ? void 0 : _o[40]) || base.whiteAlpha[40],
225
- textOnAccentBoldHeavy: ((_p = base.onAccent) === null || _p === void 0 ? void 0 : _p[96]) || base.whiteAlpha[96],
226
- textOnAccentBoldPale: ((_q = base.onAccent) === null || _q === void 0 ? void 0 : _q[48]) || base.whiteAlpha[48],
227
- textOnAccentBoldSoft: ((_r = base.onAccent) === null || _r === void 0 ? void 0 : _r[64]) || base.whiteAlpha[64],
228
- textOnBrandOriginalFaint: base.onBrand[40],
229
- textOnBrandOriginalHeavy: base.onBrand[96],
230
- textOnBrandOriginalPale: base.onBrand[48],
231
- textOnBrandOriginalSoft: base.onBrand[64],
232
- shapeBoldAccent: ((_s = base.accent) === null || _s === void 0 ? void 0 : _s.original.light) || base.gray[36],
233
- shapeBoldAccentHover:
234
- ((_t = base.accent) === null || _t === void 0 ? void 0 : _t.interactions.hover.light) || base.gray[28],
235
- shapeBoldAccentPressed:
236
- ((_u = base.accent) === null || _u === void 0 ? void 0 : _u.interactions.pressed.light) || base.gray[20],
237
- shapeBoldBrandOriginal: base.brand.original,
238
- shapeBoldBrandOriginalHover: base.brand.interactions.hover.light,
239
- shapeBoldBrandOriginalPressed: base.brand.interactions.pressed.light,
240
- shapeBoldError: base.customizable.red.vivid[64],
241
- shapeBoldErrorHover: base.customizable.red.vivid[60],
242
- shapeBoldErrorPressed: base.customizable.red.normal[56],
243
- shapeBoldNeutral: base.gray[44],
244
- shapeBoldNeutralHover: base.gray[36],
245
- shapeBoldNeutralPressed: base.blackAlpha[56],
246
- shapeBoldSuccess: base.customizable.green.vivid[64],
247
- shapeBoldSuccessHover: base.customizable.green.vivid[60],
248
- shapeBoldSuccessPressed: base.customizable.green.normal[56],
249
- shapeBoldWarning: base.warning.vivid[84],
250
- shapeBoldWarningHover: base.warning.vivid[80],
251
- shapeBoldWarningPressed: base.warning.normal[76],
252
- shapeFaintAccent:
253
- ((_w = (_v = base.accent) === null || _v === void 0 ? void 0 : _v.palette) === null || _w === void 0
254
- ? void 0
255
- : _w.normal[96]) || base.blackAlpha[12],
256
- shapeFaintAccentHover:
257
- ((_y = (_x = base.accent) === null || _x === void 0 ? void 0 : _x.palette) === null || _y === void 0
258
- ? void 0
259
- : _y.normal[92]) || base.blackAlpha[16],
260
- shapeFaintAccentPressed:
261
- ((_0 = (_z = base.accent) === null || _z === void 0 ? void 0 : _z.palette) === null || _0 === void 0
262
- ? void 0
263
- : _0.dim[88]) || base.blackAlpha[24],
264
- shapeFaintBrand: (_1 = base.brand.palette) === null || _1 === void 0 ? void 0 : _1.vivid[96],
265
- shapeFaintBrandHover: (_2 = base.brand.palette) === null || _2 === void 0 ? void 0 : _2.normal[92],
266
- shapeFaintBrandPressed: (_3 = base.brand.palette) === null || _3 === void 0 ? void 0 : _3.dim[92],
267
- shapeFaintError: base.customizable.red.vivid[96],
268
- shapeFaintErrorHover: base.customizable.red.normal[92],
269
- shapeFaintErrorPressed: base.customizable.red.dim[92],
270
- shapeFaintNeutralAlpha: base.blackAlpha[6],
271
- shapeFaintNeutralAlphaHover: base.blackAlpha[8],
272
- shapeFaintNeutralAlphaPressed: base.blackAlpha[12],
273
- shapeFaintSuccess: base.customizable.green.normal[96],
274
- shapeFaintSuccessHover: base.customizable.green.normal[92],
275
- shapeFaintSuccessPressed: base.customizable.green.dim[92],
276
- shapeFaintWarning: base.warning.vivid[96],
277
- shapeFaintWarningHover: base.warning.normal[92],
278
- shapeFaintWarningPressed: base.warning.dim[92],
279
- shapeHeavyError: base.customizable.red.normal[36],
280
- shapeHeavyNeutral: base.gray[28],
281
- shapeHeavySuccess: base.customizable.green.normal[36],
282
- shapeHeavyWarning: base.warning.vivid[36],
283
- shapeOtherAccentBoldDisabled: base.blackAlpha[32],
284
- shapeOtherBacklessHover: base.blackAlpha[6],
285
- shapeOtherBacklessPressed: base.blackAlpha[8],
286
- shapeOtherBase: base.gray[100],
287
- shapeOtherBaseHover: base.gray[96],
288
- shapeOtherBasePressed: base.gray[92],
289
- shapeOtherDisabled: base.blackAlpha[6],
290
- shapeOtherField: base.gray[100],
291
- shapeOtherFieldHover: base.gray[96],
292
- shapeOtherFieldPressed: base.gray[92],
293
- shapeOtherLow: base.blackAlpha[6],
294
- shapeOtherLowHover: base.blackAlpha[8],
295
- shapeOtherLowPressed: base.blackAlpha[12],
296
- shapeOtherNeutralFaintSolid: base.gray[96],
297
- shapeOtherNeutralFaintSolidHover: base.gray[92],
298
- shapeOtherNeutralFaintSolidPressed: base.gray[88],
299
- shapeOtherNeutralPaleSolid: base.gray[92],
300
- shapeOtherNeutralPaleSolidHover: base.gray[88],
301
- shapeOtherNeutralPaleSolidPressed: base.gray[84],
302
- shapeOtherNeutralSoftSolid: base.gray[84],
303
- shapeOtherNeutralSoftSolidHover: base.gray[80],
304
- shapeOtherNeutralSoftSolidPressed: base.gray[76],
305
- shapePaleAccent:
306
- ((_5 = (_4 = base.accent) === null || _4 === void 0 ? void 0 : _4.palette) === null || _5 === void 0
307
- ? void 0
308
- : _5.vivid[92]) || base.blackAlpha[16],
309
- shapePaleAccentHover:
310
- ((_7 = (_6 = base.accent) === null || _6 === void 0 ? void 0 : _6.palette) === null || _7 === void 0
311
- ? void 0
312
- : _7.normal[88]) || base.blackAlpha[24],
313
- shapePaleAccentPressed:
314
- ((_9 = (_8 = base.accent) === null || _8 === void 0 ? void 0 : _8.palette) === null || _9 === void 0
315
- ? void 0
316
- : _9.dim[84]) || base.blackAlpha[32],
317
- shapePaleBrand: (_10 = base.brand.palette) === null || _10 === void 0 ? void 0 : _10.vivid[92],
318
- shapePaleBrandHover: (_11 = base.brand.palette) === null || _11 === void 0 ? void 0 : _11.normal[88],
319
- shapePaleBrandPressed: (_12 = base.brand.palette) === null || _12 === void 0 ? void 0 : _12.dim[88],
320
- shapePaleError: base.customizable.red.vivid[92],
321
- shapePaleErrorHover: base.customizable.red.normal[88],
322
- shapePaleErrorPressed: base.customizable.red.dim[88],
323
- shapePaleNeutralAlpha: base.blackAlpha[8],
324
- shapePaleNeutralAlphaHover: base.blackAlpha[12],
325
- shapePaleNeutralAlphaPressed: base.blackAlpha[16],
326
- shapePaleSuccess: base.customizable.green.normal[92],
327
- shapePaleSuccessHover: base.customizable.green.normal[88],
328
- shapePaleSuccessPressed: base.customizable.green.dim[88],
329
- shapePaleWarning: base.warning.vivid[92],
330
- shapePaleWarningHover: base.warning.normal[88],
331
- shapePaleWarningPressed: base.warning.dim[88],
332
- shapeSoftAccent:
333
- ((_14 = (_13 = base.accent) === null || _13 === void 0 ? void 0 : _13.palette) === null || _14 === void 0
334
- ? void 0
335
- : _14.normal[80]) || base.blackAlpha[32],
336
- shapeSoftAccentHover:
337
- ((_16 = (_15 = base.accent) === null || _15 === void 0 ? void 0 : _15.palette) === null || _16 === void 0
338
- ? void 0
339
- : _16.normal[76]) || base.blackAlpha[40],
340
- shapeSoftAccentPressed:
341
- ((_18 = (_17 = base.accent) === null || _17 === void 0 ? void 0 : _17.palette) === null || _18 === void 0
342
- ? void 0
343
- : _18.dim[72]) || base.blackAlpha[48],
344
- shapeSoftBrand: (_19 = base.brand.palette) === null || _19 === void 0 ? void 0 : _19.normal[80],
345
- shapeSoftBrandHover: (_20 = base.brand.palette) === null || _20 === void 0 ? void 0 : _20.normal[76],
346
- shapeSoftBrandPressed: (_21 = base.brand.palette) === null || _21 === void 0 ? void 0 : _21.dim[72],
347
- shapeSoftError: base.customizable.red.normal[80],
348
- shapeSoftErrorHover: base.customizable.red.normal[76],
349
- shapeSoftErrorPressed: base.customizable.red.dim[72],
350
- shapeSoftNeutralAlpha: base.blackAlpha[16],
351
- shapeSoftNeutralAlphaHover: base.blackAlpha[24],
352
- shapeSoftNeutralAlphaPressed: base.blackAlpha[32],
353
- shapeSoftSuccess: base.customizable.green.normal[80],
354
- shapeSoftSuccessHover: base.customizable.green.normal[76],
355
- shapeSoftSuccessPressed: base.customizable.green.dim[72],
356
- shapeSoftWarning: base.warning.vivid[88],
357
- shapeSoftWarningHover: base.warning.normal[84],
358
- shapeSoftWarningPressed: base.warning.dim[80],
359
- shapeInvertedBacklessHover: base.whiteAlpha[6],
360
- shapeInvertedBacklessPressed: base.whiteAlpha[4],
361
- shapeInvertedDisabled: base.whiteAlpha[6],
362
- shapeInvertedNeutralFaintAlpha: base.whiteAlpha[6],
363
- shapeInvertedNeutralFaintAlphaHover: base.whiteAlpha[8],
364
- shapeInvertedNeutralFaintAlphaPressed: base.whiteAlpha[4],
365
- shapeInvertedNeutralHeavy: base.gray[100],
366
- shapeInvertedNeutralHeavyHover: base.whiteAlpha[88],
367
- shapeInvertedNeutralHeavyPressed: base.whiteAlpha[72],
368
- shapeInvertedNeutralPaleAlpha: base.whiteAlpha[8],
369
- shapeInvertedNeutralPaleAlphaHover: base.whiteAlpha[12],
370
- shapeInvertedNeutralPaleAlphaPressed: base.whiteAlpha[6],
371
- shapeInvertedNeutralSoftAlpha: base.whiteAlpha[16],
372
- shapeInvertedNeutralSoftAlphaHover: base.whiteAlpha[24],
373
- shapeInvertedNeutralSoftAlphaPressed: base.whiteAlpha[12],
374
- shapeConstBacklessBlackHover: base.blackAlpha[12],
375
- shapeConstBacklessBlackPressed: base.blackAlpha[16],
376
- shapeConstBacklessWhiteHover: base.whiteAlpha[12],
377
- shapeConstBacklessWhitePressed: base.whiteAlpha[6],
378
- shapeConstDisabledBlack: base.blackAlpha[6],
379
- shapeConstDisabledWhite: base.whiteAlpha[6],
380
- shapeConstFaintBlack: base.blackAlpha[12],
381
- shapeConstFaintBlackHover: base.blackAlpha[16],
382
- shapeConstFaintBlackPressed: base.blackAlpha[24],
383
- shapeConstFaintWhite: base.whiteAlpha[12],
384
- shapeConstFaintWhiteHover: base.whiteAlpha[16],
385
- shapeConstFaintWhitePressed: base.whiteAlpha[8],
386
- shapeConstHeavyBlack: base.blackAlpha[80],
387
- shapeConstHeavyBlackHover: base.blackAlpha[88],
388
- shapeConstHeavyBlackPressed: base.blackAlpha[64],
389
- shapeConstHeavyWhite: base.whiteAlpha[96],
390
- shapeConstHeavyWhiteHover: base.gray[100],
391
- shapeConstHeavyWhitePressed: base.whiteAlpha[64],
392
- shapeConstPaleBlack: base.blackAlpha[16],
393
- shapeConstPaleBlackHover: base.blackAlpha[24],
394
- shapeConstPaleBlackPressed: base.blackAlpha[32],
395
- shapeConstPaleWhite: base.whiteAlpha[16],
396
- shapeConstPaleWhiteHover: base.whiteAlpha[24],
397
- shapeConstPaleWhitePressed: base.whiteAlpha[12],
398
- shapeConstPromo: base.brand.promo,
399
- shapeConstSoftBlack: base.blackAlpha[24],
400
- shapeConstSoftBlackHover: base.blackAlpha[32],
401
- shapeConstSoftBlackPressed: base.blackAlpha[40],
402
- shapeConstSoftWhite: base.whiteAlpha[24],
403
- shapeConstSoftWhiteHover: base.whiteAlpha[32],
404
- shapeConstSoftWhitePressed: base.whiteAlpha[24],
405
- lineAccentBold: ((_22 = base.accent) === null || _22 === void 0 ? void 0 : _22.original.light) || base.gray[40],
406
- lineAccentBoldHover:
407
- ((_23 = base.accent) === null || _23 === void 0 ? void 0 : _23.interactions.hover.light) || base.gray[20],
408
- lineAccentBoldPressed:
409
- ((_24 = base.accent) === null || _24 === void 0 ? void 0 : _24.interactions.pressed.light) ||
410
- base.blackAlpha[64],
411
- lineAccentPale:
412
- ((_26 = (_25 = base.accent) === null || _25 === void 0 ? void 0 : _25.palette) === null || _26 === void 0
413
- ? void 0
414
- : _26.normal[88]) || base.blackAlpha[24],
415
- lineAccentPaleHover:
416
- ((_28 = (_27 = base.accent) === null || _27 === void 0 ? void 0 : _27.palette) === null || _28 === void 0
417
- ? void 0
418
- : _28.normal[84]) || base.blackAlpha[32],
419
- lineAccentPalePressed:
420
- ((_30 = (_29 = base.accent) === null || _29 === void 0 ? void 0 : _29.palette) === null || _30 === void 0
421
- ? void 0
422
- : _30.dim[80]) || base.blackAlpha[40],
423
- lineAccentSoft:
424
- ((_32 = (_31 = base.accent) === null || _31 === void 0 ? void 0 : _31.palette) === null || _32 === void 0
425
- ? void 0
426
- : _32.dim[76]) || base.blackAlpha[48],
427
- lineAccentSoftHover:
428
- ((_34 = (_33 = base.accent) === null || _33 === void 0 ? void 0 : _33.palette) === null || _34 === void 0
429
- ? void 0
430
- : _34.vivid[60]) || base.blackAlpha[96],
431
- lineAccentSoftPressed:
432
- ((_36 = (_35 = base.accent) === null || _35 === void 0 ? void 0 : _35.palette) === null || _36 === void 0
433
- ? void 0
434
- : _36.dim[48]) || base.blackAlpha[96],
435
- lineBrandOriginal: base.brand.original,
436
- lineErrorBold: base.customizable.red.vivid[56],
437
- lineErrorBoldHover: base.customizable.red.vivid[64],
438
- lineErrorBoldPressed: base.customizable.red.dim[52],
439
- lineNeutralFaint: base.blackAlpha[8],
440
- lineNeutralPale: base.blackAlpha[16],
441
- lineNeutralPaleHover: base.blackAlpha[24],
442
- lineNeutralPalePressed: base.blackAlpha[40],
443
- lineOnAccentBoldFaint:
444
- ((_37 = base.onAccent) === null || _37 === void 0 ? void 0 : _37[12]) || base.whiteAlpha[12],
445
- lineOnAccentBoldPale:
446
- ((_38 = base.onAccent) === null || _38 === void 0 ? void 0 : _38[24]) || base.whiteAlpha[24],
447
- lineOnBrandOriginalFaint: base.onBrand[12],
448
- lineOnBrandOriginalPale: base.onBrand[24],
449
- lineSuccessBold: base.customizable.green.vivid[56],
450
- lineSuccessBoldHover: base.customizable.green.vivid[68],
451
- lineSuccessBoldPressed: base.customizable.green.dim[56],
452
- lineWarningBold: base.warning.vivid[80],
453
- lineWarningBoldHover: base.warning.vivid[72],
454
- lineWarningBoldPressed: base.warning.dim[68],
455
- lineInvertedAccentBold:
456
- ((_39 = base.accent) === null || _39 === void 0 ? void 0 : _39.original.dark) || base.gray[88],
457
- lineInvertedAccentBoldHover:
458
- ((_40 = base.accent) === null || _40 === void 0 ? void 0 : _40.interactions.hover.dark) || base.gray[100],
459
- lineInvertedAccentBoldPressed:
460
- ((_41 = base.accent) === null || _41 === void 0 ? void 0 : _41.interactions.pressed.dark) ||
461
- base.whiteAlpha[64],
462
- lineInvertedAccentPale:
463
- ((_43 = (_42 = base.accent) === null || _42 === void 0 ? void 0 : _42.palette) === null || _43 === void 0
464
- ? void 0
465
- : _43.dim[44]) || base.whiteAlpha[24],
466
- lineInvertedAccentPaleHover:
467
- ((_45 = (_44 = base.accent) === null || _44 === void 0 ? void 0 : _44.palette) === null || _45 === void 0
468
- ? void 0
469
- : _45.dim[48]) || base.whiteAlpha[32],
470
- lineInvertedAccentPalePressed:
471
- ((_47 = (_46 = base.accent) === null || _46 === void 0 ? void 0 : _46.palette) === null || _47 === void 0
472
- ? void 0
473
- : _47.dim[40]) || base.whiteAlpha[16],
474
- lineInvertedAccentSoft:
475
- ((_49 = (_48 = base.accent) === null || _48 === void 0 ? void 0 : _48.palette) === null || _49 === void 0
476
- ? void 0
477
- : _49.dim[48]) || base.whiteAlpha[48],
478
- lineInvertedAccentSoftHover:
479
- ((_51 = (_50 = base.accent) === null || _50 === void 0 ? void 0 : _50.palette) === null || _51 === void 0
480
- ? void 0
481
- : _51.vivid[80]) || base.gray[100],
482
- lineInvertedAccentSoftPressed:
483
- ((_53 = (_52 = base.accent) === null || _52 === void 0 ? void 0 : _52.palette) === null || _53 === void 0
484
- ? void 0
485
- : _53.normal[64]) || base.gray[100],
486
- lineInvertedErrorBold: base.customizable.red.vivid[60],
487
- lineInvertedErrorBoldHover: base.customizable.red.vivid[68],
488
- lineInvertedErrorBoldPressed: base.customizable.red.dim[56],
489
- lineInvertedNeutralFaint: base.whiteAlpha[8],
490
- lineInvertedNeutralPale: base.whiteAlpha[16],
491
- lineInvertedNeutralPaleHover: base.whiteAlpha[24],
492
- lineInvertedNeutralPalePressed: base.whiteAlpha[12],
493
- lineInvertedSuccessBold: base.customizable.green.vivid[60],
494
- lineInvertedSuccessBoldHover: base.customizable.green.vivid[68],
495
- lineInvertedSuccessBoldPressed: base.customizable.green.dim[56],
496
- lineInvertedWarningBold: base.warning.vivid[80],
497
- lineInvertedWarningBoldHover: base.warning.vivid[84],
498
- lineInvertedWarningBoldPressed: base.warning.dim[72],
499
- lineConstFaintBlack: base.blackAlpha[12],
500
- lineConstFaintWhite: base.whiteAlpha[12],
501
- lineConstPaleBlack: base.blackAlpha[24],
502
- lineConstPaleBlackHover: base.blackAlpha[32],
503
- lineConstPaleBlackPressed: base.blackAlpha[16],
504
- lineConstPaleWhite: base.whiteAlpha[24],
505
- lineConstPaleWhiteHover: base.whiteAlpha[32],
506
- lineConstPaleWhitePressed: base.whiteAlpha[16],
507
- surfaceBase: base.gray[100],
508
- surfaceHigh: base.gray[100],
509
- surfaceLow: base.gray[96],
510
- surfaceModalBackdrop: base.blackAlpha[24],
511
- illustrationBlack: base.gray[16],
512
- illustrationBrand: base.brand.original,
513
- illustrationComplement: base.brand.promo,
514
- illustrationInvertedNeutral: base.gray[100],
515
- illustrationNeutral: base.gray[0],
516
- illustrationOnBrand: base.onBrand[100],
517
- illustrationOnComplement: base.gray[100],
518
- illustrationPromo: base.brand.promo,
519
- illustrationSymbol: (_54 = base.brand.palette) === null || _54 === void 0 ? void 0 : _54.normal[80],
520
- illustrationWhite: base.gray[100],
521
- customizableBoldBlack: base.gray[52],
522
- customizableBoldBlue: base.customizable.blue.vivid[68],
523
- customizableBoldBlueDeep: base.customizable.blueDeep.vivid[68],
524
- customizableBoldGray: base.gray[72],
525
- customizableBoldGreen: base.customizable.green.vivid[68],
526
- customizableBoldMint: base.customizable.mint.vivid[68],
527
- customizableBoldOrange: base.customizable.orange.vivid[68],
528
- customizableBoldPurple: base.customizable.purple.vivid[68],
529
- customizableBoldRed: base.customizable.red.vivid[68],
530
- customizableBoldViolet: base.customizable.violet.vivid[68],
531
- customizableBoldYellow: base.customizable.yellow.vivid[76],
532
- customizableFaintBlack: base.gray[92],
533
- customizableFaintBlue: base.customizable.blue.vivid[96],
534
- customizableFaintBlueDeep: base.customizable.blueDeep.vivid[96],
535
- customizableFaintGray: base.gray[96],
536
- customizableFaintGreen: base.customizable.green.vivid[96],
537
- customizableFaintMint: base.customizable.mint.vivid[96],
538
- customizableFaintOrange: base.customizable.orange.vivid[96],
539
- customizableFaintPurple: base.customizable.purple.vivid[96],
540
- customizableFaintRed: base.customizable.red.vivid[96],
541
- customizableFaintViolet: base.customizable.violet.vivid[96],
542
- customizableFaintYellow: base.customizable.yellow.vivid[96],
543
- customizableHeavyBlack: base.gray[36],
544
- customizableHeavyBlue: base.customizable.blue.vivid[48],
545
- customizableHeavyBlueDeep: base.customizable.blueDeep.vivid[48],
546
- customizableHeavyGray: base.gray[56],
547
- customizableHeavyGreen: base.customizable.green.vivid[48],
548
- customizableHeavyMint: base.customizable.mint.vivid[52],
549
- customizableHeavyOrange: base.customizable.orange.vivid[48],
550
- customizableHeavyPurple: base.customizable.purple.vivid[48],
551
- customizableHeavyRed: base.customizable.red.vivid[52],
552
- customizableHeavyViolet: base.customizable.violet.vivid[48],
553
- customizableHeavyYellow: base.customizable.yellow.vivid[56],
554
- customizablePaleBlack: base.gray[88],
555
- customizablePaleBlue: base.customizable.blue.vivid[92],
556
- customizablePaleBlueDeep: base.customizable.blueDeep.vivid[92],
557
- customizablePaleGray: base.gray[92],
558
- customizablePaleGreen: base.customizable.green.vivid[92],
559
- customizablePaleMint: base.customizable.mint.vivid[92],
560
- customizablePaleOrange: base.customizable.orange.vivid[92],
561
- customizablePalePurple: base.customizable.purple.vivid[92],
562
- customizablePaleRed: base.customizable.red.vivid[92],
563
- customizablePaleViolet: base.customizable.violet.vivid[92],
564
- customizablePaleYellow: base.customizable.yellow.vivid[92],
565
- customizableSoftBlack: base.gray[76],
566
- customizableSoftBlue: base.customizable.blue.vivid[80],
567
- customizableSoftBlueDeep: base.customizable.blueDeep.vivid[80],
568
- customizableSoftGray: base.gray[88],
569
- customizableSoftGreen: base.customizable.green.normal[80],
570
- customizableSoftMint: base.customizable.mint.normal[84],
571
- customizableSoftOrange: base.customizable.orange.vivid[80],
572
- customizableSoftPurple: base.customizable.purple.vivid[80],
573
- customizableSoftRed: base.customizable.red.vivid[80],
574
- customizableSoftViolet: base.customizable.violet.vivid[80],
575
- customizableSoftYellow: base.customizable.yellow.vivid[88],
576
- },
577
- dark: {
578
- textAccentHeavy:
579
- ((_56 = (_55 = base.accent) === null || _55 === void 0 ? void 0 : _55.palette) === null || _56 === void 0
580
- ? void 0
581
- : _56.vivid[72]) || base.whiteAlpha[96],
582
- textAccentHeavyHover:
583
- ((_58 = (_57 = base.accent) === null || _57 === void 0 ? void 0 : _57.palette) === null || _58 === void 0
584
- ? void 0
585
- : _58.vivid[80]) || base.gray[100],
586
- textAccentHeavyPressed:
587
- ((_60 = (_59 = base.accent) === null || _59 === void 0 ? void 0 : _59.palette) === null || _60 === void 0
588
- ? void 0
589
- : _60.dim[64]) || base.gray[100],
590
- textErrorHeavy: base.customizable.red.vivid[68],
591
- textErrorHeavyHover: base.customizable.red.vivid[72],
592
- textErrorHeavyPressed: base.customizable.red.dim[64],
593
- textInvertedAccentHeavy:
594
- ((_62 = (_61 = base.accent) === null || _61 === void 0 ? void 0 : _61.palette) === null || _62 === void 0
595
- ? void 0
596
- : _62.vivid[52]) || base.blackAlpha[88],
597
- textInvertedAccentHeavyHover:
598
- ((_64 = (_63 = base.accent) === null || _63 === void 0 ? void 0 : _63.palette) === null || _64 === void 0
599
- ? void 0
600
- : _64.vivid[60]) || base.blackAlpha[96],
601
- textInvertedAccentHeavyPressed:
602
- ((_66 = (_65 = base.accent) === null || _65 === void 0 ? void 0 : _65.palette) === null || _66 === void 0
603
- ? void 0
604
- : _66.dim[48]) || base.blackAlpha[96],
605
- textInvertedErrorHeavy: base.customizable.red.vivid[52],
606
- textInvertedErrorHeavyHover: base.customizable.red.vivid[60],
607
- textInvertedErrorHeavyPressed: base.customizable.red.dim[48],
608
- textInvertedNeutralFaint: base.blackAlpha[32],
609
- textInvertedNeutralHeavy: base.blackAlpha[88],
610
- textInvertedNeutralPale: base.blackAlpha[40],
611
- textInvertedNeutralSoft: base.blackAlpha[56],
612
- textInvertedSuccessHeavy: base.customizable.green.vivid[52],
613
- textInvertedSuccessHeavyHover: base.customizable.green.vivid[60],
614
- textInvertedSuccessHeavyPressed: base.customizable.green.dim[48],
615
- textInvertedWarningHeavy: base.warning.vivid[64],
616
- textInvertedWarningHeavyHover: base.warning.vivid[72],
617
- textInvertedWarningHeavyPressed: base.warning.dim[56],
618
- textLogo: base.brand.logo.dark,
619
- textNeutralFaint: base.whiteAlpha[40],
620
- textNeutralHeavy: base.whiteAlpha[96],
621
- textNeutralPale: base.whiteAlpha[48],
622
- textNeutralSoft: base.whiteAlpha[64],
623
- textSuccessHeavy: base.customizable.green.vivid[72],
624
- textSuccessHeavyHover: base.customizable.green.vivid[80],
625
- textSuccessHeavyPressed: base.customizable.green.dim[64],
626
- textWarningHeavy: base.warning.vivid[80],
627
- textWarningHeavyHover: base.warning.vivid[84],
628
- textWarningHeavyPressed: base.warning.dim[72],
629
- textConstFaintBlack: base.blackAlpha[32],
630
- textConstFaintWhite: base.whiteAlpha[40],
631
- textConstHeavyBlack: base.blackAlpha[88],
632
- textConstHeavyWhite: base.whiteAlpha[96],
633
- textConstPaleBlack: base.blackAlpha[40],
634
- textConstPaleWhite: base.whiteAlpha[48],
635
- textConstSoftBlack: base.blackAlpha[56],
636
- textConstSoftWhite: base.whiteAlpha[64],
637
- textOnAccentBoldFaint:
638
- ((_67 = base.onAccent) === null || _67 === void 0 ? void 0 : _67[32]) || base.blackAlpha[32],
639
- textOnAccentBoldHeavy:
640
- ((_68 = base.onAccent) === null || _68 === void 0 ? void 0 : _68[96]) || base.blackAlpha[88],
641
- textOnAccentBoldPale:
642
- ((_69 = base.onAccent) === null || _69 === void 0 ? void 0 : _69[40]) || base.blackAlpha[40],
643
- textOnAccentBoldSoft:
644
- ((_70 = base.onAccent) === null || _70 === void 0 ? void 0 : _70[56]) || base.blackAlpha[56],
645
- textOnBrandOriginalFaint: base.onBrand[40],
646
- textOnBrandOriginalHeavy: base.onBrand[96],
647
- textOnBrandOriginalPale: base.onBrand[48],
648
- textOnBrandOriginalSoft: base.onBrand[64],
649
- shapeBoldAccent: ((_71 = base.accent) === null || _71 === void 0 ? void 0 : _71.original.dark) || base.gray[96],
650
- shapeBoldAccentHover:
651
- ((_72 = base.accent) === null || _72 === void 0 ? void 0 : _72.interactions.hover.dark) || base.gray[100],
652
- shapeBoldAccentPressed:
653
- ((_73 = base.accent) === null || _73 === void 0 ? void 0 : _73.interactions.pressed.dark) || base.gray[84],
654
- shapeBoldBrandOriginal: base.brand.original,
655
- shapeBoldBrandOriginalHover: base.brand.interactions.hover.dark,
656
- shapeBoldBrandOriginalPressed: base.brand.interactions.pressed.light,
657
- shapeBoldError: base.customizable.red.normal[60],
658
- shapeBoldErrorHover: base.customizable.red.normal[64],
659
- shapeBoldErrorPressed: base.customizable.red.dim[52],
660
- shapeBoldNeutral: base.gray[80],
661
- shapeBoldNeutralHover: base.gray[88],
662
- shapeBoldNeutralPressed: base.whiteAlpha[56],
663
- shapeBoldSuccess: base.customizable.green.normal[60],
664
- shapeBoldSuccessHover: base.customizable.green.normal[64],
665
- shapeBoldSuccessPressed: base.customizable.green.dim[52],
666
- shapeBoldWarning: base.warning.normal[80],
667
- shapeBoldWarningHover: base.warning.normal[84],
668
- shapeBoldWarningPressed: base.warning.dim[72],
669
- shapeFaintAccent:
670
- ((_75 = (_74 = base.accent) === null || _74 === void 0 ? void 0 : _74.palette) === null || _75 === void 0
671
- ? void 0
672
- : _75.dim[32]) || base.whiteAlpha[12],
673
- shapeFaintAccentHover:
674
- ((_77 = (_76 = base.accent) === null || _76 === void 0 ? void 0 : _76.palette) === null || _77 === void 0
675
- ? void 0
676
- : _77.dim[36]) || base.whiteAlpha[16],
677
- shapeFaintAccentPressed:
678
- ((_79 = (_78 = base.accent) === null || _78 === void 0 ? void 0 : _78.palette) === null || _79 === void 0
679
- ? void 0
680
- : _79.dim[28]) || base.whiteAlpha[8],
681
- shapeFaintBrand: (_80 = base.brand.palette) === null || _80 === void 0 ? void 0 : _80.dim[32],
682
- shapeFaintBrandHover: (_81 = base.brand.palette) === null || _81 === void 0 ? void 0 : _81.dim[36],
683
- shapeFaintBrandPressed: (_82 = base.brand.palette) === null || _82 === void 0 ? void 0 : _82.dim[28],
684
- shapeFaintError: base.customizable.red.dim[32],
685
- shapeFaintErrorHover: base.customizable.red.dim[36],
686
- shapeFaintErrorPressed: base.customizable.red.dim[28],
687
- shapeFaintNeutralAlpha: base.whiteAlpha[6],
688
- shapeFaintNeutralAlphaHover: base.whiteAlpha[8],
689
- shapeFaintNeutralAlphaPressed: base.whiteAlpha[4],
690
- shapeFaintSuccess: base.customizable.green.dim[32],
691
- shapeFaintSuccessHover: base.customizable.green.dim[36],
692
- shapeFaintSuccessPressed: base.customizable.green.dim[28],
693
- shapeFaintWarning: base.warning.dim[32],
694
- shapeFaintWarningHover: base.warning.dim[36],
695
- shapeFaintWarningPressed: base.warning.dim[28],
696
- shapeHeavyError: base.customizable.red.vivid[92],
697
- shapeHeavyNeutral: base.gray[96],
698
- shapeHeavySuccess: base.customizable.green.normal[92],
699
- shapeHeavyWarning: base.warning.vivid[92],
700
- shapeOtherAccentBoldDisabled: base.whiteAlpha[32],
701
- shapeOtherBacklessHover: base.whiteAlpha[6],
702
- shapeOtherBacklessPressed: base.whiteAlpha[4],
703
- shapeOtherBase: base.whiteAlpha[6],
704
- shapeOtherBaseHover: base.whiteAlpha[8],
705
- shapeOtherBasePressed: base.whiteAlpha[4],
706
- shapeOtherDisabled: base.whiteAlpha[6],
707
- shapeOtherField: base.blackAlpha[16],
708
- shapeOtherFieldHover: base.blackAlpha[4],
709
- shapeOtherFieldPressed: base.blackAlpha[12],
710
- shapeOtherLow: base.blackAlpha[24],
711
- shapeOtherLowHover: base.blackAlpha[16],
712
- shapeOtherLowPressed: base.blackAlpha[32],
713
- shapeOtherNeutralFaintSolid: base.gray[32],
714
- shapeOtherNeutralFaintSolidHover: base.gray[36],
715
- shapeOtherNeutralFaintSolidPressed: base.gray[28],
716
- shapeOtherNeutralPaleSolid: base.gray[36],
717
- shapeOtherNeutralPaleSolidHover: base.gray[40],
718
- shapeOtherNeutralPaleSolidPressed: base.gray[32],
719
- shapeOtherNeutralSoftSolid: base.gray[44],
720
- shapeOtherNeutralSoftSolidHover: base.gray[48],
721
- shapeOtherNeutralSoftSolidPressed: base.gray[40],
722
- shapePaleAccent:
723
- ((_84 = (_83 = base.accent) === null || _83 === void 0 ? void 0 : _83.palette) === null || _84 === void 0
724
- ? void 0
725
- : _84.dim[36]) || base.whiteAlpha[16],
726
- shapePaleAccentHover:
727
- ((_86 = (_85 = base.accent) === null || _85 === void 0 ? void 0 : _85.palette) === null || _86 === void 0
728
- ? void 0
729
- : _86.dim[40]) || base.whiteAlpha[24],
730
- shapePaleAccentPressed:
731
- ((_88 = (_87 = base.accent) === null || _87 === void 0 ? void 0 : _87.palette) === null || _88 === void 0
732
- ? void 0
733
- : _88.dim[32]) || base.whiteAlpha[12],
734
- shapePaleBrand: (_89 = base.brand.palette) === null || _89 === void 0 ? void 0 : _89.dim[36],
735
- shapePaleBrandHover: (_90 = base.brand.palette) === null || _90 === void 0 ? void 0 : _90.dim[40],
736
- shapePaleBrandPressed: (_91 = base.brand.palette) === null || _91 === void 0 ? void 0 : _91.dim[32],
737
- shapePaleError: base.customizable.red.dim[36],
738
- shapePaleErrorHover: base.customizable.red.dim[40],
739
- shapePaleErrorPressed: base.customizable.red.dim[32],
740
- shapePaleNeutralAlpha: base.whiteAlpha[8],
741
- shapePaleNeutralAlphaHover: base.whiteAlpha[12],
742
- shapePaleNeutralAlphaPressed: base.whiteAlpha[6],
743
- shapePaleSuccess: base.customizable.green.dim[36],
744
- shapePaleSuccessHover: base.customizable.green.dim[40],
745
- shapePaleSuccessPressed: base.customizable.green.dim[32],
746
- shapePaleWarning: base.warning.dim[36],
747
- shapePaleWarningHover: base.warning.dim[40],
748
- shapePaleWarningPressed: base.warning.dim[32],
749
- shapeSoftAccent:
750
- ((_93 = (_92 = base.accent) === null || _92 === void 0 ? void 0 : _92.palette) === null || _93 === void 0
751
- ? void 0
752
- : _93.dim[48]) || base.whiteAlpha[32],
753
- shapeSoftAccentHover:
754
- ((_95 = (_94 = base.accent) === null || _94 === void 0 ? void 0 : _94.palette) === null || _95 === void 0
755
- ? void 0
756
- : _95.dim[52]) || base.whiteAlpha[40],
757
- shapeSoftAccentPressed:
758
- ((_97 = (_96 = base.accent) === null || _96 === void 0 ? void 0 : _96.palette) === null || _97 === void 0
759
- ? void 0
760
- : _97.dim[44]) || base.whiteAlpha[24],
761
- shapeSoftBrand: (_98 = base.brand.palette) === null || _98 === void 0 ? void 0 : _98.dim[48],
762
- shapeSoftBrandHover: (_99 = base.brand.palette) === null || _99 === void 0 ? void 0 : _99.dim[52],
763
- shapeSoftBrandPressed: (_100 = base.brand.palette) === null || _100 === void 0 ? void 0 : _100.dim[44],
764
- shapeSoftError: base.customizable.red.dim[48],
765
- shapeSoftErrorHover: base.customizable.red.dim[52],
766
- shapeSoftErrorPressed: base.customizable.red.dim[44],
767
- shapeSoftNeutralAlpha: base.whiteAlpha[16],
768
- shapeSoftNeutralAlphaHover: base.whiteAlpha[24],
769
- shapeSoftNeutralAlphaPressed: base.whiteAlpha[12],
770
- shapeSoftSuccess: base.customizable.green.dim[48],
771
- shapeSoftSuccessHover: base.customizable.green.dim[52],
772
- shapeSoftSuccessPressed: base.customizable.green.dim[44],
773
- shapeSoftWarning: base.warning.dim[52],
774
- shapeSoftWarningHover: base.warning.dim[56],
775
- shapeSoftWarningPressed: base.warning.dim[48],
776
- shapeInvertedBacklessHover: base.blackAlpha[6],
777
- shapeInvertedBacklessPressed: base.blackAlpha[8],
778
- shapeInvertedDisabled: base.blackAlpha[6],
779
- shapeInvertedNeutralFaintAlpha: base.blackAlpha[6],
780
- shapeInvertedNeutralFaintAlphaHover: base.blackAlpha[8],
781
- shapeInvertedNeutralFaintAlphaPressed: base.blackAlpha[12],
782
- shapeInvertedNeutralHeavy: base.blackAlpha[80],
783
- shapeInvertedNeutralHeavyHover: base.blackAlpha[88],
784
- shapeInvertedNeutralHeavyPressed: base.blackAlpha[72],
785
- shapeInvertedNeutralPaleAlpha: base.blackAlpha[8],
786
- shapeInvertedNeutralPaleAlphaHover: base.blackAlpha[12],
787
- shapeInvertedNeutralPaleAlphaPressed: base.blackAlpha[16],
788
- shapeInvertedNeutralSoftAlpha: base.blackAlpha[16],
789
- shapeInvertedNeutralSoftAlphaHover: base.blackAlpha[24],
790
- shapeInvertedNeutralSoftAlphaPressed: base.blackAlpha[32],
791
- shapeConstBacklessBlackHover: base.blackAlpha[12],
792
- shapeConstBacklessBlackPressed: base.blackAlpha[16],
793
- shapeConstBacklessWhiteHover: base.whiteAlpha[12],
794
- shapeConstBacklessWhitePressed: base.whiteAlpha[6],
795
- shapeConstDisabledBlack: base.blackAlpha[6],
796
- shapeConstDisabledWhite: base.whiteAlpha[6],
797
- shapeConstFaintBlack: base.blackAlpha[12],
798
- shapeConstFaintBlackHover: base.blackAlpha[16],
799
- shapeConstFaintBlackPressed: base.blackAlpha[24],
800
- shapeConstFaintWhite: base.whiteAlpha[12],
801
- shapeConstFaintWhiteHover: base.whiteAlpha[16],
802
- shapeConstFaintWhitePressed: base.whiteAlpha[8],
803
- shapeConstHeavyBlack: base.blackAlpha[80],
804
- shapeConstHeavyBlackHover: base.blackAlpha[88],
805
- shapeConstHeavyBlackPressed: base.blackAlpha[64],
806
- shapeConstHeavyWhite: base.whiteAlpha[96],
807
- shapeConstHeavyWhiteHover: base.gray[100],
808
- shapeConstHeavyWhitePressed: base.whiteAlpha[64],
809
- shapeConstPaleBlack: base.blackAlpha[16],
810
- shapeConstPaleBlackHover: base.blackAlpha[24],
811
- shapeConstPaleBlackPressed: base.blackAlpha[32],
812
- shapeConstPaleWhite: base.whiteAlpha[16],
813
- shapeConstPaleWhiteHover: base.whiteAlpha[24],
814
- shapeConstPaleWhitePressed: base.whiteAlpha[12],
815
- shapeConstPromo: base.brand.promo,
816
- shapeConstSoftBlack: base.blackAlpha[24],
817
- shapeConstSoftBlackHover: base.blackAlpha[32],
818
- shapeConstSoftBlackPressed: base.blackAlpha[40],
819
- shapeConstSoftWhite: base.whiteAlpha[24],
820
- shapeConstSoftWhiteHover: base.whiteAlpha[32],
821
- shapeConstSoftWhitePressed: base.whiteAlpha[24],
822
- lineAccentBold: ((_101 = base.accent) === null || _101 === void 0 ? void 0 : _101.original.dark) || base.gray[88],
823
- lineAccentBoldHover:
824
- ((_102 = base.accent) === null || _102 === void 0 ? void 0 : _102.interactions.hover.dark) || base.gray[100],
825
- lineAccentBoldPressed:
826
- ((_103 = base.accent) === null || _103 === void 0 ? void 0 : _103.interactions.pressed.dark) ||
827
- base.whiteAlpha[64],
828
- lineAccentPale:
829
- ((_105 = (_104 = base.accent) === null || _104 === void 0 ? void 0 : _104.palette) === null || _105 === void 0
830
- ? void 0
831
- : _105.dim[40]) || base.whiteAlpha[24],
832
- lineAccentPaleHover:
833
- ((_107 = (_106 = base.accent) === null || _106 === void 0 ? void 0 : _106.palette) === null || _107 === void 0
834
- ? void 0
835
- : _107.dim[44]) || base.whiteAlpha[32],
836
- lineAccentPalePressed:
837
- ((_109 = (_108 = base.accent) === null || _108 === void 0 ? void 0 : _108.palette) === null || _109 === void 0
838
- ? void 0
839
- : _109.dim[36]) || base.whiteAlpha[16],
840
- lineAccentSoft:
841
- ((_111 = (_110 = base.accent) === null || _110 === void 0 ? void 0 : _110.palette) === null || _111 === void 0
842
- ? void 0
843
- : _111.dim[48]) || base.whiteAlpha[48],
844
- lineAccentSoftHover:
845
- ((_113 = (_112 = base.accent) === null || _112 === void 0 ? void 0 : _112.palette) === null || _113 === void 0
846
- ? void 0
847
- : _113.vivid[80]) || base.gray[100],
848
- lineAccentSoftPressed:
849
- ((_115 = (_114 = base.accent) === null || _114 === void 0 ? void 0 : _114.palette) === null || _115 === void 0
850
- ? void 0
851
- : _115.dim[64]) || base.gray[100],
852
- lineBrandOriginal: base.brand.original,
853
- lineErrorBold: base.customizable.red.vivid[60],
854
- lineErrorBoldHover: base.customizable.red.vivid[68],
855
- lineErrorBoldPressed: base.customizable.red.dim[56],
856
- lineNeutralFaint: base.whiteAlpha[8],
857
- lineNeutralPale: base.whiteAlpha[16],
858
- lineNeutralPaleHover: base.whiteAlpha[24],
859
- lineNeutralPalePressed: base.whiteAlpha[12],
860
- lineOnAccentBoldFaint:
861
- ((_116 = base.onAccent) === null || _116 === void 0 ? void 0 : _116[12]) || base.blackAlpha[12],
862
- lineOnAccentBoldPale:
863
- ((_117 = base.onAccent) === null || _117 === void 0 ? void 0 : _117[24]) || base.blackAlpha[24],
864
- lineOnBrandOriginalFaint: base.onBrand[12],
865
- lineOnBrandOriginalPale: base.onBrand[24],
866
- lineSuccessBold: base.customizable.green.vivid[60],
867
- lineSuccessBoldHover: base.customizable.green.vivid[68],
868
- lineSuccessBoldPressed: base.customizable.green.dim[56],
869
- lineWarningBold: base.warning.vivid[80],
870
- lineWarningBoldHover: base.warning.vivid[84],
871
- lineWarningBoldPressed: base.warning.dim[72],
872
- lineInvertedAccentBold:
873
- ((_118 = base.accent) === null || _118 === void 0 ? void 0 : _118.original.light) || base.gray[44],
874
- lineInvertedAccentBoldHover:
875
- ((_119 = base.accent) === null || _119 === void 0 ? void 0 : _119.interactions.hover.light) || base.gray[20],
876
- lineInvertedAccentBoldPressed:
877
- ((_120 = base.accent) === null || _120 === void 0 ? void 0 : _120.interactions.pressed.light) ||
878
- base.blackAlpha[64],
879
- lineInvertedAccentPale:
880
- ((_122 = (_121 = base.accent) === null || _121 === void 0 ? void 0 : _121.palette) === null || _122 === void 0
881
- ? void 0
882
- : _122.normal[84]) || base.blackAlpha[24],
883
- lineInvertedAccentPaleHover:
884
- ((_124 = (_123 = base.accent) === null || _123 === void 0 ? void 0 : _123.palette) === null || _124 === void 0
885
- ? void 0
886
- : _124.normal[80]) || base.blackAlpha[32],
887
- lineInvertedAccentPalePressed:
888
- ((_126 = (_125 = base.accent) === null || _125 === void 0 ? void 0 : _125.palette) === null || _126 === void 0
889
- ? void 0
890
- : _126.dim[76]) || base.blackAlpha[40],
891
- lineInvertedAccentSoft:
892
- ((_128 = (_127 = base.accent) === null || _127 === void 0 ? void 0 : _127.palette) === null || _128 === void 0
893
- ? void 0
894
- : _128.dim[76]) || base.blackAlpha[48],
895
- lineInvertedAccentSoftHover:
896
- ((_130 = (_129 = base.accent) === null || _129 === void 0 ? void 0 : _129.palette) === null || _130 === void 0
897
- ? void 0
898
- : _130.vivid[60]) || base.blackAlpha[96],
899
- lineInvertedAccentSoftPressed:
900
- ((_132 = (_131 = base.accent) === null || _131 === void 0 ? void 0 : _131.palette) === null || _132 === void 0
901
- ? void 0
902
- : _132.dim[48]) || base.blackAlpha[96],
903
- lineInvertedErrorBold: base.customizable.red.vivid[56],
904
- lineInvertedErrorBoldHover: base.customizable.red.vivid[64],
905
- lineInvertedErrorBoldPressed: base.customizable.red.dim[52],
906
- lineInvertedNeutralFaint: base.blackAlpha[8],
907
- lineInvertedNeutralPale: base.blackAlpha[16],
908
- lineInvertedNeutralPaleHover: base.blackAlpha[24],
909
- lineInvertedNeutralPalePressed: base.blackAlpha[32],
910
- lineInvertedSuccessBold: base.customizable.green.vivid[56],
911
- lineInvertedSuccessBoldHover: base.customizable.green.vivid[68],
912
- lineInvertedSuccessBoldPressed: base.customizable.green.dim[56],
913
- lineInvertedWarningBold: base.warning.vivid[80],
914
- lineInvertedWarningBoldHover: base.warning.vivid[72],
915
- lineInvertedWarningBoldPressed: base.warning.dim[68],
916
- lineConstFaintBlack: base.blackAlpha[12],
917
- lineConstFaintWhite: base.whiteAlpha[12],
918
- lineConstPaleBlack: base.blackAlpha[24],
919
- lineConstPaleBlackHover: base.blackAlpha[32],
920
- lineConstPaleBlackPressed: base.blackAlpha[16],
921
- lineConstPaleWhite: base.whiteAlpha[24],
922
- lineConstPaleWhiteHover: base.whiteAlpha[32],
923
- lineConstPaleWhitePressed: base.whiteAlpha[16],
924
- surfaceBase: base.gray[28],
925
- surfaceHigh: base.gray[32],
926
- surfaceLow: base.gray[24],
927
- surfaceModalBackdrop: base.blackAlpha[40],
928
- illustrationBlack: base.gray[16],
929
- illustrationBrand: base.brand.original,
930
- illustrationComplement: base.gray[100],
931
- illustrationInvertedNeutral: base.gray[0],
932
- illustrationNeutral: base.gray[100],
933
- illustrationOnBrand: base.onBrand[100],
934
- illustrationOnComplement: base.brand.promo,
935
- illustrationPromo: base.brand.promo,
936
- illustrationSymbol: (_133 = base.brand.palette) === null || _133 === void 0 ? void 0 : _133.normal[80],
937
- illustrationWhite: base.gray[100],
938
- customizableBoldBlack: base.gray[76],
939
- customizableBoldBlue: base.customizable.blue.normal[64],
940
- customizableBoldBlueDeep: base.customizable.blueDeep.vivid[64],
941
- customizableBoldGray: base.gray[52],
942
- customizableBoldGreen: base.customizable.green.normal[64],
943
- customizableBoldMint: base.customizable.mint.normal[64],
944
- customizableBoldOrange: base.customizable.orange.normal[64],
945
- customizableBoldPurple: base.customizable.purple.normal[64],
946
- customizableBoldRed: base.customizable.red.normal[64],
947
- customizableBoldViolet: base.customizable.violet.normal[64],
948
- customizableBoldYellow: base.customizable.yellow.vivid[72],
949
- customizableFaintBlack: base.gray[40],
950
- customizableFaintBlue: base.customizable.blue.dim[32],
951
- customizableFaintBlueDeep: base.customizable.blueDeep.dim[32],
952
- customizableFaintGray: base.gray[32],
953
- customizableFaintGreen: base.customizable.green.dim[32],
954
- customizableFaintMint: base.customizable.mint.dim[32],
955
- customizableFaintOrange: base.customizable.orange.dim[32],
956
- customizableFaintPurple: base.customizable.purple.dim[32],
957
- customizableFaintRed: base.customizable.red.dim[32],
958
- customizableFaintViolet: base.customizable.violet.dim[32],
959
- customizableFaintYellow: base.customizable.yellow.dim[32],
960
- customizableHeavyBlack: base.gray[96],
961
- customizableHeavyBlue: base.customizable.blue.vivid[80],
962
- customizableHeavyBlueDeep: base.customizable.blueDeep.vivid[76],
963
- customizableHeavyGray: base.gray[60],
964
- customizableHeavyGreen: base.customizable.green.vivid[84],
965
- customizableHeavyMint: base.customizable.mint.vivid[88],
966
- customizableHeavyOrange: base.customizable.orange.vivid[76],
967
- customizableHeavyPurple: base.customizable.purple.vivid[80],
968
- customizableHeavyRed: base.customizable.red.vivid[76],
969
- customizableHeavyViolet: base.customizable.violet.vivid[76],
970
- customizableHeavyYellow: base.customizable.yellow.vivid[84],
971
- customizablePaleBlack: base.gray[44],
972
- customizablePaleBlue: base.customizable.blue.dim[36],
973
- customizablePaleBlueDeep: base.customizable.blueDeep.dim[36],
974
- customizablePaleGray: base.gray[36],
975
- customizablePaleGreen: base.customizable.green.dim[36],
976
- customizablePaleMint: base.customizable.mint.dim[36],
977
- customizablePaleOrange: base.customizable.orange.dim[36],
978
- customizablePalePurple: base.customizable.purple.dim[36],
979
- customizablePaleRed: base.customizable.red.dim[36],
980
- customizablePaleViolet: base.customizable.violet.dim[36],
981
- customizablePaleYellow: base.customizable.yellow.dim[36],
982
- customizableSoftBlack: base.gray[56],
983
- customizableSoftBlue: base.customizable.blue.dim[48],
984
- customizableSoftBlueDeep: base.customizable.blueDeep.dim[48],
985
- customizableSoftGray: base.gray[44],
986
- customizableSoftGreen: base.customizable.green.dim[48],
987
- customizableSoftMint: base.customizable.mint.dim[48],
988
- customizableSoftOrange: base.customizable.orange.dim[48],
989
- customizableSoftPurple: base.customizable.purple.dim[48],
990
- customizableSoftRed: base.customizable.red.dim[48],
991
- customizableSoftViolet: base.customizable.violet.dim[48],
992
- customizableSoftYellow: base.customizable.yellow.dim[52],
993
- },
994
- };
995
- };
996
- exports.getDefaultTokens = getDefaultTokens;