@evolve.ui/theme-system 1.0.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.
Files changed (84) hide show
  1. package/allThemes-CFS_9-tk.cjs +34 -0
  2. package/allThemes-CFS_9-tk.cjs.map +1 -0
  3. package/allThemes-OV-ayn4C.mjs +17 -0
  4. package/allThemes-OV-ayn4C.mjs.map +1 -0
  5. package/allThemes.cjs +6 -0
  6. package/allThemes.d.cts +11 -0
  7. package/allThemes.d.cts.map +1 -0
  8. package/allThemes.d.mts +11 -0
  9. package/allThemes.d.mts.map +1 -0
  10. package/allThemes.mjs +2 -0
  11. package/brands-n30rolHQ.d.cts +33 -0
  12. package/brands-n30rolHQ.d.cts.map +1 -0
  13. package/brands-n30rolHQ.d.mts +33 -0
  14. package/brands-n30rolHQ.d.mts.map +1 -0
  15. package/brands.cjs +41 -0
  16. package/brands.cjs.map +1 -0
  17. package/brands.d.cts +2 -0
  18. package/brands.d.mts +2 -0
  19. package/brands.mjs +35 -0
  20. package/brands.mjs.map +1 -0
  21. package/cn.cjs +43 -0
  22. package/cn.cjs.map +1 -0
  23. package/cn.d.cts +36 -0
  24. package/cn.d.cts.map +1 -0
  25. package/cn.d.mts +36 -0
  26. package/cn.d.mts.map +1 -0
  27. package/cn.mjs +39 -0
  28. package/cn.mjs.map +1 -0
  29. package/css/BasketballTraining.css +377 -0
  30. package/css/Default.css +377 -0
  31. package/css/ProfessionalBrand.css +377 -0
  32. package/default-B2n4PnsJ.mjs +914 -0
  33. package/default-B2n4PnsJ.mjs.map +1 -0
  34. package/default-b-tgfyxR.cjs +956 -0
  35. package/default-b-tgfyxR.cjs.map +1 -0
  36. package/fontFamily-BBoee6cS.cjs +85 -0
  37. package/fontFamily-BBoee6cS.cjs.map +1 -0
  38. package/fontFamily-DTm-Yz5-.mjs +31 -0
  39. package/fontFamily-DTm-Yz5-.mjs.map +1 -0
  40. package/index.cjs +249 -0
  41. package/index.cjs.map +1 -0
  42. package/index.d.cts +516 -0
  43. package/index.d.cts.map +1 -0
  44. package/index.d.mts +516 -0
  45. package/index.d.mts.map +1 -0
  46. package/index.mjs +28 -0
  47. package/index.mjs.map +1 -0
  48. package/package.json +53 -0
  49. package/plugin-D4eCyUJe.mjs +583 -0
  50. package/plugin-D4eCyUJe.mjs.map +1 -0
  51. package/plugin-DPtvp4lp.cjs +601 -0
  52. package/plugin-DPtvp4lp.cjs.map +1 -0
  53. package/spacing-B2mhXYOl.cjs +1446 -0
  54. package/spacing-B2mhXYOl.cjs.map +1 -0
  55. package/spacing-D43IZfIU.mjs +289 -0
  56. package/spacing-D43IZfIU.mjs.map +1 -0
  57. package/tailwind/plugin.cjs +6 -0
  58. package/tailwind/plugin.d.cts +18 -0
  59. package/tailwind/plugin.d.cts.map +1 -0
  60. package/tailwind/plugin.d.mts +18 -0
  61. package/tailwind/plugin.d.mts.map +1 -0
  62. package/tailwind/plugin.mjs +2 -0
  63. package/tailwind.config.cjs +2 -0
  64. package/tailwind.config.mjs +2 -0
  65. package/themes/common.cjs +68 -0
  66. package/themes/common.cjs.map +1 -0
  67. package/themes/common.d.cts +58 -0
  68. package/themes/common.d.cts.map +1 -0
  69. package/themes/common.d.mts +58 -0
  70. package/themes/common.d.mts.map +1 -0
  71. package/themes/common.mjs +61 -0
  72. package/themes/common.mjs.map +1 -0
  73. package/themes/runtime/default.cjs +6 -0
  74. package/themes/runtime/default.d.cts +7 -0
  75. package/themes/runtime/default.d.cts.map +1 -0
  76. package/themes/runtime/default.d.mts +7 -0
  77. package/themes/runtime/default.d.mts.map +1 -0
  78. package/themes/runtime/default.mjs +2 -0
  79. package/themes/themeType.cjs +0 -0
  80. package/themes/themeType.d.cts +284 -0
  81. package/themes/themeType.d.cts.map +1 -0
  82. package/themes/themeType.d.mts +284 -0
  83. package/themes/themeType.d.mts.map +1 -0
  84. package/themes/themeType.mjs +1 -0
@@ -0,0 +1,914 @@
1
+ import { $ as colorIconPrimary, $n as fontWeightLabelMini, $t as colorSurface100, A as colorBorderInverse, An as colorWarning300, At as colorPrimary700, B as colorCritical400, C as colorBackgroundWarningDark, Cn as colorTextInverse, Cr as textTransformButton, D as colorBorderDisabled, Dn as colorTextWarning, E as colorBorderCritical, En as colorTextSuccess, F as colorBorderTertiary, Gn as fontWeightButton, Gt as colorSuccess300, H as colorCritical500, Hn as fontSizeButton200, I as colorBorderWarning, In as colorWarning800, J as colorFocusPrimary, Jn as fontWeightH2, Kn as fontWeightCaption, Lt as colorSecondary50, M as colorBorderSecondary, Mn as colorWarning50, Mt as colorPrimary900, N as colorBorderSelected, Nn as colorWarning500, O as colorBorderHover, Or as wrapOpacity, Ot as colorPrimary500, P as colorBorderSuccess, Pn as colorWarning600, Q as colorIconInverse, Qn as fontWeightH6, Qt as colorSuccess900, S as colorBackgroundTertiary, Sn as colorTextInfo, Sr as shadow05, St as colorLinkSecondary, T as colorBorderBlack, Tn as colorTextSecondary, Tr as textTransformLabelMini, Un as fontWeightBodyPrimary, V as colorCritical50, Vn as fontSizeButton100, Wn as fontWeightBodySecondary, X as colorIconDisabled, Xn as fontWeightH4, Xt as colorSuccess700, Y as colorIconCritical, Yn as fontWeightH3, Z as colorIconInfo, Zn as fontWeightH5, _ as colorBackgroundPrimary, _t as colorLinkInverseHover, a as checkboxBorderRadius, ar as letterSpacingCaption, b as colorBackgroundSuccessDark, bn as colorTextDisabled, br as shadow03, bt as colorLinkPressed, c as colorBackgroundDisabled, cn as colorSurface900, cr as letterSpacingH2, d as colorBackgroundInfoDark, dr as letterSpacingH3Mobile, en as colorSurface200, er as fontWeightLabelStrong, et as colorIconSecondary, f as colorBackgroundInfoLight, fr as letterSpacingH4, g as colorBackgroundPressedInverse, gr as letterSpacingLabelStrong, h as colorBackgroundPressed, hr as letterSpacingLabelMini, ht as colorLinkInverse, i as buttonBorderRadius, in as colorSurface500, ir as letterSpacingButton, j as colorBorderPrimary, k as colorBorderInfo, kr as wrapVar, l as colorBackgroundHover, lr as letterSpacingH2Mobile, lt as colorInfo600, mr as letterSpacingH6, mt as colorLinkHover, nr as letterSpacingBodyPrimary, nt as colorIconWarning, o as colorBackgroundCriticalDark, or as letterSpacingH1, ot as colorInfo400, p as colorBackgroundInverse, pn as colorTertiary50, pr as letterSpacingH5, pt as colorLinkDisabled, q as colorFocusInverse, qn as fontWeightH1, qt as colorSuccess50, rn as colorSurface50, rr as letterSpacingBodySecondary, s as colorBackgroundCriticalLight, sr as letterSpacingH1Mobile, st as colorInfo50, tn as colorSurface300, tr as inputBorderRadius, tt as colorIconSuccess, u as colorBackgroundHoverInverse, ur as letterSpacingH3, ut as colorInfo700, v as colorBackgroundSecondary, vr as shadow01, vt as colorLinkInversePressed, w as colorBackgroundWarningLight, wn as colorTextPrimary, wr as textTransformH6, x as colorBackgroundSuccessLight, xn as colorTextInactive, xr as shadow04, xt as colorLinkPrimary, y as colorBackgroundSubdued, yn as colorTextCritical, yr as shadow02, yt as colorLinkMonochrome } from "./spacing-D43IZfIU.mjs";
2
+ import { n as boxShadow, t as fontFamily } from "./fontFamily-DTm-Yz5-.mjs";
3
+ import { breakpoints, radius, spacing, width } from "./themes/common.mjs";
4
+ import tinycolor from "tinycolor2";
5
+ //#region \0rolldown/runtime.js
6
+ var __defProp = Object.defineProperty;
7
+ var __exportAll = (all, no_symbols) => {
8
+ let target = {};
9
+ for (var name in all) __defProp(target, name, {
10
+ get: all[name],
11
+ enumerable: true
12
+ });
13
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
14
+ return target;
15
+ };
16
+ //#endregion
17
+ //#region src/utils/color.ts
18
+ const lighten = (percentAsInt, unprocessedColor) => {
19
+ const color = tinycolor(unprocessedColor);
20
+ const amount = percentAsInt * ((1 - color.toHsl().l) * 100) / 100;
21
+ return color.lighten(amount);
22
+ };
23
+ const darken = (percentAsInt, unprocessedColor) => {
24
+ const color = tinycolor(unprocessedColor);
25
+ const amount = percentAsInt * (color.toHsl().l * 100) / 100;
26
+ return color.darken(amount);
27
+ };
28
+ const removeRGB = (color) => color.replace(/rgb\(|,|\)/g, "");
29
+ /**
30
+ * Generate a set of color steps from a base color. Base color becomes 500.
31
+ *
32
+ * @param color The color to generate the steps from
33
+ * @returns An array of 50, 100, 200, 300, 400, 500, 600, 700, 800, 900 color values.
34
+ */
35
+ const generateNormalColorSteps = (color) => {
36
+ return [
37
+ removeRGB(lighten(95, color).toRgbString()),
38
+ removeRGB(lighten(85, color).toRgbString()),
39
+ removeRGB(lighten(70, color).toRgbString()),
40
+ removeRGB(lighten(40, color).toRgbString()),
41
+ removeRGB(lighten(20, color).toRgbString()),
42
+ removeRGB(tinycolor(color).toRgbString()),
43
+ removeRGB(darken(20, color).toRgbString()),
44
+ removeRGB(darken(40, color).toRgbString()),
45
+ removeRGB(darken(50, color).toRgbString()),
46
+ removeRGB(darken(70, color).toRgbString())
47
+ ];
48
+ };
49
+ /**
50
+ * Generate a set of color steps from a base color. Base color becomes 500.
51
+ *
52
+ * @param color The color to generate the steps from
53
+ * @param isNeutral Whether the color is a neutral color to make surface-50 true white
54
+ * @returns An array of 50, 100, 200, 300, 400, 500, 600, 700, 800, 900 color values.
55
+ */
56
+ const generateSurfaceColorSteps = (color, isNeutral = false) => {
57
+ return [
58
+ removeRGB(lighten(isNeutral ? 100 : 99, color).toRgbString()),
59
+ removeRGB(lighten(95, color).toRgbString()),
60
+ removeRGB(lighten(80, color).toRgbString()),
61
+ removeRGB(lighten(50, color).toRgbString()),
62
+ removeRGB(lighten(30, color).toRgbString()),
63
+ removeRGB(tinycolor(color).toRgbString()),
64
+ removeRGB(darken(20, color).toRgbString()),
65
+ removeRGB(darken(40, color).toRgbString()),
66
+ removeRGB(darken(50, color).toRgbString()),
67
+ removeRGB(darken(70, color).toRgbString())
68
+ ];
69
+ };
70
+ const steps = [
71
+ "50",
72
+ "100",
73
+ "200",
74
+ "300",
75
+ "400",
76
+ "500",
77
+ "600",
78
+ "700",
79
+ "800",
80
+ "900"
81
+ ];
82
+ const colorStepArrayToObject = (colorStepArray) => {
83
+ return {
84
+ "100": colorStepArray[1],
85
+ "200": colorStepArray[2],
86
+ "300": colorStepArray[3],
87
+ "400": colorStepArray[4],
88
+ "50": colorStepArray[0],
89
+ "500": colorStepArray[5],
90
+ "600": colorStepArray[6],
91
+ "700": colorStepArray[7],
92
+ "800": colorStepArray[8],
93
+ "900": colorStepArray[9]
94
+ };
95
+ };
96
+ //#endregion
97
+ //#region src/themes/BasketballTraining.ts
98
+ var BasketballTraining_exports = /* @__PURE__ */ __exportAll({
99
+ colorAliases: () => colorAliases$2,
100
+ coreColors: () => coreColors$2,
101
+ nonColorVariables: () => nonColorVariables$2
102
+ });
103
+ const coreColors$2 = {
104
+ amber: colorStepArrayToObject(generateNormalColorSteps("#B45309")),
105
+ blue: colorStepArrayToObject(generateNormalColorSteps("#0369A1")),
106
+ green: colorStepArrayToObject(generateNormalColorSteps("#15803D")),
107
+ neutral: colorStepArrayToObject(generateSurfaceColorSteps("#5D564F", true)),
108
+ orange: colorStepArrayToObject(generateNormalColorSteps("#C2410C")),
109
+ red: colorStepArrayToObject(generateNormalColorSteps("#CC2B20")),
110
+ teal: colorStepArrayToObject(generateNormalColorSteps("#1E3A5F")),
111
+ violet: colorStepArrayToObject(generateNormalColorSteps("#0F766E"))
112
+ };
113
+ const colorAliases$2 = {
114
+ critical: coreColors$2.red,
115
+ info: coreColors$2.blue,
116
+ primary: coreColors$2.orange,
117
+ secondary: coreColors$2.teal,
118
+ success: coreColors$2.green,
119
+ surface: coreColors$2.neutral,
120
+ tertiary: coreColors$2.violet,
121
+ warning: coreColors$2.amber
122
+ };
123
+ const nonColorVariables$2 = {
124
+ "--box-shadow-01": `0px 4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
125
+ "--box-shadow-02": `0px 1px 4px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 1px 8px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
126
+ "--box-shadow-03": `0px 2px 8px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 4px 16px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
127
+ "--box-shadow-04": `0px 3px 12px ${wrapOpacity(wrapVar(colorSurface500), 50)}, 0px 6px 24px ${wrapOpacity(wrapVar(colorSurface300), 50)}`,
128
+ "--box-shadow-05": `0px -4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
129
+ "--button-border-radius": "8px",
130
+ "--checkbox-border-radius": "4px",
131
+ "--color-background-critical-dark": wrapVar(colorCritical500),
132
+ "--color-background-critical-light": wrapVar(colorCritical50),
133
+ "--color-background-disabled": wrapVar(colorSurface200),
134
+ "--color-background-hover": wrapVar(colorSurface900),
135
+ "--color-background-hover-inverse": wrapVar(colorSurface50),
136
+ "--color-background-info-dark": wrapVar(colorInfo600),
137
+ "--color-background-info-light": wrapVar(colorInfo50),
138
+ "--color-background-inverse": wrapVar(colorPrimary900),
139
+ "--color-background-overlay": wrapVar(colorSurface900),
140
+ "--color-background-pressed": wrapVar(colorSurface900),
141
+ "--color-background-pressed-inverse": wrapVar(colorSurface50),
142
+ "--color-background-primary": wrapVar(colorSurface50),
143
+ "--color-background-secondary": wrapVar(colorSecondary50),
144
+ "--color-background-subdued": wrapVar(colorSurface100),
145
+ "--color-background-success-dark": wrapVar(colorSuccess900),
146
+ "--color-background-success-light": wrapVar(colorSuccess50),
147
+ "--color-background-tertiary": wrapVar(colorTertiary50),
148
+ "--color-background-warning-dark": wrapVar(colorWarning500),
149
+ "--color-background-warning-light": wrapVar(colorWarning50),
150
+ "--color-border-black": wrapVar(colorSurface900),
151
+ "--color-border-critical": wrapVar(colorCritical400),
152
+ "--color-border-disabled": wrapVar(colorSurface300),
153
+ "--color-border-hover": wrapVar(colorPrimary700),
154
+ "--color-border-info": wrapVar(colorInfo400),
155
+ "--color-border-inverse": wrapVar(colorSurface50),
156
+ "--color-border-primary": wrapVar(colorSurface300),
157
+ "--color-border-secondary": wrapVar(colorSurface200),
158
+ "--color-border-selected": wrapVar(colorPrimary500),
159
+ "--color-border-success": wrapVar(colorSuccess300),
160
+ "--color-border-tertiary": wrapVar(colorSurface100),
161
+ "--color-border-warning": wrapVar(colorWarning300),
162
+ "--color-focus-inverse": wrapVar(colorSurface50),
163
+ "--color-focus-primary": wrapVar(colorPrimary500),
164
+ "--color-icon-critical": wrapVar(colorCritical400),
165
+ "--color-icon-disabled": wrapVar(colorSurface300),
166
+ "--color-icon-info": wrapVar(colorInfo400),
167
+ "--color-icon-inverse": wrapVar(colorSurface50),
168
+ "--color-icon-primary": wrapVar(colorSurface500),
169
+ "--color-icon-secondary": wrapVar(colorPrimary500),
170
+ "--color-icon-success": wrapVar(colorSuccess700),
171
+ "--color-icon-warning": wrapVar(colorWarning600),
172
+ "--color-link-disabled": wrapVar(colorSurface300),
173
+ "--color-link-hover": wrapVar(colorPrimary700),
174
+ "--color-link-inverse": wrapVar(colorSurface50),
175
+ "--color-link-inverse-disabled": wrapVar(colorSurface300),
176
+ "--color-link-inverse-hover": wrapVar(colorSurface100),
177
+ "--color-link-inverse-pressed": wrapVar(colorSurface200),
178
+ "--color-link-monochrome": wrapVar(colorSurface900),
179
+ "--color-link-pressed": wrapVar(colorPrimary900),
180
+ "--color-link-primary": wrapVar(colorPrimary500),
181
+ "--color-link-secondary": wrapVar(colorSurface500),
182
+ "--color-text-critical": wrapVar(colorCritical500),
183
+ "--color-text-disabled": wrapVar(colorSurface300),
184
+ "--color-text-inactive": wrapVar(colorSurface300),
185
+ "--color-text-info": wrapVar(colorInfo700),
186
+ "--color-text-inverse": wrapVar(colorSurface50),
187
+ "--color-text-primary": wrapVar(colorSurface900),
188
+ "--color-text-secondary": wrapVar(colorSurface500),
189
+ "--color-text-success": wrapVar(colorSuccess900),
190
+ "--color-text-warning": wrapVar(colorWarning800),
191
+ "--container-border-radius": "12px",
192
+ "--font-family-primary": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
193
+ "--font-family-secondary": "'Georgia', serif",
194
+ "--font-size-button-100": "14px",
195
+ "--font-size-button-200": "12px",
196
+ "--font-weight-body-primary": "400",
197
+ "--font-weight-body-secondary": "400",
198
+ "--font-weight-button": "600",
199
+ "--font-weight-caption": "400",
200
+ "--font-weight-h1": "400",
201
+ "--font-weight-h2": "400",
202
+ "--font-weight-h3": "400",
203
+ "--font-weight-h4": "400",
204
+ "--font-weight-h5": "600",
205
+ "--font-weight-h6": "600",
206
+ "--font-weight-label-mini": "400",
207
+ "--font-weight-label-strong": "600",
208
+ "--input-border-radius": "6px",
209
+ "--letter-spacing-body-primary": "0.2px",
210
+ "--letter-spacing-body-secondary": "0.2px",
211
+ "--letter-spacing-button": "1px",
212
+ "--letter-spacing-caption": "0.2px",
213
+ "--letter-spacing-h1": "0.2px",
214
+ "--letter-spacing-h1-mobile": "0.2px",
215
+ "--letter-spacing-h2": "0.2px",
216
+ "--letter-spacing-h2-mobile": "0.2px",
217
+ "--letter-spacing-h3": "0.2px",
218
+ "--letter-spacing-h3-mobile": "0.2px",
219
+ "--letter-spacing-h4": "0.2px",
220
+ "--letter-spacing-h5": "0.2px",
221
+ "--letter-spacing-h6": "1px",
222
+ "--letter-spacing-label-mini": "1px",
223
+ "--letter-spacing-label-strong": "0.2px",
224
+ "--search-input-border-radius": "24px",
225
+ "--text-transform-button": "uppercase",
226
+ "--text-transform-h6": "uppercase",
227
+ "--text-transform-label-mini": "uppercase",
228
+ "--width-dense": "1200px",
229
+ "--width-page": "1644px"
230
+ };
231
+ //#endregion
232
+ //#region src/themes/Default.ts
233
+ var Default_exports = /* @__PURE__ */ __exportAll({
234
+ colorAliases: () => colorAliases$1,
235
+ coreColors: () => coreColors$1,
236
+ nonColorVariables: () => nonColorVariables$1
237
+ });
238
+ const coreColors$1 = {
239
+ amber: colorStepArrayToObject(generateNormalColorSteps("#D97706")),
240
+ blue: colorStepArrayToObject(generateNormalColorSteps("#2563EB")),
241
+ gray: colorStepArrayToObject(generateNormalColorSteps("#33415C")),
242
+ green: colorStepArrayToObject(generateNormalColorSteps("#16A34A")),
243
+ neutral: colorStepArrayToObject(generateSurfaceColorSteps("#555E6B", true)),
244
+ red: colorStepArrayToObject(generateNormalColorSteps("#D92525")),
245
+ stone: colorStepArrayToObject(generateNormalColorSteps("#6E6259")),
246
+ zinc: colorStepArrayToObject(generateNormalColorSteps("#5C6470"))
247
+ };
248
+ const colorAliases$1 = {
249
+ critical: coreColors$1.red,
250
+ info: coreColors$1.blue,
251
+ primary: coreColors$1.gray,
252
+ secondary: coreColors$1.zinc,
253
+ success: coreColors$1.green,
254
+ surface: coreColors$1.neutral,
255
+ tertiary: coreColors$1.stone,
256
+ warning: coreColors$1.amber
257
+ };
258
+ const nonColorVariables$1 = {
259
+ "--box-shadow-01": `0px 4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
260
+ "--box-shadow-02": `0px 1px 4px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 1px 8px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
261
+ "--box-shadow-03": `0px 2px 8px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 4px 16px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
262
+ "--box-shadow-04": `0px 3px 12px ${wrapOpacity(wrapVar(colorSurface500), 50)}, 0px 6px 24px ${wrapOpacity(wrapVar(colorSurface300), 50)}`,
263
+ "--box-shadow-05": `0px -4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
264
+ "--button-border-radius": "8px",
265
+ "--checkbox-border-radius": "4px",
266
+ "--color-background-critical-dark": wrapVar(colorCritical500),
267
+ "--color-background-critical-light": wrapVar(colorCritical50),
268
+ "--color-background-disabled": wrapVar(colorSurface200),
269
+ "--color-background-hover": wrapVar(colorSurface900),
270
+ "--color-background-hover-inverse": wrapVar(colorSurface50),
271
+ "--color-background-info-dark": wrapVar(colorInfo600),
272
+ "--color-background-info-light": wrapVar(colorInfo50),
273
+ "--color-background-inverse": wrapVar(colorPrimary900),
274
+ "--color-background-overlay": wrapVar(colorSurface900),
275
+ "--color-background-pressed": wrapVar(colorSurface900),
276
+ "--color-background-pressed-inverse": wrapVar(colorSurface50),
277
+ "--color-background-primary": wrapVar(colorSurface50),
278
+ "--color-background-secondary": wrapVar(colorSecondary50),
279
+ "--color-background-subdued": wrapVar(colorSurface100),
280
+ "--color-background-success-dark": wrapVar(colorSuccess900),
281
+ "--color-background-success-light": wrapVar(colorSuccess50),
282
+ "--color-background-tertiary": wrapVar(colorTertiary50),
283
+ "--color-background-warning-dark": wrapVar(colorWarning500),
284
+ "--color-background-warning-light": wrapVar(colorWarning50),
285
+ "--color-border-black": wrapVar(colorSurface900),
286
+ "--color-border-critical": wrapVar(colorCritical400),
287
+ "--color-border-disabled": wrapVar(colorSurface300),
288
+ "--color-border-hover": wrapVar(colorPrimary700),
289
+ "--color-border-info": wrapVar(colorInfo400),
290
+ "--color-border-inverse": wrapVar(colorSurface50),
291
+ "--color-border-primary": wrapVar(colorSurface300),
292
+ "--color-border-secondary": wrapVar(colorSurface200),
293
+ "--color-border-selected": wrapVar(colorPrimary500),
294
+ "--color-border-success": wrapVar(colorSuccess300),
295
+ "--color-border-tertiary": wrapVar(colorSurface100),
296
+ "--color-border-warning": wrapVar(colorWarning300),
297
+ "--color-focus-inverse": wrapVar(colorSurface50),
298
+ "--color-focus-primary": wrapVar(colorPrimary500),
299
+ "--color-icon-critical": wrapVar(colorCritical400),
300
+ "--color-icon-disabled": wrapVar(colorSurface300),
301
+ "--color-icon-info": wrapVar(colorInfo400),
302
+ "--color-icon-inverse": wrapVar(colorSurface50),
303
+ "--color-icon-primary": wrapVar(colorSurface500),
304
+ "--color-icon-secondary": wrapVar(colorPrimary500),
305
+ "--color-icon-success": wrapVar(colorSuccess700),
306
+ "--color-icon-warning": wrapVar(colorWarning600),
307
+ "--color-link-disabled": wrapVar(colorSurface300),
308
+ "--color-link-hover": wrapVar(colorPrimary700),
309
+ "--color-link-inverse": wrapVar(colorSurface50),
310
+ "--color-link-inverse-disabled": wrapVar(colorSurface300),
311
+ "--color-link-inverse-hover": wrapVar(colorSurface100),
312
+ "--color-link-inverse-pressed": wrapVar(colorSurface200),
313
+ "--color-link-monochrome": wrapVar(colorSurface900),
314
+ "--color-link-pressed": wrapVar(colorPrimary900),
315
+ "--color-link-primary": wrapVar(colorPrimary500),
316
+ "--color-link-secondary": wrapVar(colorSurface500),
317
+ "--color-text-critical": wrapVar(colorCritical500),
318
+ "--color-text-disabled": wrapVar(colorSurface300),
319
+ "--color-text-inactive": wrapVar(colorSurface300),
320
+ "--color-text-info": wrapVar(colorInfo700),
321
+ "--color-text-inverse": wrapVar(colorSurface50),
322
+ "--color-text-primary": wrapVar(colorSurface900),
323
+ "--color-text-secondary": wrapVar(colorSurface500),
324
+ "--color-text-success": wrapVar(colorSuccess900),
325
+ "--color-text-warning": wrapVar(colorWarning800),
326
+ "--container-border-radius": "8px",
327
+ "--font-family-primary": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
328
+ "--font-family-secondary": "'Georgia', serif",
329
+ "--font-size-button-100": "14px",
330
+ "--font-size-button-200": "12px",
331
+ "--font-weight-body-primary": "400",
332
+ "--font-weight-body-secondary": "400",
333
+ "--font-weight-button": "600",
334
+ "--font-weight-caption": "400",
335
+ "--font-weight-h1": "400",
336
+ "--font-weight-h2": "400",
337
+ "--font-weight-h3": "400",
338
+ "--font-weight-h4": "400",
339
+ "--font-weight-h5": "600",
340
+ "--font-weight-h6": "600",
341
+ "--font-weight-label-mini": "400",
342
+ "--font-weight-label-strong": "600",
343
+ "--input-border-radius": "6px",
344
+ "--letter-spacing-body-primary": "0.2px",
345
+ "--letter-spacing-body-secondary": "0.2px",
346
+ "--letter-spacing-button": "1px",
347
+ "--letter-spacing-caption": "0.2px",
348
+ "--letter-spacing-h1": "0.2px",
349
+ "--letter-spacing-h1-mobile": "0.2px",
350
+ "--letter-spacing-h2": "0.2px",
351
+ "--letter-spacing-h2-mobile": "0.2px",
352
+ "--letter-spacing-h3": "0.2px",
353
+ "--letter-spacing-h3-mobile": "0.2px",
354
+ "--letter-spacing-h4": "0.2px",
355
+ "--letter-spacing-h5": "0.2px",
356
+ "--letter-spacing-h6": "1px",
357
+ "--letter-spacing-label-mini": "1px",
358
+ "--letter-spacing-label-strong": "0.2px",
359
+ "--search-input-border-radius": "24px",
360
+ "--text-transform-button": "uppercase",
361
+ "--text-transform-h6": "uppercase",
362
+ "--text-transform-label-mini": "uppercase",
363
+ "--width-dense": "1200px",
364
+ "--width-page": "1644px"
365
+ };
366
+ //#endregion
367
+ //#region src/themes/ProfessionalBrand.ts
368
+ var ProfessionalBrand_exports = /* @__PURE__ */ __exportAll({
369
+ colorAliases: () => colorAliases,
370
+ coreColors: () => coreColors,
371
+ nonColorVariables: () => nonColorVariables
372
+ });
373
+ const coreColors = {
374
+ amber: colorStepArrayToObject(generateNormalColorSteps("#B45309")),
375
+ blue: colorStepArrayToObject(generateNormalColorSteps("#1D4ED8")),
376
+ cyan: colorStepArrayToObject(generateNormalColorSteps("#0C6478")),
377
+ green: colorStepArrayToObject(generateNormalColorSteps("#047857")),
378
+ indigo: colorStepArrayToObject(generateNormalColorSteps("#4F46E5")),
379
+ neutral: colorStepArrayToObject(generateSurfaceColorSteps("#525B6E", true)),
380
+ red: colorStepArrayToObject(generateNormalColorSteps("#D42424")),
381
+ slate: colorStepArrayToObject(generateNormalColorSteps("#475569"))
382
+ };
383
+ const colorAliases = {
384
+ critical: coreColors.red,
385
+ info: coreColors.cyan,
386
+ primary: coreColors.blue,
387
+ secondary: coreColors.slate,
388
+ success: coreColors.green,
389
+ surface: coreColors.neutral,
390
+ tertiary: coreColors.indigo,
391
+ warning: coreColors.amber
392
+ };
393
+ const nonColorVariables = {
394
+ "--box-shadow-01": `0px 4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
395
+ "--box-shadow-02": `0px 1px 4px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 1px 8px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
396
+ "--box-shadow-03": `0px 2px 8px ${wrapOpacity(wrapVar(colorSurface300), 50)}, 0px 4px 16px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
397
+ "--box-shadow-04": `0px 3px 12px ${wrapOpacity(wrapVar(colorSurface500), 50)}, 0px 6px 24px ${wrapOpacity(wrapVar(colorSurface300), 50)}`,
398
+ "--box-shadow-05": `0px -4px 4px ${wrapOpacity(wrapVar(colorSurface200), 50)}`,
399
+ "--button-border-radius": "8px",
400
+ "--checkbox-border-radius": "4px",
401
+ "--color-background-critical-dark": wrapVar(colorCritical500),
402
+ "--color-background-critical-light": wrapVar(colorCritical50),
403
+ "--color-background-disabled": wrapVar(colorSurface200),
404
+ "--color-background-hover": wrapVar(colorSurface900),
405
+ "--color-background-hover-inverse": wrapVar(colorSurface50),
406
+ "--color-background-info-dark": wrapVar(colorInfo600),
407
+ "--color-background-info-light": wrapVar(colorInfo50),
408
+ "--color-background-inverse": wrapVar(colorPrimary900),
409
+ "--color-background-overlay": wrapVar(colorSurface900),
410
+ "--color-background-pressed": wrapVar(colorSurface900),
411
+ "--color-background-pressed-inverse": wrapVar(colorSurface50),
412
+ "--color-background-primary": wrapVar(colorSurface50),
413
+ "--color-background-secondary": wrapVar(colorSecondary50),
414
+ "--color-background-subdued": wrapVar(colorSurface100),
415
+ "--color-background-success-dark": wrapVar(colorSuccess900),
416
+ "--color-background-success-light": wrapVar(colorSuccess50),
417
+ "--color-background-tertiary": wrapVar(colorTertiary50),
418
+ "--color-background-warning-dark": wrapVar(colorWarning500),
419
+ "--color-background-warning-light": wrapVar(colorWarning50),
420
+ "--color-border-black": wrapVar(colorSurface900),
421
+ "--color-border-critical": wrapVar(colorCritical400),
422
+ "--color-border-disabled": wrapVar(colorSurface300),
423
+ "--color-border-hover": wrapVar(colorPrimary700),
424
+ "--color-border-info": wrapVar(colorInfo400),
425
+ "--color-border-inverse": wrapVar(colorSurface50),
426
+ "--color-border-primary": wrapVar(colorSurface300),
427
+ "--color-border-secondary": wrapVar(colorSurface200),
428
+ "--color-border-selected": wrapVar(colorPrimary500),
429
+ "--color-border-success": wrapVar(colorSuccess300),
430
+ "--color-border-tertiary": wrapVar(colorSurface100),
431
+ "--color-border-warning": wrapVar(colorWarning300),
432
+ "--color-focus-inverse": wrapVar(colorSurface50),
433
+ "--color-focus-primary": wrapVar(colorPrimary500),
434
+ "--color-icon-critical": wrapVar(colorCritical400),
435
+ "--color-icon-disabled": wrapVar(colorSurface300),
436
+ "--color-icon-info": wrapVar(colorInfo400),
437
+ "--color-icon-inverse": wrapVar(colorSurface50),
438
+ "--color-icon-primary": wrapVar(colorSurface500),
439
+ "--color-icon-secondary": wrapVar(colorPrimary500),
440
+ "--color-icon-success": wrapVar(colorSuccess700),
441
+ "--color-icon-warning": wrapVar(colorWarning600),
442
+ "--color-link-disabled": wrapVar(colorSurface300),
443
+ "--color-link-hover": wrapVar(colorPrimary700),
444
+ "--color-link-inverse": wrapVar(colorSurface50),
445
+ "--color-link-inverse-disabled": wrapVar(colorSurface300),
446
+ "--color-link-inverse-hover": wrapVar(colorSurface100),
447
+ "--color-link-inverse-pressed": wrapVar(colorSurface200),
448
+ "--color-link-monochrome": wrapVar(colorSurface900),
449
+ "--color-link-pressed": wrapVar(colorPrimary900),
450
+ "--color-link-primary": wrapVar(colorPrimary500),
451
+ "--color-link-secondary": wrapVar(colorSurface500),
452
+ "--color-text-critical": wrapVar(colorCritical500),
453
+ "--color-text-disabled": wrapVar(colorSurface300),
454
+ "--color-text-inactive": wrapVar(colorSurface300),
455
+ "--color-text-info": wrapVar(colorInfo700),
456
+ "--color-text-inverse": wrapVar(colorSurface50),
457
+ "--color-text-primary": wrapVar(colorSurface900),
458
+ "--color-text-secondary": wrapVar(colorSurface500),
459
+ "--color-text-success": wrapVar(colorSuccess900),
460
+ "--color-text-warning": wrapVar(colorWarning800),
461
+ "--container-border-radius": "12px",
462
+ "--font-family-primary": "'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif",
463
+ "--font-family-secondary": "'Georgia', serif",
464
+ "--font-size-button-100": "14px",
465
+ "--font-size-button-200": "12px",
466
+ "--font-weight-body-primary": "400",
467
+ "--font-weight-body-secondary": "400",
468
+ "--font-weight-button": "600",
469
+ "--font-weight-caption": "400",
470
+ "--font-weight-h1": "400",
471
+ "--font-weight-h2": "400",
472
+ "--font-weight-h3": "400",
473
+ "--font-weight-h4": "400",
474
+ "--font-weight-h5": "600",
475
+ "--font-weight-h6": "600",
476
+ "--font-weight-label-mini": "400",
477
+ "--font-weight-label-strong": "600",
478
+ "--input-border-radius": "6px",
479
+ "--letter-spacing-body-primary": "0.2px",
480
+ "--letter-spacing-body-secondary": "0.2px",
481
+ "--letter-spacing-button": "1px",
482
+ "--letter-spacing-caption": "0.2px",
483
+ "--letter-spacing-h1": "0.2px",
484
+ "--letter-spacing-h1-mobile": "0.2px",
485
+ "--letter-spacing-h2": "0.2px",
486
+ "--letter-spacing-h2-mobile": "0.2px",
487
+ "--letter-spacing-h3": "0.2px",
488
+ "--letter-spacing-h3-mobile": "0.2px",
489
+ "--letter-spacing-h4": "0.2px",
490
+ "--letter-spacing-h5": "0.2px",
491
+ "--letter-spacing-h6": "1px",
492
+ "--letter-spacing-label-mini": "1px",
493
+ "--letter-spacing-label-strong": "0.2px",
494
+ "--search-input-border-radius": "24px",
495
+ "--text-transform-button": "uppercase",
496
+ "--text-transform-h6": "uppercase",
497
+ "--text-transform-label-mini": "uppercase",
498
+ "--width-dense": "1200px",
499
+ "--width-page": "1644px"
500
+ };
501
+ //#endregion
502
+ //#region src/themes/runtime/buildTheme.ts
503
+ const themeSources = {
504
+ BasketballTraining: BasketballTraining_exports,
505
+ Default: Default_exports,
506
+ ProfessionalBrand: ProfessionalBrand_exports
507
+ };
508
+ const variable = (name) => `var(${name})`;
509
+ const textSpec = ({ family = fontFamily.primary, height, size, spacing: letterSpacing, transform, weight }) => ({
510
+ family,
511
+ height,
512
+ size,
513
+ spacing: letterSpacing,
514
+ style: "normal",
515
+ transform,
516
+ weight
517
+ });
518
+ const buildTypography = () => {
519
+ return {
520
+ body: {
521
+ primary: textSpec({
522
+ height: "24px",
523
+ size: "16px",
524
+ spacing: variable(letterSpacingBodyPrimary),
525
+ weight: variable(fontWeightBodyPrimary)
526
+ }),
527
+ secondary: textSpec({
528
+ height: "22px",
529
+ size: "14px",
530
+ spacing: variable(letterSpacingBodySecondary),
531
+ weight: variable(fontWeightBodySecondary)
532
+ })
533
+ },
534
+ button: {
535
+ "100": textSpec({
536
+ height: "20px",
537
+ size: variable(fontSizeButton100),
538
+ spacing: variable(letterSpacingButton),
539
+ transform: variable(textTransformButton),
540
+ weight: variable(fontWeightButton)
541
+ }),
542
+ "200": textSpec({
543
+ height: "18px",
544
+ size: variable(fontSizeButton200),
545
+ spacing: variable(letterSpacingButton),
546
+ transform: variable(textTransformButton),
547
+ weight: variable(fontWeightButton)
548
+ })
549
+ },
550
+ caption: { "100": textSpec({
551
+ height: "18px",
552
+ size: "12px",
553
+ spacing: variable(letterSpacingCaption),
554
+ weight: variable(fontWeightCaption)
555
+ }) },
556
+ heading: {
557
+ "000": textSpec({
558
+ family: fontFamily.secondary,
559
+ height: "56px",
560
+ size: "40px",
561
+ spacing: variable(letterSpacingH1),
562
+ weight: variable(fontWeightH1)
563
+ }),
564
+ "100": {
565
+ ...textSpec({
566
+ family: fontFamily.secondary,
567
+ height: "48px",
568
+ size: "32px",
569
+ spacing: variable(letterSpacingH1),
570
+ weight: variable(fontWeightH1)
571
+ }),
572
+ mobile: textSpec({
573
+ family: fontFamily.secondary,
574
+ height: "36px",
575
+ size: "24px",
576
+ spacing: variable(letterSpacingH1Mobile),
577
+ weight: variable(fontWeightH1)
578
+ })
579
+ },
580
+ "200": {
581
+ ...textSpec({
582
+ family: fontFamily.secondary,
583
+ height: "36px",
584
+ size: "24px",
585
+ spacing: variable(letterSpacingH2),
586
+ weight: variable(fontWeightH2)
587
+ }),
588
+ mobile: textSpec({
589
+ family: fontFamily.secondary,
590
+ height: "30px",
591
+ size: "20px",
592
+ spacing: variable(letterSpacingH2Mobile),
593
+ weight: variable(fontWeightH2)
594
+ })
595
+ },
596
+ "300": {
597
+ ...textSpec({
598
+ family: fontFamily.secondary,
599
+ height: "30px",
600
+ size: "20px",
601
+ spacing: variable(letterSpacingH3),
602
+ weight: variable(fontWeightH3)
603
+ }),
604
+ mobile: textSpec({
605
+ family: fontFamily.secondary,
606
+ height: "24px",
607
+ size: "16px",
608
+ spacing: variable(letterSpacingH3Mobile),
609
+ weight: variable(fontWeightH3)
610
+ })
611
+ },
612
+ "400": textSpec({
613
+ family: fontFamily.secondary,
614
+ height: "24px",
615
+ size: "16px",
616
+ spacing: variable(letterSpacingH4),
617
+ weight: variable(fontWeightH4)
618
+ }),
619
+ "500": textSpec({
620
+ height: "24px",
621
+ size: "16px",
622
+ spacing: variable(letterSpacingH5),
623
+ weight: variable(fontWeightH5)
624
+ }),
625
+ "600": textSpec({
626
+ height: "22px",
627
+ size: "14px",
628
+ spacing: variable(letterSpacingH6),
629
+ transform: variable(textTransformH6),
630
+ weight: variable(fontWeightH6)
631
+ })
632
+ },
633
+ label: {
634
+ mini: textSpec({
635
+ height: "14px",
636
+ size: "12px",
637
+ spacing: variable(letterSpacingLabelMini),
638
+ transform: variable(textTransformLabelMini),
639
+ weight: variable(fontWeightLabelMini)
640
+ }),
641
+ strong: textSpec({
642
+ height: "22px",
643
+ size: "14px",
644
+ spacing: variable(letterSpacingLabelStrong),
645
+ weight: variable(fontWeightLabelStrong)
646
+ })
647
+ }
648
+ };
649
+ };
650
+ const buildRuntimeTheme = (brand) => {
651
+ const source = themeSources[brand];
652
+ const v = variable;
653
+ return {
654
+ border: {
655
+ radius,
656
+ width
657
+ },
658
+ brand,
659
+ breakpoints,
660
+ button: {
661
+ border: { radius: v(buttonBorderRadius) },
662
+ favorite: {
663
+ default: { color: {
664
+ background: v(colorBackgroundPrimary),
665
+ border: v(colorBorderPrimary)
666
+ } },
667
+ disabled: { color: {
668
+ background: v(colorBackgroundDisabled),
669
+ border: v(colorBorderDisabled)
670
+ } },
671
+ hover: { color: {
672
+ background: v(colorBackgroundHover),
673
+ border: v(colorBorderHover)
674
+ } },
675
+ pressed: { color: {
676
+ background: v(colorBackgroundPressed),
677
+ border: v(colorBorderSelected)
678
+ } },
679
+ selected: { color: {
680
+ background: v(colorBackgroundPrimary),
681
+ border: v(colorBorderSelected)
682
+ } }
683
+ },
684
+ inline: {
685
+ alt: {
686
+ default: { color: { text: v(colorLinkInverse) } },
687
+ hover: { color: { text: v(colorLinkInverseHover) } },
688
+ pressed: { color: { text: v(colorLinkInversePressed) } }
689
+ },
690
+ default: { color: { text: v(colorLinkPrimary) } },
691
+ hover: { color: { text: v(colorLinkHover) } },
692
+ inverse: { color: { text: v(colorLinkInverse) } },
693
+ pressed: { color: { text: v(colorLinkPressed) } },
694
+ weak: { color: { text: v(colorLinkSecondary) } }
695
+ },
696
+ primary: {
697
+ alt: {
698
+ color: {
699
+ background: v(colorBackgroundInverse),
700
+ border: v(colorBorderInverse),
701
+ text: v(colorTextInverse)
702
+ },
703
+ focused: { color: { background: v(colorBackgroundHoverInverse) } },
704
+ hover: { color: {
705
+ background: v(colorBackgroundHoverInverse),
706
+ border: v(colorBorderInverse)
707
+ } },
708
+ pressed: { color: {
709
+ background: v(colorBackgroundPressedInverse),
710
+ border: v(colorBorderInverse)
711
+ } }
712
+ },
713
+ color: {
714
+ background: v(colorLinkPrimary),
715
+ text: v(colorTextInverse)
716
+ },
717
+ focused: { color: { background: v(colorLinkHover) } },
718
+ hover: { color: { background: v(colorLinkHover) } },
719
+ pressed: { color: { background: v(colorLinkPressed) } }
720
+ },
721
+ secondary: {
722
+ alt: {
723
+ color: {
724
+ background: v(colorBackgroundPrimary),
725
+ border: v(colorBorderInverse),
726
+ text: v(colorTextInverse)
727
+ },
728
+ focused: { color: {
729
+ background: v(colorBackgroundHoverInverse),
730
+ text: v(colorTextPrimary)
731
+ } },
732
+ hover: { color: {
733
+ background: v(colorBackgroundHoverInverse),
734
+ border: v(colorBorderInverse),
735
+ text: v(colorTextPrimary)
736
+ } },
737
+ pressed: { color: {
738
+ background: v(colorBackgroundPressedInverse),
739
+ border: v(colorBorderInverse)
740
+ } }
741
+ },
742
+ color: {
743
+ background: v(colorBackgroundPrimary),
744
+ border: v(colorBorderPrimary),
745
+ text: v(colorTextPrimary)
746
+ },
747
+ focused: { color: { background: v(colorBackgroundHover) } },
748
+ hover: { color: {
749
+ background: v(colorBackgroundHover),
750
+ border: v(colorBorderHover),
751
+ text: v(colorTextInverse)
752
+ } },
753
+ pressed: { color: {
754
+ background: v(colorBackgroundPressed),
755
+ border: v(colorBorderSelected)
756
+ } }
757
+ },
758
+ tertiary: {
759
+ color: { text: v(colorLinkPrimary) },
760
+ hover: { color: { background: v(colorBackgroundHover) } },
761
+ pressed: { color: { background: v(colorBackgroundPressed) } }
762
+ }
763
+ },
764
+ checkbox: { border: { radius: v(checkboxBorderRadius) } },
765
+ color: {
766
+ background: {
767
+ critical: {
768
+ dark: v(colorBackgroundCriticalDark),
769
+ light: v(colorBackgroundCriticalLight)
770
+ },
771
+ decorative: v(colorBackgroundTertiary),
772
+ disabled: v(colorBackgroundDisabled),
773
+ field: { default: v(colorBackgroundPrimary) },
774
+ hover: v(colorBackgroundHover),
775
+ info: {
776
+ dark: v(colorBackgroundInfoDark),
777
+ light: v(colorBackgroundInfoLight)
778
+ },
779
+ inverse: v(colorBackgroundInverse),
780
+ neutral: {
781
+ dark: v(colorBackgroundInverse),
782
+ light: v(colorBackgroundSubdued)
783
+ },
784
+ pressed: v(colorBackgroundPressed),
785
+ primary: v(colorBackgroundPrimary),
786
+ secondary: v(colorBackgroundSecondary),
787
+ subdued: v(colorBackgroundSubdued),
788
+ success: {
789
+ dark: v(colorBackgroundSuccessDark),
790
+ light: v(colorBackgroundSuccessLight)
791
+ },
792
+ tertiary: v(colorBackgroundTertiary),
793
+ warning: {
794
+ dark: v(colorBackgroundWarningDark),
795
+ light: v(colorBackgroundWarningLight)
796
+ }
797
+ },
798
+ border: {
799
+ critical: v(colorBorderCritical),
800
+ disabled: v(colorBorderDisabled),
801
+ divider: {
802
+ black: v(colorBorderBlack),
803
+ dark: v(colorBorderPrimary),
804
+ default: v(colorBorderSecondary),
805
+ inverse: v(colorBorderInverse),
806
+ light: v(colorBorderTertiary)
807
+ },
808
+ focused: {
809
+ default: v(colorFocusPrimary),
810
+ inverse: v(colorFocusInverse)
811
+ },
812
+ hover: v(colorBorderHover),
813
+ info: v(colorBorderInfo),
814
+ inverse: v(colorBorderInverse),
815
+ primary: v(colorBorderPrimary),
816
+ secondary: v(colorBorderSecondary),
817
+ selected: v(colorBorderSelected),
818
+ success: v(colorBorderSuccess),
819
+ warning: v(colorBorderWarning)
820
+ },
821
+ icon: {
822
+ active: v(colorIconPrimary),
823
+ alt: {
824
+ active: v(colorIconInverse),
825
+ default: v(colorIconInverse),
826
+ hover: v(colorIconSecondary)
827
+ },
828
+ critical: v(colorIconCritical),
829
+ decorative: {
830
+ alt: v(colorIconSecondary),
831
+ default: v(colorIconPrimary),
832
+ light: v(colorIconDisabled)
833
+ },
834
+ default: v(colorIconPrimary),
835
+ disabled: v(colorIconDisabled),
836
+ hover: v(colorIconSecondary),
837
+ info: v(colorIconInfo),
838
+ inverse: v(colorIconInverse),
839
+ primary: {
840
+ alt: {
841
+ active: v(colorIconInverse),
842
+ default: v(colorIconSecondary),
843
+ hover: v(colorIconPrimary)
844
+ },
845
+ default: v(colorIconPrimary)
846
+ },
847
+ success: v(colorIconSuccess),
848
+ warning: {
849
+ default: v(colorIconWarning),
850
+ light: v(colorBackgroundWarningLight)
851
+ }
852
+ },
853
+ keyboardFocus: v(colorFocusPrimary),
854
+ keyboardFocusInverse: v(colorFocusInverse),
855
+ shadow: {
856
+ "01": boxShadow["01"],
857
+ "02": boxShadow["02"],
858
+ "03": boxShadow["03"]
859
+ },
860
+ skeleton: { default: v(colorBackgroundSubdued) },
861
+ text: {
862
+ alt: v(colorTextInverse),
863
+ critical: v(colorTextCritical),
864
+ disabled: v(colorTextDisabled),
865
+ error: v(colorTextCritical),
866
+ inactive: v(colorTextInactive),
867
+ info: v(colorTextInfo),
868
+ inverse: v(colorTextInverse),
869
+ link: {
870
+ active: v(colorLinkPressed),
871
+ default: v(colorLinkPrimary),
872
+ disabled: v(colorLinkDisabled),
873
+ focused: v(colorLinkHover),
874
+ hover: v(colorLinkHover),
875
+ inverse: v(colorLinkInverse),
876
+ monochrome: v(colorLinkMonochrome),
877
+ weak: v(colorLinkSecondary)
878
+ },
879
+ primary: v(colorTextPrimary),
880
+ secondary: v(colorTextSecondary),
881
+ standard: v(colorTextPrimary),
882
+ success: v(colorTextSuccess),
883
+ warning: {
884
+ default: v(colorTextWarning),
885
+ light: v(colorBackgroundWarningLight)
886
+ },
887
+ weak: v(colorTextSecondary)
888
+ },
889
+ transparent00: "rgb(0 0 0 / 0%)",
890
+ transparent05: "rgb(0 0 0 / 5%)",
891
+ transparent20: "rgb(0 0 0 / 20%)",
892
+ transparent40: "rgb(0 0 0 / 40%)"
893
+ },
894
+ core: Object.fromEntries(Object.entries(source.coreColors).map(([key]) => [key, key])),
895
+ elevation: {
896
+ "01": v(shadow01),
897
+ "02": v(shadow02),
898
+ "03": v(shadow03),
899
+ "04": v(shadow04),
900
+ "05": v(shadow05)
901
+ },
902
+ input: { border: { radius: v(inputBorderRadius) } },
903
+ spacing,
904
+ toggle: { border: { radius: v(buttonBorderRadius) } },
905
+ typography: buildTypography()
906
+ };
907
+ };
908
+ //#endregion
909
+ //#region src/themes/runtime/default.ts
910
+ const defaultTheme = buildRuntimeTheme("Default");
911
+ //#endregion
912
+ export { darken as a, lighten as c, colorStepArrayToObject as i, steps as l, buildRuntimeTheme as n, generateNormalColorSteps as o, nonColorVariables$1 as r, generateSurfaceColorSteps as s, defaultTheme as t, tinycolor as u };
913
+
914
+ //# sourceMappingURL=default-B2n4PnsJ.mjs.map