@evolve.ui/theme-system 1.0.1 → 1.2.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 (119) hide show
  1. package/{allThemes-CFS_9-tk.cjs → allThemes-3d8nhymo.cjs} +12 -2
  2. package/allThemes-3d8nhymo.cjs.map +1 -0
  3. package/{allThemes-OV-ayn4C.mjs → allThemes-Abn6KDm7.mjs} +7 -3
  4. package/allThemes-Abn6KDm7.mjs.map +1 -0
  5. package/allThemes.cjs +1 -1
  6. package/allThemes.d.cts +1 -0
  7. package/allThemes.d.cts.map +1 -1
  8. package/allThemes.d.mts +1 -0
  9. package/allThemes.d.mts.map +1 -1
  10. package/allThemes.mjs +1 -1
  11. package/brands-CE0wIkKX.d.cts +58 -0
  12. package/brands-CE0wIkKX.d.cts.map +1 -0
  13. package/brands-CE0wIkKX.d.mts +58 -0
  14. package/brands-CE0wIkKX.d.mts.map +1 -0
  15. package/brands.cjs +16 -13
  16. package/brands.cjs.map +1 -1
  17. package/brands.d.cts +2 -2
  18. package/brands.d.mts +2 -2
  19. package/brands.mjs +16 -13
  20. package/brands.mjs.map +1 -1
  21. package/css/EverydayHarbor.css +377 -0
  22. package/css/EverydayHarbor.effects.css +650 -0
  23. package/{default-b-tgfyxR.cjs → default-B6VWF0Js.cjs} +237 -36
  24. package/default-B6VWF0Js.cjs.map +1 -0
  25. package/{default-B2n4PnsJ.mjs → default-BogJDhKE.mjs} +238 -37
  26. package/default-BogJDhKE.mjs.map +1 -0
  27. package/effects.cjs +26 -0
  28. package/effects.cjs.map +1 -0
  29. package/effects.d.cts +22 -0
  30. package/effects.d.cts.map +1 -0
  31. package/effects.d.mts +22 -0
  32. package/effects.d.mts.map +1 -0
  33. package/effects.mjs +22 -0
  34. package/effects.mjs.map +1 -0
  35. package/evolve-ui.entries.json +51 -0
  36. package/index.cjs +12 -5
  37. package/index.cjs.map +1 -1
  38. package/index.d.cts +108 -4
  39. package/index.d.cts.map +1 -1
  40. package/index.d.mts +108 -4
  41. package/index.d.mts.map +1 -1
  42. package/index.mjs +9 -6
  43. package/index.mjs.map +1 -1
  44. package/package.json +5 -1
  45. package/{plugin-DPtvp4lp.cjs → plugin-B3PF4RMI.cjs} +299 -110
  46. package/plugin-B3PF4RMI.cjs.map +1 -0
  47. package/{plugin-D4eCyUJe.mjs → plugin-D6aLCeNB.mjs} +258 -111
  48. package/plugin-D6aLCeNB.mjs.map +1 -0
  49. package/src/effects/__fixtures__/fixtureLayer.ts +88 -0
  50. package/src/effects/brands/EverydayHarbor.ts +392 -0
  51. package/src/effects/classes.ts +19 -0
  52. package/src/effects/emit.ts +314 -0
  53. package/src/effects/hooks.ts +493 -0
  54. package/src/effects/index.ts +2 -0
  55. package/src/effects/layers.ts +18 -0
  56. package/src/effects/rules.ts +90 -0
  57. package/src/effects/rules.typecheck.ts +50 -0
  58. package/src/effects/tokens.ts +148 -0
  59. package/src/effects/validate.ts +683 -0
  60. package/src/effects/vocabulary.ts +32 -0
  61. package/src/index.ts +40 -0
  62. package/src/tailwind/animation.ts +30 -0
  63. package/src/tailwind/borderRadius.ts +32 -0
  64. package/src/tailwind/borderWidth.ts +14 -0
  65. package/src/tailwind/boxShadow.ts +19 -0
  66. package/src/tailwind/colors.ts +332 -0
  67. package/src/tailwind/cssVars.ts +301 -0
  68. package/src/tailwind/fontFamily.ts +14 -0
  69. package/src/tailwind/plugin.ts +299 -0
  70. package/src/tailwind/reducedMotion.ts +164 -0
  71. package/src/tailwind/screens.ts +22 -0
  72. package/src/tailwind/spacing.ts +20 -0
  73. package/src/tailwind/text.ts +172 -0
  74. package/src/tailwind/width.ts +14 -0
  75. package/src/themeValues.snapshot.ts +6735 -0
  76. package/src/themes/BasketballTraining.ts +166 -0
  77. package/src/themes/Default.ts +165 -0
  78. package/src/themes/EverydayHarbor.ts +147 -0
  79. package/src/themes/ProfessionalBrand.ts +166 -0
  80. package/src/themes/allThemes.ts +14 -0
  81. package/src/themes/brandSources.ts +37 -0
  82. package/src/themes/brands.ts +63 -0
  83. package/src/themes/common.ts +65 -0
  84. package/src/themes/contrastFloors.ts +26 -0
  85. package/src/themes/generateCSSVars.ts +123 -0
  86. package/src/themes/inkRamps.ts +43 -0
  87. package/src/themes/runtime/basketballTraining.ts +3 -0
  88. package/src/themes/runtime/buildTheme.ts +411 -0
  89. package/src/themes/runtime/default.ts +3 -0
  90. package/src/themes/runtime/everydayHarbor.ts +3 -0
  91. package/src/themes/runtime/professionalBrand.ts +3 -0
  92. package/src/themes/semanticColorTokenSteps.ts +23 -0
  93. package/src/themes/themeType.ts +169 -0
  94. package/src/themes/themeValues.ts +374 -0
  95. package/src/themes/wcag.ts +48 -0
  96. package/src/themes/writeToCSSFile.ts +11 -0
  97. package/src/utils/cn.ts +35 -0
  98. package/src/utils/color.ts +82 -0
  99. package/src/utils/wrapVar.ts +24 -0
  100. package/tailwind/plugin.cjs +5 -1
  101. package/tailwind/plugin.d.cts +458 -1
  102. package/tailwind/plugin.d.cts.map +1 -1
  103. package/tailwind/plugin.d.mts +458 -1
  104. package/tailwind/plugin.d.mts.map +1 -1
  105. package/tailwind/plugin.mjs +2 -2
  106. package/themes/runtime/default.cjs +1 -1
  107. package/themes/runtime/default.mjs +1 -1
  108. package/themes/themeType.d.cts +1 -1
  109. package/themes/themeType.d.mts +1 -1
  110. package/allThemes-CFS_9-tk.cjs.map +0 -1
  111. package/allThemes-OV-ayn4C.mjs.map +0 -1
  112. package/brands-n30rolHQ.d.cts +0 -33
  113. package/brands-n30rolHQ.d.cts.map +0 -1
  114. package/brands-n30rolHQ.d.mts +0 -33
  115. package/brands-n30rolHQ.d.mts.map +0 -1
  116. package/default-B2n4PnsJ.mjs.map +0 -1
  117. package/default-b-tgfyxR.cjs.map +0 -1
  118. package/plugin-D4eCyUJe.mjs.map +0 -1
  119. package/plugin-DPtvp4lp.cjs.map +0 -1
@@ -9,10 +9,467 @@
9
9
  * Internal reference: Hammer UI patterns
10
10
  * Ported from the upstream theme system.
11
11
  */
12
+ declare const autofillStyles: {
13
+ '-webkit-box-shadow': string;
14
+ 'box-shadow': string;
15
+ };
16
+ declare const tailwindTheme: {
17
+ borderRadius: {
18
+ readonly button: string;
19
+ readonly checkbox: string;
20
+ readonly container: string;
21
+ readonly full: "9999px";
22
+ readonly input: string;
23
+ readonly lg: "16px";
24
+ readonly md: "8px";
25
+ readonly none: "0";
26
+ readonly 'search-input': string;
27
+ readonly sm: "4px";
28
+ readonly xl: "32px";
29
+ readonly xs: "2px";
30
+ };
31
+ borderWidth: {
32
+ DEFAULT: string;
33
+ 0: string;
34
+ 2: string;
35
+ 4: string;
36
+ 8: string;
37
+ };
38
+ boxShadow: Record<string, string>;
39
+ colors: Record<string, string | Record<string, string>>;
40
+ extend: {
41
+ animation: {
42
+ fadeIn: string;
43
+ fadeInOpacity: string;
44
+ fadeInScaled: string;
45
+ fadeOut: string;
46
+ loading: string;
47
+ 'progress-completion': string;
48
+ 'progress-icon-fade-in': string;
49
+ 'progress-wave': string;
50
+ saveButtonPulse: string;
51
+ saveButtonWiggle: string;
52
+ saveHeartColorFlash: string;
53
+ saveHeartPop: string;
54
+ saveHeartTwirlBloom: string;
55
+ saveLabelShimmer: string;
56
+ slideDown: string;
57
+ slideUp: string;
58
+ };
59
+ keyframes: {
60
+ fadeIn: {
61
+ from: {
62
+ opacity: string;
63
+ };
64
+ to: {
65
+ opacity: string;
66
+ };
67
+ };
68
+ fadeInOpacity: {
69
+ from: {
70
+ opacity: string;
71
+ visibility: string;
72
+ };
73
+ to: {
74
+ opacity: string;
75
+ visibility: string;
76
+ };
77
+ };
78
+ fadeInScaled: {
79
+ from: {
80
+ opacity: string;
81
+ transform: string;
82
+ };
83
+ to: {
84
+ opacity: string;
85
+ transform: string;
86
+ };
87
+ };
88
+ fadeOut: {
89
+ from: {
90
+ opacity: string;
91
+ transform: string;
92
+ };
93
+ to: {
94
+ opacity: string;
95
+ transform: string;
96
+ };
97
+ };
98
+ grow: {
99
+ from: {
100
+ transform: string;
101
+ };
102
+ to: {
103
+ transform: string;
104
+ };
105
+ };
106
+ loading: {
107
+ '0%, 100%, 80%': {
108
+ transform: string;
109
+ };
110
+ '40%': {
111
+ transform: string;
112
+ };
113
+ };
114
+ progressWave: {
115
+ '0%': {
116
+ strokeDasharray: string;
117
+ strokeDashoffset: string;
118
+ };
119
+ '100%': {
120
+ strokeDasharray: string;
121
+ strokeDashoffset: string;
122
+ };
123
+ '50%': {
124
+ strokeDasharray: string;
125
+ strokeDashoffset: string;
126
+ };
127
+ };
128
+ progressWaveRotate: {
129
+ '0%': {
130
+ transform: string;
131
+ };
132
+ '100%': {
133
+ transform: string;
134
+ };
135
+ };
136
+ saveButtonPulse: {
137
+ '0%': {
138
+ transform: string;
139
+ };
140
+ '35%': {
141
+ transform: string;
142
+ };
143
+ '65%': {
144
+ transform: string;
145
+ };
146
+ '100%': {
147
+ transform: string;
148
+ };
149
+ };
150
+ saveButtonWiggle: {
151
+ '0%, 100%': {
152
+ transform: string;
153
+ };
154
+ '10%': {
155
+ transform: string;
156
+ };
157
+ '25%': {
158
+ transform: string;
159
+ };
160
+ '40%': {
161
+ transform: string;
162
+ };
163
+ '55%': {
164
+ transform: string;
165
+ };
166
+ '70%': {
167
+ transform: string;
168
+ };
169
+ '85%': {
170
+ transform: string;
171
+ };
172
+ };
173
+ saveHeartColorFlash: {
174
+ '0%': {
175
+ fill: string;
176
+ };
177
+ '40%': {
178
+ fill: string;
179
+ };
180
+ '60%': {
181
+ fill: string;
182
+ };
183
+ '100%': {
184
+ fill: string;
185
+ };
186
+ };
187
+ saveHeartPop: {
188
+ '0%': {
189
+ transform: string;
190
+ };
191
+ '20%': {
192
+ transform: string;
193
+ };
194
+ '60%': {
195
+ transform: string;
196
+ };
197
+ '100%': {
198
+ transform: string;
199
+ };
200
+ };
201
+ saveHeartTwirlBloom: {
202
+ '0%': {
203
+ transform: string;
204
+ };
205
+ '30%': {
206
+ transform: string;
207
+ };
208
+ '100%': {
209
+ transform: string;
210
+ };
211
+ };
212
+ saveLabelShimmer: {
213
+ '0%': {
214
+ backgroundPosition: string;
215
+ };
216
+ '100%': {
217
+ backgroundPosition: string;
218
+ };
219
+ };
220
+ shrink: {
221
+ from: {
222
+ transform: string;
223
+ };
224
+ to: {
225
+ transform: string;
226
+ };
227
+ };
228
+ slideDown: {
229
+ '0%': {
230
+ opacity: string;
231
+ transform: string;
232
+ };
233
+ '100%': {
234
+ opacity: string;
235
+ transform: string;
236
+ };
237
+ };
238
+ slideUp: {
239
+ '0%': {
240
+ opacity: string;
241
+ transform: string;
242
+ };
243
+ '100%': {
244
+ opacity: string;
245
+ transform: string;
246
+ };
247
+ };
248
+ };
249
+ maxWidth: {
250
+ readonly dense: string;
251
+ readonly page: string;
252
+ };
253
+ minWidth: {
254
+ readonly dense: string;
255
+ readonly page: string;
256
+ };
257
+ spacing: {
258
+ readonly '2xl': "64px";
259
+ readonly '2xs': "4px";
260
+ readonly '3xl': "128px";
261
+ readonly '3xs': "2px";
262
+ readonly lg: "32px";
263
+ readonly md: "24px";
264
+ readonly sm: "16px";
265
+ readonly xl: "48px";
266
+ readonly xs: "8px";
267
+ };
268
+ width: {
269
+ readonly dense: string;
270
+ readonly page: string;
271
+ };
272
+ };
273
+ fontFamily: {
274
+ primary: string;
275
+ secondary: string;
276
+ };
277
+ screens: {
278
+ readonly desktop: {
279
+ readonly min: "769px";
280
+ };
281
+ readonly lgMax: {
282
+ readonly max: "1644px";
283
+ };
284
+ readonly lgMin: {
285
+ readonly min: "1249px";
286
+ };
287
+ readonly mdMax: {
288
+ readonly max: "1248px";
289
+ };
290
+ readonly mdMin: {
291
+ readonly min: "1024px";
292
+ };
293
+ readonly mobile: {
294
+ readonly max: "480px";
295
+ };
296
+ readonly mobileSmall: {
297
+ readonly max: "380px";
298
+ };
299
+ readonly print: {
300
+ readonly raw: "print";
301
+ };
302
+ readonly smMax: {
303
+ readonly max: "1023px";
304
+ };
305
+ readonly smMin: {
306
+ readonly min: "769px";
307
+ };
308
+ readonly tabletMax: {
309
+ readonly max: "954px";
310
+ };
311
+ readonly tabletMin: {
312
+ readonly min: "954px";
313
+ };
314
+ readonly xlMin: {
315
+ readonly min: "1645px";
316
+ };
317
+ readonly xsMax: {
318
+ readonly max: "768px";
319
+ };
320
+ };
321
+ };
322
+ declare const pluginComponentStyles: {
323
+ '.hui-autofill-transparent': {
324
+ '&:-webkit-autofill': {
325
+ '-webkit-box-shadow': string;
326
+ 'box-shadow': string;
327
+ };
328
+ '&:-webkit-autofill:active': {
329
+ '-webkit-box-shadow': string;
330
+ 'box-shadow': string;
331
+ };
332
+ '&:-webkit-autofill:focus': {
333
+ '-webkit-box-shadow': string;
334
+ 'box-shadow': string;
335
+ };
336
+ '&:-webkit-autofill:hover': {
337
+ '-webkit-box-shadow': string;
338
+ 'box-shadow': string;
339
+ };
340
+ };
341
+ '.hui-focus-visible-outline': {
342
+ '@apply focus-visible:outline-focus-primary focus-visible:outline focus-visible:outline-4': {};
343
+ };
344
+ '.hui-focus-visible-outline-inverse': {
345
+ '@apply focus-visible:outline-focus-inverse focus-visible:outline focus-visible:outline-4': {};
346
+ };
347
+ '.scrollbar-default': {
348
+ '&::-webkit-scrollbar': {
349
+ display: string;
350
+ };
351
+ '-ms-overflow-style': string;
352
+ 'scrollbar-width': string;
353
+ };
354
+ '.scrollbar-hide': {
355
+ '&::-webkit-scrollbar': {
356
+ display: string;
357
+ };
358
+ '-ms-overflow-style': string;
359
+ 'scrollbar-width': string;
360
+ };
361
+ };
362
+ declare const pluginBaseStyles: {
363
+ "@media (prefers-reduced-motion: reduce)": Record<string, {
364
+ 'animation-delay': string;
365
+ 'animation-duration': string;
366
+ 'animation-iteration-count': string;
367
+ }>;
368
+ '@keyframes saveButtonWiggle': {
369
+ '0%, 100%': {
370
+ transform: string;
371
+ };
372
+ '10%': {
373
+ transform: string;
374
+ };
375
+ '25%': {
376
+ transform: string;
377
+ };
378
+ '40%': {
379
+ transform: string;
380
+ };
381
+ '55%': {
382
+ transform: string;
383
+ };
384
+ '70%': {
385
+ transform: string;
386
+ };
387
+ '85%': {
388
+ transform: string;
389
+ };
390
+ };
391
+ '@keyframes saveHeartTwirlBloom': {
392
+ '0%': {
393
+ transform: string;
394
+ };
395
+ '30%': {
396
+ transform: string;
397
+ };
398
+ '100%': {
399
+ transform: string;
400
+ };
401
+ };
402
+ '@keyframes saveHeartColorFlash': {
403
+ '0%': {
404
+ fill: string;
405
+ };
406
+ '40%': {
407
+ fill: string;
408
+ };
409
+ '60%': {
410
+ fill: string;
411
+ };
412
+ '100%': {
413
+ fill: string;
414
+ };
415
+ };
416
+ '@keyframes saveLabelShimmer': {
417
+ '0%': {
418
+ backgroundPosition: string;
419
+ };
420
+ '100%': {
421
+ backgroundPosition: string;
422
+ };
423
+ };
424
+ '@keyframes saveButtonPulse': {
425
+ '0%': {
426
+ transform: string;
427
+ };
428
+ '35%': {
429
+ transform: string;
430
+ };
431
+ '65%': {
432
+ transform: string;
433
+ };
434
+ '100%': {
435
+ transform: string;
436
+ };
437
+ };
438
+ '@keyframes saveHeartPop': {
439
+ '0%': {
440
+ transform: string;
441
+ };
442
+ '20%': {
443
+ transform: string;
444
+ };
445
+ '60%': {
446
+ transform: string;
447
+ };
448
+ '100%': {
449
+ transform: string;
450
+ };
451
+ };
452
+ '.hui-fb-shimmer': {
453
+ lineHeight: string;
454
+ backgroundImage: string;
455
+ backgroundSize: string;
456
+ backgroundClip: string;
457
+ '-webkit-background-clip': string;
458
+ '-webkit-text-fill-color': string;
459
+ '@media (prefers-reduced-motion: reduce)': {
460
+ backgroundImage: string;
461
+ '-webkit-text-fill-color': string;
462
+ };
463
+ };
464
+ '.hui-fb-color-flash .hui-fb-icon-frame svg path': {
465
+ animation: string;
466
+ animationFillMode: string;
467
+ };
468
+ };
12
469
  declare const themePlugin: {
13
470
  handler: import("tailwindcss/types/config").PluginCreator;
14
471
  config?: Partial<import("tailwindcss/types/config").Config>;
15
472
  };
16
473
  //#endregion
17
- export { themePlugin };
474
+ export { autofillStyles, pluginBaseStyles, pluginComponentStyles, tailwindTheme, themePlugin };
18
475
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/tailwind/plugin.ts"],"mappings":";;AA2BA;;;;;;;;;cAAa,WAAA;;WAwRZ,OAAA"}
1
+ {"version":3,"file":"plugin.d.cts","names":[],"sources":["../../src/tailwind/plugin.ts"],"mappings":";;AAyBA;;;;;AAKA;;;;cALa,cAAA;EAGZ,oBAAA;EAAA,YAAA;AAAA;AAAA,cAEY,aAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2IA,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsCA,gBAAA;6CAuEZ,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEY,WAAA;;WAkBZ,OAAA"}