@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,583 @@
1
+ import { $ as colorIconPrimary, $n as fontWeightLabelMini, $t as colorSurface100, A as colorBorderInverse, An as colorWarning300, At as colorPrimary700, B as colorCritical400, Bt as colorSecondary700, C as colorBackgroundWarningDark, Cn as colorTextInverse, Ct as colorPrimary100, D as colorBorderDisabled, Dn as colorTextWarning, Dr as widthPage, Dt as colorPrimary50, E as colorBorderCritical, En as colorTextSuccess, Er as widthDense, Et as colorPrimary400, F as colorBorderTertiary, Fn as colorWarning700, Ft as colorSecondary300, G as colorCritical800, Gt as colorSuccess300, H as colorCritical500, Ht as colorSecondary900, I as colorBorderWarning, In as colorWarning800, It as colorSecondary400, J as colorFocusPrimary, Jn as fontWeightH2, Jt as colorSuccess500, K as colorCritical900, Kn as fontWeightCaption, Kt as colorSuccess400, L as colorCritical100, Ln as colorWarning900, Lt as colorSecondary50, M as colorBorderSecondary, Mn as colorWarning50, Mt as colorPrimary900, N as colorBorderSelected, Nn as colorWarning500, Nt as colorSecondary100, O as colorBorderHover, On as colorWarning100, Or as wrapOpacity, Ot as colorPrimary500, P as colorBorderSuccess, Pn as colorWarning600, Pt as colorSecondary200, Q as colorIconInverse, Qn as fontWeightH6, Qt as colorSuccess900, R as colorCritical200, Rt as colorSecondary500, S as colorBackgroundTertiary, Sn as colorTextInfo, St as colorLinkSecondary, T as colorBorderBlack, Tn as colorTextSecondary, Tr as textTransformLabelMini, Tt as colorPrimary300, U as colorCritical600, Un as fontWeightBodyPrimary, Ut as colorSuccess100, V as colorCritical50, Vt as colorSecondary800, W as colorCritical700, Wn as fontWeightBodySecondary, Wt as colorSuccess200, X as colorIconDisabled, Xn as fontWeightH4, Xt as colorSuccess700, Y as colorIconCritical, Yn as fontWeightH3, Yt as colorSuccess600, Z as colorIconInfo, Zn as fontWeightH5, Zt as colorSuccess800, _ as colorBackgroundPrimary, _n as colorTertiary800, _t as colorLinkInverseHover, an as colorSurface600, ar as letterSpacingCaption, at as colorInfo300, b as colorBackgroundSuccessDark, bn as colorTextDisabled, bt as colorLinkPressed, c as colorBackgroundDisabled, cn as colorSurface900, cr as letterSpacingH2, ct as colorInfo500, d as colorBackgroundInfoDark, dn as colorTertiary300, dr as letterSpacingH3Mobile, dt as colorInfo800, en as colorSurface200, er as fontWeightLabelStrong, et as colorIconSecondary, f as colorBackgroundInfoLight, fn as colorTertiary400, fr as letterSpacingH4, ft as colorInfo900, g as colorBackgroundPressedInverse, gn as colorTertiary700, gr as letterSpacingLabelStrong, gt as colorLinkInverseDisabled, h as colorBackgroundPressed, hn as colorTertiary600, hr as letterSpacingLabelMini, ht as colorLinkInverse, in as colorSurface500, it as colorInfo200, j as colorBorderPrimary, jn as colorWarning400, jr as wrapVariableOpacity, jt as colorPrimary800, k as colorBorderInfo, kn as colorWarning200, kr as wrapVar, kt as colorPrimary600, l as colorBackgroundHover, ln as colorTertiary100, lr as letterSpacingH2Mobile, lt as colorInfo600, m as colorBackgroundOverlay, mn as colorTertiary500, mr as letterSpacingH6, mt as colorLinkHover, n as screens, nn as colorSurface400, nr as letterSpacingBodyPrimary, nt as colorIconWarning, o as colorBackgroundCriticalDark, on as colorSurface700, 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, r as borderRadius, rn as colorSurface50, rr as letterSpacingBodySecondary, rt as colorInfo100, s as colorBackgroundCriticalLight, sn as colorSurface800, sr as letterSpacingH1Mobile, st as colorInfo50, t as spacing, tn as colorSurface300, tt as colorIconSuccess, u as colorBackgroundHoverInverse, un as colorTertiary200, ur as letterSpacingH3, ut as colorInfo700, v as colorBackgroundSecondary, vn as colorTertiary900, vt as colorLinkInversePressed, w as colorBackgroundWarningLight, wn as colorTextPrimary, wr as textTransformH6, wt as colorPrimary200, x as colorBackgroundSuccessLight, xn as colorTextInactive, xt as colorLinkPrimary, y as colorBackgroundSubdued, yn as colorTextCritical, yt as colorLinkMonochrome, z as colorCritical300, zt as colorSecondary600 } from "./spacing-D43IZfIU.mjs";
2
+ import { n as boxShadow, t as fontFamily } from "./fontFamily-DTm-Yz5-.mjs";
3
+ import plugin from "tailwindcss/plugin.js";
4
+ //#region src/tailwind/colors.ts
5
+ /**
6
+ * Color configuration for Tailwind CSS
7
+ *
8
+ * Maps CSS custom properties to Tailwind color utilities using nested objects.
9
+ * Uses wrapVariableOpacity() for dynamic alpha support (e.g., `bg-primary-500/50`)
10
+ * and wrapOpacity() for fixed opacity values.
11
+ *
12
+ * @see https://tailwindcss.com/docs/customizing-colors#using-css-variables
13
+ * Internal reference: Hammer UI patterns
14
+ * Ported from the upstream theme system.
15
+ */
16
+ const colors = {
17
+ background: {
18
+ "critical-dark": wrapVariableOpacity(wrapVar(colorBackgroundCriticalDark)),
19
+ "critical-light": wrapVariableOpacity(wrapVar(colorBackgroundCriticalLight)),
20
+ disabled: wrapVariableOpacity(wrapVar(colorBackgroundDisabled)),
21
+ hover: wrapOpacity(wrapVar(colorBackgroundHover), 5),
22
+ "hover-inverse": wrapOpacity(wrapVar(colorBackgroundHoverInverse), 5),
23
+ "info-dark": wrapVariableOpacity(wrapVar(colorBackgroundInfoDark)),
24
+ "info-light": wrapVariableOpacity(wrapVar(colorBackgroundInfoLight)),
25
+ inverse: wrapVariableOpacity(wrapVar(colorBackgroundInverse)),
26
+ overlay: wrapOpacity(wrapVar(colorBackgroundOverlay), 40),
27
+ pressed: wrapOpacity(wrapVar(colorBackgroundPressed), 20),
28
+ "pressed-inverse": wrapOpacity(wrapVar(colorBackgroundPressedInverse), 20),
29
+ primary: wrapVariableOpacity(wrapVar(colorBackgroundPrimary)),
30
+ secondary: wrapVariableOpacity(wrapVar(colorBackgroundSecondary)),
31
+ subdued: wrapVariableOpacity(wrapVar(colorBackgroundSubdued)),
32
+ "success-dark": wrapVariableOpacity(wrapVar(colorBackgroundSuccessDark)),
33
+ "success-light": wrapVariableOpacity(wrapVar(colorBackgroundSuccessLight)),
34
+ tertiary: wrapVariableOpacity(wrapVar(colorBackgroundTertiary)),
35
+ "warning-dark": wrapVariableOpacity(wrapVar(colorBackgroundWarningDark)),
36
+ "warning-light": wrapVariableOpacity(wrapVar(colorBackgroundWarningLight))
37
+ },
38
+ border: {
39
+ black: wrapVariableOpacity(wrapVar(colorBorderBlack)),
40
+ critical: wrapVariableOpacity(wrapVar(colorBorderCritical)),
41
+ disabled: wrapVariableOpacity(wrapVar(colorBorderDisabled)),
42
+ hover: wrapVariableOpacity(wrapVar(colorBorderHover)),
43
+ info: wrapVariableOpacity(wrapVar(colorBorderInfo)),
44
+ inverse: wrapVariableOpacity(wrapVar(colorBorderInverse)),
45
+ primary: wrapVariableOpacity(wrapVar(colorBorderPrimary)),
46
+ secondary: wrapVariableOpacity(wrapVar(colorBorderSecondary)),
47
+ selected: wrapVariableOpacity(wrapVar(colorBorderSelected)),
48
+ success: wrapVariableOpacity(wrapVar(colorBorderSuccess)),
49
+ tertiary: wrapVariableOpacity(wrapVar(colorBorderTertiary)),
50
+ warning: wrapVariableOpacity(wrapVar(colorBorderWarning))
51
+ },
52
+ critical: {
53
+ "100": wrapVariableOpacity(wrapVar(colorCritical100)),
54
+ "200": wrapVariableOpacity(wrapVar(colorCritical200)),
55
+ "300": wrapVariableOpacity(wrapVar(colorCritical300)),
56
+ "400": wrapVariableOpacity(wrapVar(colorCritical400)),
57
+ "50": wrapVariableOpacity(wrapVar(colorCritical50)),
58
+ "500": wrapVariableOpacity(wrapVar(colorCritical500)),
59
+ "600": wrapVariableOpacity(wrapVar(colorCritical600)),
60
+ "700": wrapVariableOpacity(wrapVar(colorCritical700)),
61
+ "800": wrapVariableOpacity(wrapVar(colorCritical800)),
62
+ "900": wrapVariableOpacity(wrapVar(colorCritical900))
63
+ },
64
+ current: "currentColor",
65
+ focus: {
66
+ inverse: wrapOpacity(wrapVar(colorFocusInverse), 50),
67
+ primary: wrapOpacity(wrapVar(colorFocusPrimary), 50)
68
+ },
69
+ "focus-inverse": wrapVariableOpacity(wrapVar(colorFocusInverse)),
70
+ "focus-primary": wrapVariableOpacity(wrapVar(colorFocusPrimary)),
71
+ icon: {
72
+ critical: wrapVariableOpacity(wrapVar(colorIconCritical)),
73
+ default: wrapVariableOpacity(wrapVar(colorIconPrimary)),
74
+ disabled: wrapVariableOpacity(wrapVar(colorIconDisabled)),
75
+ hover: wrapVariableOpacity(wrapVar(colorIconSecondary)),
76
+ info: wrapVariableOpacity(wrapVar(colorIconInfo)),
77
+ inverse: wrapVariableOpacity(wrapVar(colorIconInverse)),
78
+ primary: wrapVariableOpacity(wrapVar(colorIconPrimary)),
79
+ secondary: wrapVariableOpacity(wrapVar(colorIconSecondary)),
80
+ success: wrapVariableOpacity(wrapVar(colorIconSuccess)),
81
+ warning: wrapVariableOpacity(wrapVar(colorIconWarning))
82
+ },
83
+ info: {
84
+ "100": wrapVariableOpacity(wrapVar(colorInfo100)),
85
+ "200": wrapVariableOpacity(wrapVar(colorInfo200)),
86
+ "300": wrapVariableOpacity(wrapVar(colorInfo300)),
87
+ "400": wrapVariableOpacity(wrapVar(colorInfo400)),
88
+ "50": wrapVariableOpacity(wrapVar(colorInfo50)),
89
+ "500": wrapVariableOpacity(wrapVar(colorInfo500)),
90
+ "600": wrapVariableOpacity(wrapVar(colorInfo600)),
91
+ "700": wrapVariableOpacity(wrapVar(colorInfo700)),
92
+ "800": wrapVariableOpacity(wrapVar(colorInfo800)),
93
+ "900": wrapVariableOpacity(wrapVar(colorInfo900))
94
+ },
95
+ link: {
96
+ disabled: wrapVariableOpacity(wrapVar(colorLinkDisabled)),
97
+ hover: wrapVariableOpacity(wrapVar(colorLinkHover)),
98
+ inverse: wrapVariableOpacity(wrapVar(colorLinkInverse)),
99
+ "inverse-disabled": wrapVariableOpacity(wrapVar(colorLinkInverseDisabled)),
100
+ "inverse-hover": wrapVariableOpacity(wrapVar(colorLinkInverseHover)),
101
+ "inverse-pressed": wrapVariableOpacity(wrapVar(colorLinkInversePressed)),
102
+ monochrome: wrapVariableOpacity(wrapVar(colorLinkMonochrome)),
103
+ pressed: wrapVariableOpacity(wrapVar(colorLinkPressed)),
104
+ primary: wrapVariableOpacity(wrapVar(colorLinkPrimary)),
105
+ secondary: wrapVariableOpacity(wrapVar(colorLinkSecondary))
106
+ },
107
+ primary: {
108
+ "100": wrapVariableOpacity(wrapVar(colorPrimary100)),
109
+ "200": wrapVariableOpacity(wrapVar(colorPrimary200)),
110
+ "300": wrapVariableOpacity(wrapVar(colorPrimary300)),
111
+ "400": wrapVariableOpacity(wrapVar(colorPrimary400)),
112
+ "50": wrapVariableOpacity(wrapVar(colorPrimary50)),
113
+ "500": wrapVariableOpacity(wrapVar(colorPrimary500)),
114
+ "600": wrapVariableOpacity(wrapVar(colorPrimary600)),
115
+ "700": wrapVariableOpacity(wrapVar(colorPrimary700)),
116
+ "800": wrapVariableOpacity(wrapVar(colorPrimary800)),
117
+ "900": wrapVariableOpacity(wrapVar(colorPrimary900))
118
+ },
119
+ secondary: {
120
+ "100": wrapVariableOpacity(wrapVar(colorSecondary100)),
121
+ "200": wrapVariableOpacity(wrapVar(colorSecondary200)),
122
+ "300": wrapVariableOpacity(wrapVar(colorSecondary300)),
123
+ "400": wrapVariableOpacity(wrapVar(colorSecondary400)),
124
+ "50": wrapVariableOpacity(wrapVar(colorSecondary50)),
125
+ "500": wrapVariableOpacity(wrapVar(colorSecondary500)),
126
+ "600": wrapVariableOpacity(wrapVar(colorSecondary600)),
127
+ "700": wrapVariableOpacity(wrapVar(colorSecondary700)),
128
+ "800": wrapVariableOpacity(wrapVar(colorSecondary800)),
129
+ "900": wrapVariableOpacity(wrapVar(colorSecondary900))
130
+ },
131
+ success: {
132
+ "100": wrapVariableOpacity(wrapVar(colorSuccess100)),
133
+ "200": wrapVariableOpacity(wrapVar(colorSuccess200)),
134
+ "300": wrapVariableOpacity(wrapVar(colorSuccess300)),
135
+ "400": wrapVariableOpacity(wrapVar(colorSuccess400)),
136
+ "50": wrapVariableOpacity(wrapVar(colorSuccess50)),
137
+ "500": wrapVariableOpacity(wrapVar(colorSuccess500)),
138
+ "600": wrapVariableOpacity(wrapVar(colorSuccess600)),
139
+ "700": wrapVariableOpacity(wrapVar(colorSuccess700)),
140
+ "800": wrapVariableOpacity(wrapVar(colorSuccess800)),
141
+ "900": wrapVariableOpacity(wrapVar(colorSuccess900))
142
+ },
143
+ surface: {
144
+ "100": wrapVariableOpacity(wrapVar(colorSurface100)),
145
+ "200": wrapVariableOpacity(wrapVar(colorSurface200)),
146
+ "300": wrapVariableOpacity(wrapVar(colorSurface300)),
147
+ "400": wrapVariableOpacity(wrapVar(colorSurface400)),
148
+ "50": wrapVariableOpacity(wrapVar(colorSurface50)),
149
+ "500": wrapVariableOpacity(wrapVar(colorSurface500)),
150
+ "600": wrapVariableOpacity(wrapVar(colorSurface600)),
151
+ "700": wrapVariableOpacity(wrapVar(colorSurface700)),
152
+ "800": wrapVariableOpacity(wrapVar(colorSurface800)),
153
+ "900": wrapVariableOpacity(wrapVar(colorSurface900))
154
+ },
155
+ tertiary: {
156
+ "100": wrapVariableOpacity(wrapVar(colorTertiary100)),
157
+ "200": wrapVariableOpacity(wrapVar(colorTertiary200)),
158
+ "300": wrapVariableOpacity(wrapVar(colorTertiary300)),
159
+ "400": wrapVariableOpacity(wrapVar(colorTertiary400)),
160
+ "50": wrapVariableOpacity(wrapVar(colorTertiary50)),
161
+ "500": wrapVariableOpacity(wrapVar(colorTertiary500)),
162
+ "600": wrapVariableOpacity(wrapVar(colorTertiary600)),
163
+ "700": wrapVariableOpacity(wrapVar(colorTertiary700)),
164
+ "800": wrapVariableOpacity(wrapVar(colorTertiary800)),
165
+ "900": wrapVariableOpacity(wrapVar(colorTertiary900))
166
+ },
167
+ text: {
168
+ critical: wrapVariableOpacity(wrapVar(colorTextCritical)),
169
+ disabled: wrapVariableOpacity(wrapVar(colorTextDisabled)),
170
+ inactive: wrapVariableOpacity(wrapVar(colorTextInactive)),
171
+ info: wrapVariableOpacity(wrapVar(colorTextInfo)),
172
+ inverse: wrapVariableOpacity(wrapVar(colorTextInverse)),
173
+ primary: wrapVariableOpacity(wrapVar(colorTextPrimary)),
174
+ secondary: wrapVariableOpacity(wrapVar(colorTextSecondary)),
175
+ success: wrapVariableOpacity(wrapVar(colorTextSuccess)),
176
+ warning: wrapVariableOpacity(wrapVar(colorTextWarning))
177
+ },
178
+ transparent: "transparent",
179
+ warning: {
180
+ "100": wrapVariableOpacity(wrapVar(colorWarning100)),
181
+ "200": wrapVariableOpacity(wrapVar(colorWarning200)),
182
+ "300": wrapVariableOpacity(wrapVar(colorWarning300)),
183
+ "400": wrapVariableOpacity(wrapVar(colorWarning400)),
184
+ "50": wrapVariableOpacity(wrapVar(colorWarning50)),
185
+ "500": wrapVariableOpacity(wrapVar(colorWarning500)),
186
+ "600": wrapVariableOpacity(wrapVar(colorWarning600)),
187
+ "700": wrapVariableOpacity(wrapVar(colorWarning700)),
188
+ "800": wrapVariableOpacity(wrapVar(colorWarning800)),
189
+ "900": wrapVariableOpacity(wrapVar(colorWarning900))
190
+ }
191
+ };
192
+ //#endregion
193
+ //#region src/tailwind/text.ts
194
+ const textComponents = {
195
+ ".hui-link-md": {
196
+ fontFamily: fontFamily.primary,
197
+ fontSize: "16px",
198
+ fontWeight: wrapVar(fontWeightBodyPrimary),
199
+ letterSpacing: wrapVar(letterSpacingBodyPrimary),
200
+ lineHeight: "24px"
201
+ },
202
+ ".hui-link-sm": {
203
+ fontFamily: fontFamily.primary,
204
+ fontSize: "14px",
205
+ fontWeight: wrapVar(fontWeightBodyPrimary),
206
+ letterSpacing: wrapVar(letterSpacingBodyPrimary),
207
+ lineHeight: "22px"
208
+ },
209
+ ".hui-link-xs": {
210
+ fontFamily: fontFamily.primary,
211
+ fontSize: "12px",
212
+ fontWeight: wrapVar(fontWeightBodyPrimary),
213
+ letterSpacing: wrapVar(letterSpacingBodyPrimary),
214
+ lineHeight: "18px"
215
+ },
216
+ ".hui-text-body-primary": {
217
+ fontFamily: fontFamily.primary,
218
+ fontSize: "16px",
219
+ fontWeight: wrapVar(fontWeightBodyPrimary),
220
+ letterSpacing: wrapVar(letterSpacingBodyPrimary),
221
+ lineHeight: "24px"
222
+ },
223
+ ".hui-text-body-secondary": {
224
+ fontFamily: fontFamily.primary,
225
+ fontSize: "14px",
226
+ fontWeight: wrapVar(fontWeightBodySecondary),
227
+ letterSpacing: wrapVar(letterSpacingBodySecondary),
228
+ lineHeight: "22px"
229
+ },
230
+ ".hui-text-caption": {
231
+ fontFamily: fontFamily.primary,
232
+ fontSize: "12px",
233
+ fontWeight: wrapVar(fontWeightCaption),
234
+ letterSpacing: wrapVar(letterSpacingCaption),
235
+ lineHeight: "18px"
236
+ },
237
+ ".hui-text-h1": {
238
+ fontFamily: fontFamily.secondary,
239
+ fontSize: "32px",
240
+ fontWeight: wrapVar(fontWeightH1),
241
+ letterSpacing: wrapVar(letterSpacingH1),
242
+ lineHeight: "48px",
243
+ [`@media (width < ${screens.smMax.max})`]: {
244
+ fontSize: "24px",
245
+ letterSpacing: wrapVar(letterSpacingH1Mobile),
246
+ lineHeight: "36px"
247
+ }
248
+ },
249
+ ".hui-text-h2": {
250
+ fontFamily: fontFamily.secondary,
251
+ fontSize: "24px",
252
+ fontWeight: wrapVar(fontWeightH2),
253
+ letterSpacing: wrapVar(letterSpacingH2),
254
+ lineHeight: "36px",
255
+ [`@media (width < ${screens.smMax.max})`]: {
256
+ fontSize: "20px",
257
+ letterSpacing: wrapVar(letterSpacingH2Mobile),
258
+ lineHeight: "30px"
259
+ }
260
+ },
261
+ ".hui-text-h3": {
262
+ fontFamily: fontFamily.secondary,
263
+ fontSize: "20px",
264
+ fontWeight: wrapVar(fontWeightH3),
265
+ letterSpacing: wrapVar(letterSpacingH3),
266
+ lineHeight: "30px",
267
+ [`@media (width < ${screens.smMax.max})`]: {
268
+ fontSize: "16px",
269
+ letterSpacing: wrapVar(letterSpacingH3Mobile),
270
+ lineHeight: "24px"
271
+ }
272
+ },
273
+ ".hui-text-h4": {
274
+ fontFamily: fontFamily.secondary,
275
+ fontSize: "16px",
276
+ fontWeight: wrapVar(fontWeightH4),
277
+ letterSpacing: wrapVar(letterSpacingH4),
278
+ lineHeight: "24px"
279
+ },
280
+ ".hui-text-h5": {
281
+ fontFamily: fontFamily.primary,
282
+ fontSize: "16px",
283
+ fontWeight: wrapVar(fontWeightH5),
284
+ letterSpacing: wrapVar(letterSpacingH5),
285
+ lineHeight: "24px"
286
+ },
287
+ ".hui-text-h6": {
288
+ fontFamily: fontFamily.primary,
289
+ fontSize: "14px",
290
+ fontWeight: wrapVar(fontWeightH6),
291
+ letterSpacing: wrapVar(letterSpacingH6),
292
+ lineHeight: "22px",
293
+ textTransform: wrapVar(textTransformH6)
294
+ },
295
+ ".hui-text-label-mini": {
296
+ fontFamily: fontFamily.primary,
297
+ fontSize: "12px",
298
+ fontWeight: wrapVar(fontWeightLabelMini),
299
+ letterSpacing: wrapVar(letterSpacingLabelMini),
300
+ lineHeight: "14px",
301
+ textTransform: wrapVar(textTransformLabelMini)
302
+ },
303
+ ".hui-text-label-mini-strong": {
304
+ fontFamily: fontFamily.primary,
305
+ fontSize: "12px",
306
+ fontWeight: wrapVar(fontWeightLabelStrong),
307
+ letterSpacing: wrapVar(letterSpacingLabelMini),
308
+ lineHeight: "14px",
309
+ textTransform: wrapVar(textTransformLabelMini)
310
+ },
311
+ ".hui-text-label-strong": {
312
+ fontFamily: fontFamily.primary,
313
+ fontSize: "14px",
314
+ fontWeight: wrapVar(fontWeightLabelStrong),
315
+ letterSpacing: wrapVar(letterSpacingLabelStrong),
316
+ lineHeight: "22px"
317
+ }
318
+ };
319
+ //#endregion
320
+ //#region src/tailwind/width.ts
321
+ /**
322
+ * Layout width configuration for Tailwind CSS
323
+ *
324
+ * Internal reference: Hammer UI patterns
325
+ * Ported from the upstream theme system.
326
+ */
327
+ const width = {
328
+ dense: wrapVar(widthDense),
329
+ page: wrapVar(widthPage)
330
+ };
331
+ //#endregion
332
+ //#region src/tailwind/plugin.ts
333
+ /**
334
+ * Main Tailwind CSS plugin for the theme system
335
+ *
336
+ * Composes all theme configuration modules (colors, spacing, typography, etc.)
337
+ * into a single Tailwind plugin. The plugin's second argument defines the complete
338
+ * theme, so consumers only need `plugins: [themePlugin]` — no separate theme extension.
339
+ *
340
+ * Internal reference: Hammer UI patterns
341
+ * Ported from the upstream theme system.
342
+ */
343
+ const autofillStyles = {
344
+ "-webkit-box-shadow": "0 0 0 12px rgb(var(--color-background-primary)) inset !important",
345
+ "box-shadow": "0 0 0 12px rgb(var(--color-background-primary)) inset !important"
346
+ };
347
+ const themePlugin = plugin(({ addBase, addComponents, matchUtilities }) => {
348
+ addComponents(textComponents);
349
+ addComponents({
350
+ ".hui-autofill-transparent": {
351
+ "&:-webkit-autofill": autofillStyles,
352
+ "&:-webkit-autofill:active": autofillStyles,
353
+ "&:-webkit-autofill:focus": autofillStyles,
354
+ "&:-webkit-autofill:hover": autofillStyles
355
+ },
356
+ ".hui-focus-visible-outline": { "@apply focus-visible:outline-focus-primary focus-visible:outline focus-visible:outline-4": {} },
357
+ ".hui-focus-visible-outline-inverse": { "@apply focus-visible:outline-focus-inverse focus-visible:outline focus-visible:outline-4": {} },
358
+ ".scrollbar-default": {
359
+ "&::-webkit-scrollbar": { display: "block" },
360
+ "-ms-overflow-style": "auto",
361
+ "scrollbar-width": "auto"
362
+ },
363
+ ".scrollbar-hide": {
364
+ "&::-webkit-scrollbar": { display: "none" },
365
+ "-ms-overflow-style": "none",
366
+ "scrollbar-width": "none"
367
+ }
368
+ });
369
+ addBase({
370
+ "@keyframes saveButtonWiggle": {
371
+ "0%, 100%": { transform: "rotate(0deg) scale(1)" },
372
+ "10%": { transform: "rotate(-6deg) scale(1.03)" },
373
+ "25%": { transform: "rotate(5deg) scale(1.03)" },
374
+ "40%": { transform: "rotate(-4deg) scale(1.02)" },
375
+ "55%": { transform: "rotate(3deg) scale(1.02)" },
376
+ "70%": { transform: "rotate(-1.5deg) scale(1.01)" },
377
+ "85%": { transform: "rotate(0.5deg) scale(1)" }
378
+ },
379
+ "@keyframes saveHeartTwirlBloom": {
380
+ "0%": { transform: "rotateY(0deg) scale(1)" },
381
+ "50%": { transform: "rotateY(180deg) scale(1.35)" },
382
+ "100%": { transform: "rotateY(360deg) scale(1)" }
383
+ },
384
+ "@keyframes saveHeartColorFlash": {
385
+ "0%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" },
386
+ "40%": { fill: "rgb(var(--hui-save-color-critical-300, var(--color-critical-300)))" },
387
+ "60%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" },
388
+ "100%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" }
389
+ },
390
+ "@keyframes saveLabelShimmer": {
391
+ "0%": { backgroundPosition: "200% center" },
392
+ "100%": { backgroundPosition: "-200% center" }
393
+ },
394
+ "@keyframes saveButtonPulse": {
395
+ "0%": { transform: "scale(1)" },
396
+ "35%": { transform: "scale(1.08)" },
397
+ "65%": { transform: "scale(0.97)" },
398
+ "100%": { transform: "scale(1)" }
399
+ },
400
+ "@keyframes saveHeartPop": {
401
+ "0%": { transform: "scale(1)" },
402
+ "20%": { transform: "scale(0.6)" },
403
+ "60%": { transform: "scale(1.35)" },
404
+ "100%": { transform: "scale(1)" }
405
+ },
406
+ ".hui-fb-shimmer": {
407
+ lineHeight: "normal",
408
+ backgroundImage: "linear-gradient(90deg, currentColor 0%, currentColor 20%, rgb(var(--hui-save-color-critical-200, var(--color-critical-200))) 33%, rgb(var(--hui-save-color-critical-500, var(--color-critical-500))) 50%, rgb(var(--hui-save-color-tertiary-400, var(--color-tertiary-400))) 67%, currentColor 80%, currentColor 100%)",
409
+ backgroundSize: "200% 100%",
410
+ backgroundClip: "text",
411
+ "-webkit-background-clip": "text",
412
+ "-webkit-text-fill-color": "transparent",
413
+ "@media (prefers-reduced-motion: reduce)": {
414
+ backgroundImage: "none !important",
415
+ "-webkit-text-fill-color": "currentColor !important"
416
+ }
417
+ },
418
+ ".hui-fb-color-flash .hui-fb-icon-frame svg path": {
419
+ animation: "saveHeartColorFlash 1100ms cubic-bezier(0.45, 0, 0.55, 1) 1",
420
+ animationFillMode: "forwards"
421
+ },
422
+ "@media (prefers-reduced-motion: reduce)": { ".hui-fb-color-flash .hui-fb-icon-frame svg path": { animation: "none !important" } }
423
+ });
424
+ matchUtilities({ "grid-area": (value) => {
425
+ return { "grid-area": value };
426
+ } });
427
+ }, { theme: {
428
+ borderRadius,
429
+ boxShadow,
430
+ colors,
431
+ extend: {
432
+ animation: {
433
+ fadeIn: "fadeIn .2s ease-in-out",
434
+ fadeInOpacity: "fadeInOpacity 0.5s ease-in-out",
435
+ fadeInScaled: "fadeInScaled .2s ease-in",
436
+ fadeOut: "fadeOut .2s ease-in-out",
437
+ loading: "loading 1.4s infinite ease-in-out",
438
+ "progress-completion": "shrink 0.15s ease-in-out both, grow 0.15s ease-in-out 0.15s both",
439
+ "progress-icon-fade-in": "fadeInOpacity 0.15s ease-in-out 0.15s both",
440
+ "progress-wave": "progressWave 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both, progressWaveRotate 1568ms linear infinite both",
441
+ saveButtonPulse: "saveButtonPulse 500ms cubic-bezier(0.34, 1.56, 0.64, 1)",
442
+ saveButtonWiggle: "saveButtonWiggle 1.3s cubic-bezier(0.36, 0, 0.66, -0.56)",
443
+ saveHeartColorFlash: "saveHeartColorFlash 1100ms cubic-bezier(0.45, 0, 0.55, 1)",
444
+ saveHeartPop: "saveHeartPop 480ms cubic-bezier(0.34, 1.56, 0.64, 1)",
445
+ saveHeartTwirlBloom: "saveHeartTwirlBloom 1100ms cubic-bezier(0.45, 0, 0.55, 1)",
446
+ saveLabelShimmer: "saveLabelShimmer 1100ms ease-in-out",
447
+ slideDown: "slideDown 0.3s ease-in forwards",
448
+ slideUp: "slideUp 0.3s ease-out forwards"
449
+ },
450
+ keyframes: {
451
+ fadeIn: {
452
+ from: { opacity: "0" },
453
+ to: { opacity: "1" }
454
+ },
455
+ fadeInOpacity: {
456
+ from: {
457
+ opacity: "0",
458
+ visibility: "hidden"
459
+ },
460
+ to: {
461
+ opacity: "1",
462
+ visibility: "visible"
463
+ }
464
+ },
465
+ fadeInScaled: {
466
+ from: {
467
+ opacity: "0",
468
+ transform: "scale(0.7)"
469
+ },
470
+ to: {
471
+ opacity: "1",
472
+ transform: "scale(1)"
473
+ }
474
+ },
475
+ fadeOut: {
476
+ from: {
477
+ opacity: "1",
478
+ transform: "scale(1)"
479
+ },
480
+ to: {
481
+ opacity: "0",
482
+ transform: "scale(0.7)"
483
+ }
484
+ },
485
+ grow: {
486
+ from: { transform: "scale(0.5)" },
487
+ to: { transform: "scale(1)" }
488
+ },
489
+ loading: {
490
+ "0%, 100%, 80%": { transform: "scale(0)" },
491
+ "40%": { transform: "scale(1)" }
492
+ },
493
+ progressWave: {
494
+ "0%": {
495
+ strokeDasharray: "var(--progress-wave-start)",
496
+ strokeDashoffset: "0"
497
+ },
498
+ "100%": {
499
+ strokeDasharray: "var(--progress-wave-end)",
500
+ strokeDashoffset: "var(--progress-wave-full)"
501
+ },
502
+ "50%": {
503
+ strokeDasharray: "var(--progress-wave-mid)",
504
+ strokeDashoffset: "var(--progress-wave-offset)"
505
+ }
506
+ },
507
+ progressWaveRotate: {
508
+ "0%": { transform: "rotate(-90deg)" },
509
+ "100%": { transform: "rotate(270deg)" }
510
+ },
511
+ saveButtonPulse: {
512
+ "0%": { transform: "scale(1)" },
513
+ "35%": { transform: "scale(1.08)" },
514
+ "65%": { transform: "scale(0.97)" },
515
+ "100%": { transform: "scale(1)" }
516
+ },
517
+ saveButtonWiggle: {
518
+ "0%, 100%": { transform: "rotate(0deg) scale(1)" },
519
+ "10%": { transform: "rotate(-6deg) scale(1.03)" },
520
+ "25%": { transform: "rotate(5deg) scale(1.03)" },
521
+ "40%": { transform: "rotate(-4deg) scale(1.02)" },
522
+ "55%": { transform: "rotate(3deg) scale(1.02)" },
523
+ "70%": { transform: "rotate(-1.5deg) scale(1.01)" },
524
+ "85%": { transform: "rotate(0.5deg) scale(1)" }
525
+ },
526
+ saveHeartColorFlash: {
527
+ "0%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" },
528
+ "40%": { fill: "rgb(var(--hui-save-color-critical-300, var(--color-critical-300)))" },
529
+ "60%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" },
530
+ "100%": { fill: "rgb(var(--hui-save-color-critical-500, var(--color-critical-500)))" }
531
+ },
532
+ saveHeartPop: {
533
+ "0%": { transform: "scale(1)" },
534
+ "20%": { transform: "scale(0.6)" },
535
+ "60%": { transform: "scale(1.35)" },
536
+ "100%": { transform: "scale(1)" }
537
+ },
538
+ saveHeartTwirlBloom: {
539
+ "0%": { transform: "rotateY(0deg) scale(1)" },
540
+ "50%": { transform: "rotateY(180deg) scale(1.35)" },
541
+ "100%": { transform: "rotateY(360deg) scale(1)" }
542
+ },
543
+ saveLabelShimmer: {
544
+ "0%": { backgroundPosition: "200% center" },
545
+ "100%": { backgroundPosition: "-200% center" }
546
+ },
547
+ shrink: {
548
+ from: { transform: "scale(1)" },
549
+ to: { transform: "scale(0.5)" }
550
+ },
551
+ slideDown: {
552
+ "0%": {
553
+ opacity: "1",
554
+ transform: "translateY(0)"
555
+ },
556
+ "100%": {
557
+ opacity: "0",
558
+ transform: "translateY(100%)"
559
+ }
560
+ },
561
+ slideUp: {
562
+ "0%": {
563
+ opacity: "0",
564
+ transform: "translateY(100%)"
565
+ },
566
+ "100%": {
567
+ opacity: "1",
568
+ transform: "translateY(0)"
569
+ }
570
+ }
571
+ },
572
+ maxWidth: width,
573
+ minWidth: width,
574
+ spacing,
575
+ width
576
+ },
577
+ fontFamily,
578
+ screens
579
+ } });
580
+ //#endregion
581
+ export { textComponents as n, colors as r, themePlugin as t };
582
+
583
+ //# sourceMappingURL=plugin-D4eCyUJe.mjs.map