@hanzo/ui 4.5.4 → 4.7.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 (203) hide show
  1. package/README.md +229 -0
  2. package/bin/create-registry.js +1 -1
  3. package/bin/test-mcp.sh +1 -1
  4. package/bin/update-registry.js +2 -2
  5. package/dist/index.d.mts +16 -0
  6. package/dist/index.d.ts +16 -0
  7. package/dist/index.js +9458 -0
  8. package/dist/index.mjs +9449 -0
  9. package/dist/lib/utils.d.mts +2 -0
  10. package/dist/lib/utils.d.ts +2 -0
  11. package/dist/lib/utils.js +47 -0
  12. package/dist/lib/utils.mjs +28 -0
  13. package/dist/src/utils.d.mts +7 -0
  14. package/dist/src/utils.d.ts +7 -0
  15. package/dist/src/utils.js +47 -0
  16. package/dist/src/utils.mjs +28 -0
  17. package/dist/tailwind/index.d.mts +2 -0
  18. package/dist/tailwind/index.d.ts +2 -0
  19. package/dist/tailwind/index.js +2048 -0
  20. package/dist/tailwind/index.mjs +2017 -0
  21. package/dist/types/index.d.mts +12 -0
  22. package/dist/types/index.d.ts +12 -0
  23. package/dist/types/index.js +79 -0
  24. package/dist/types/index.mjs +56 -0
  25. package/package.json +170 -23
  26. package/style/theme-provider.tsx +1 -1
  27. package/MCP-INSTRUCTIONS.md +0 -73
  28. package/README-MCP.md +0 -175
  29. package/blocks/components/accordian-block.tsx +0 -48
  30. package/blocks/components/block-component-props.ts +0 -11
  31. package/blocks/components/bullet-cards-block.tsx +0 -46
  32. package/blocks/components/card-block/index.tsx +0 -171
  33. package/blocks/components/card-block/link-out-button.tsx +0 -20
  34. package/blocks/components/card-block/util.ts +0 -28
  35. package/blocks/components/carte-blanche-block/index.tsx +0 -127
  36. package/blocks/components/carte-blanche-block/variant-content-left.tsx +0 -49
  37. package/blocks/components/content.tsx +0 -70
  38. package/blocks/components/cta-block.tsx +0 -115
  39. package/blocks/components/enh-heading-block.tsx +0 -204
  40. package/blocks/components/grid-block/grid-block-mutator.ts +0 -12
  41. package/blocks/components/grid-block/index.tsx +0 -83
  42. package/blocks/components/grid-block/mutator-registry.ts +0 -10
  43. package/blocks/components/grid-block/table-borders.mutator.ts +0 -47
  44. package/blocks/components/group-block.tsx +0 -83
  45. package/blocks/components/heading-block.tsx +0 -88
  46. package/blocks/components/image-block.tsx +0 -111
  47. package/blocks/components/index.ts +0 -30
  48. package/blocks/components/screenful-block/content.tsx +0 -123
  49. package/blocks/components/screenful-block/index.tsx +0 -107
  50. package/blocks/components/screenful-block/poster-background.tsx +0 -34
  51. package/blocks/components/screenful-block/video-background.tsx +0 -45
  52. package/blocks/components/space-block.tsx +0 -66
  53. package/blocks/components/video-block.tsx +0 -138
  54. package/blocks/def/accordian-block.ts +0 -14
  55. package/blocks/def/block.ts +0 -7
  56. package/blocks/def/bullet-cards-block.ts +0 -22
  57. package/blocks/def/card-block.ts +0 -22
  58. package/blocks/def/carte-blanche-block.ts +0 -21
  59. package/blocks/def/cta-block.ts +0 -19
  60. package/blocks/def/element-block.ts +0 -11
  61. package/blocks/def/enh-heading-block.ts +0 -44
  62. package/blocks/def/grid-block.ts +0 -16
  63. package/blocks/def/group-block.ts +0 -11
  64. package/blocks/def/heading-block.ts +0 -15
  65. package/blocks/def/image-block.ts +0 -31
  66. package/blocks/def/index.ts +0 -35
  67. package/blocks/def/screenful-block.ts +0 -54
  68. package/blocks/def/space-block.ts +0 -64
  69. package/blocks/def/video-block.ts +0 -9
  70. package/blocks/index.ts +0 -2
  71. package/dist/mcp/enhanced-server.d.ts +0 -29
  72. package/dist/mcp/enhanced-server.js +0 -1128
  73. package/dist/mcp/index.d.ts +0 -28
  74. package/dist/mcp/index.js +0 -436
  75. package/dist/registry/api.d.ts +0 -37
  76. package/dist/registry/api.js +0 -129
  77. package/dist/registry/index.d.ts +0 -353
  78. package/dist/registry/index.js +0 -45
  79. package/environment.d.ts +0 -6
  80. package/primitives/accordion.tsx +0 -66
  81. package/primitives/action-button.tsx +0 -42
  82. package/primitives/apply-typography.tsx +0 -55
  83. package/primitives/aspect-ratio.tsx +0 -5
  84. package/primitives/avatar.tsx +0 -49
  85. package/primitives/badge.tsx +0 -36
  86. package/primitives/breadcrumb.tsx +0 -115
  87. package/primitives/breakpoint-indicator.tsx +0 -19
  88. package/primitives/button.tsx +0 -85
  89. package/primitives/calendar.tsx +0 -72
  90. package/primitives/card.tsx +0 -83
  91. package/primitives/carousel.tsx +0 -237
  92. package/primitives/checkbox.tsx +0 -32
  93. package/primitives/combobox.tsx +0 -239
  94. package/primitives/command.tsx +0 -157
  95. package/primitives/context-menu.tsx +0 -200
  96. package/primitives/dialog-video-controller.tsx +0 -38
  97. package/primitives/dialog.tsx +0 -157
  98. package/primitives/drawer.tsx +0 -138
  99. package/primitives/form.tsx +0 -178
  100. package/primitives/icons/github.tsx +0 -14
  101. package/primitives/icons/index.ts +0 -18
  102. package/primitives/icons/youtube-logo.tsx +0 -59
  103. package/primitives/index-common.ts +0 -224
  104. package/primitives/index-next.ts +0 -2
  105. package/primitives/input-otp.tsx +0 -65
  106. package/primitives/input.tsx +0 -30
  107. package/primitives/label.tsx +0 -28
  108. package/primitives/list-adaptor.ts +0 -12
  109. package/primitives/list-box.tsx +0 -74
  110. package/primitives/loading-spinner.tsx +0 -33
  111. package/primitives/navigation-menu.tsx +0 -147
  112. package/primitives/next/image.tsx +0 -90
  113. package/primitives/next/index.ts +0 -7
  114. package/primitives/next/inline-icon.tsx +0 -36
  115. package/primitives/next/link-element.tsx +0 -109
  116. package/primitives/next/mdx-link.tsx +0 -22
  117. package/primitives/next/media-stack.tsx +0 -69
  118. package/primitives/next/nav-items.tsx +0 -45
  119. package/primitives/next/youtube-embed.tsx +0 -83
  120. package/primitives/popover.tsx +0 -37
  121. package/primitives/progress.tsx +0 -27
  122. package/primitives/radio-group.tsx +0 -56
  123. package/primitives/scroll-area.tsx +0 -47
  124. package/primitives/select.tsx +0 -169
  125. package/primitives/separator.tsx +0 -29
  126. package/primitives/sheet.tsx +0 -178
  127. package/primitives/skeleton.tsx +0 -20
  128. package/primitives/slider.tsx +0 -72
  129. package/primitives/sonner.tsx +0 -35
  130. package/primitives/step-indicator.tsx +0 -69
  131. package/primitives/switch.tsx +0 -35
  132. package/primitives/table.tsx +0 -117
  133. package/primitives/tabs.tsx +0 -60
  134. package/primitives/text-area.tsx +0 -26
  135. package/primitives/toggle-group.tsx +0 -63
  136. package/primitives/toggle.tsx +0 -73
  137. package/primitives/tooltip.tsx +0 -48
  138. package/primitives/video-player.tsx +0 -23
  139. package/public/r/accordion.json +0 -11
  140. package/public/r/alert.json +0 -11
  141. package/public/r/avatar.json +0 -11
  142. package/public/r/badge.json +0 -11
  143. package/public/r/button.json +0 -11
  144. package/public/r/card.json +0 -11
  145. package/public/r/checkbox.json +0 -11
  146. package/public/r/default.json +0 -6
  147. package/public/r/dialog.json +0 -11
  148. package/public/r/input.json +0 -11
  149. package/public/r/label.json +0 -11
  150. package/public/r/new-york.json +0 -6
  151. package/public/r/popover.json +0 -11
  152. package/public/r/select.json +0 -11
  153. package/public/r/table.json +0 -11
  154. package/public/r/tabs.json +0 -11
  155. package/public/r/toast.json +0 -11
  156. package/registry.json +0 -184
  157. package/src/mcp/README.md +0 -141
  158. package/src/mcp/enhanced-server.ts +0 -1208
  159. package/src/mcp/index.ts +0 -518
  160. package/src/mcp/package.json +0 -10
  161. package/src/registry/api.ts +0 -164
  162. package/src/registry/index.ts +0 -60
  163. package/src/registry/package.json +0 -10
  164. package/tailwind/colors.tailwind.js +0 -53
  165. package/tailwind/fontFamily.tailwind.ts +0 -7
  166. package/tailwind/fontSize.tailwind.ts +0 -13
  167. package/tailwind/index.ts +0 -7
  168. package/tailwind/safelist.tailwind.js +0 -26
  169. package/tailwind/screens.tailwind.js +0 -8
  170. package/tailwind/spacing.tailwind.js +0 -65
  171. package/tailwind/tailwind.config.hanzo-preset.d.ts +0 -5
  172. package/tailwind/tailwind.config.hanzo-preset.js +0 -915
  173. package/tailwind/tw-font-desc.ts +0 -15
  174. package/tailwind/typo-plugin/get-plugin-styles.js +0 -679
  175. package/tailwind/typo-plugin/index.d.ts +0 -9
  176. package/tailwind/typo-plugin/index.js +0 -141
  177. package/tailwind/typo-plugin/utils.js +0 -60
  178. package/tailwind/typography-test.mdx +0 -35
  179. package/tailwind/z-index.tailwind.js +0 -71
  180. package/test/test-registry.js +0 -73
  181. package/tsconfig.json +0 -22
  182. package/types/animation-def.ts +0 -3
  183. package/types/breakpoints.ts +0 -11
  184. package/types/bullet-item.ts +0 -10
  185. package/types/button-def.ts +0 -39
  186. package/types/dimensions.ts +0 -8
  187. package/types/grid-def.ts +0 -56
  188. package/types/image-def.ts +0 -32
  189. package/types/index.ts +0 -29
  190. package/types/link-def.ts +0 -56
  191. package/types/media-stack-def.ts +0 -31
  192. package/types/t-shirt-size.ts +0 -5
  193. package/types/tshirt-dimensions.ts +0 -20
  194. package/types/video-def.ts +0 -25
  195. package/util/format-and-abbreviate-as-currency.ts +0 -125
  196. package/util/format-to-max-char.ts +0 -68
  197. package/util/index-client.ts +0 -3
  198. package/util/index.ts +0 -78
  199. package/util/number-abbreviate.ts +0 -49
  200. package/util/specifier.ts +0 -43
  201. package/util/spread-to-transform.ts +0 -24
  202. package/util/step-animation.ts +0 -90
  203. package/util/two-way-map.ts +0 -19
@@ -0,0 +1,2017 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
+
4
+ // tailwind/tailwind.config.hanzo-preset.js
5
+ import animatePlugin from "tailwindcss-animate";
6
+ import containerQueriesPlugin from "@tailwindcss/container-queries";
7
+ import tailwindInteractionMediaPlugin from "tailwindcss-interaction-media";
8
+
9
+ // tailwind/colors.tailwind.js
10
+ var colors_tailwind_default = /* @__PURE__ */ __name(({ colors }) => ({
11
+ inherit: colors.inherit,
12
+ current: colors.current,
13
+ transparent: colors.transparent,
14
+ ring: "var(--hz-ui-ring)",
15
+ background: "var(--hz-ui-bg-0)",
16
+ // Should be partially transparent,
17
+ // so opacity animations in 'vaul' module and other 3rd party stuff work
18
+ overlay: "var(--hz-ui-bg-overlay)",
19
+ // levels forward in z-index (a la Material Design)
20
+ level: {
21
+ DEFAULT: "var(--hz-ui-bg-0)",
22
+ "0": "var(--hz-ui-bg-0)",
23
+ "1": "var(--hz-ui-bg-1)",
24
+ "2": "var(--hz-ui-bg-2)",
25
+ "3": "var(--hz-ui-bg-3)"
26
+ },
27
+ accent: "var(--hz-ui-fg-0)",
28
+ // full contrast (darkTheme:white) : heading and links hover
29
+ foreground: "var(--hz-ui-fg-body)",
30
+ // body text off-white (bright enough to contrast to bg-level-1)
31
+ muted: {
32
+ DEFAULT: "var(--hz-ui-fg-2)",
33
+ // de-emphasized: fine print
34
+ "1": "var(--hz-ui-fg-2)",
35
+ // synonymous ^^^
36
+ "2": "var(--hz-ui-fg-3)",
37
+ // disabled or very de-emphasized
38
+ "3": "var(--hz-ui-fg-4)",
39
+ // very disabled ;)
40
+ "4": "var(--hz-ui-fg-5)"
41
+ // disabled border
42
+ },
43
+ primary: {
44
+ DEFAULT: "var(--hz-ui-primary)",
45
+ lux: "var(--hz-ui-primary)",
46
+ // in case there are two configs
47
+ hover: "var(--hz-ui-primary-hover)",
48
+ fg: "var(--hz-ui-primary-fg)"
49
+ },
50
+ secondary: {
51
+ DEFAULT: "var(--hz-ui-secondary)",
52
+ lux: "var(--hz-ui-secondary)",
53
+ // in case there are two configs
54
+ hover: "var(--hz-ui-secondary-hover)",
55
+ fg: "var(--hz-ui-secondary-fg)",
56
+ "0": "var(--hz-ui-secondary-0)",
57
+ "1": "var(--hz-ui-secondary-1)",
58
+ "2": "var(--hz-ui-secondary-2)",
59
+ "3": "var(--hz-ui-secondary-3)"
60
+ },
61
+ destructive: {
62
+ DEFAULT: "var(--hz-ui-destructive)",
63
+ fg: "var(--hz-ui-destructive-fg)"
64
+ },
65
+ nav: {
66
+ DEFAULT: "var(--hz-ui-nav)",
67
+ hover: "var(--hz-ui-nav-hover)",
68
+ current: "var(--hz-ui-nav-current)"
69
+ }
70
+ }), "default");
71
+
72
+ // tailwind/safelist.tailwind.js
73
+ var safelist_tailwind_default = [
74
+ "font-sans",
75
+ {
76
+ pattern: /grid-cols-[1-6]/,
77
+ variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
78
+ },
79
+ {
80
+ // SpaceBlock
81
+ pattern: /h-([0-9]|[1-3][0-9]|40)/,
82
+ variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
83
+ },
84
+ {
85
+ pattern: /order-[0-6]/
86
+ },
87
+ {
88
+ // EnhHeadingBlock
89
+ pattern: /mb-([1-9]|1[0-2])/
90
+ },
91
+ "md:text-left",
92
+ // EnhHeadingBlock
93
+ "md:text-center",
94
+ "md:text-right",
95
+ "md:self-start",
96
+ "md:self-center",
97
+ "md:self-end"
98
+ ];
99
+
100
+ // tailwind/screens.tailwind.js
101
+ var screens_tailwind_default = {
102
+ xs: "0px",
103
+ // <-- phone
104
+ sm: "480px",
105
+ // phone --><-- sm tablets / narrow
106
+ md: "768px",
107
+ // sm tablets / narrow -->
108
+ lg: "1024px",
109
+ xl: "1280px",
110
+ "2xl": "1500px"
111
+ };
112
+
113
+ // tailwind/spacing.tailwind.js
114
+ var percentages = {};
115
+ for (let i = 0; i <= 100; i++) {
116
+ percentages[`pr-${i}`] = `${i}%`;
117
+ }
118
+ var spacing_tailwind_default = {
119
+ ...percentages,
120
+ px: "1px",
121
+ 0: "0px",
122
+ 0.5: "0.125rem",
123
+ 1: "0.25rem",
124
+ 1.5: "0.375rem",
125
+ 2: "0.5rem",
126
+ 2.5: "0.625rem",
127
+ 3: "0.75rem",
128
+ 3.5: "0.875rem",
129
+ 4: "1rem",
130
+ 5: "1.25rem",
131
+ 6: "1.5rem",
132
+ 7: "1.75rem",
133
+ 8: "2rem",
134
+ 9: "2.25rem",
135
+ 10: "2.5rem",
136
+ 11: "2.75rem",
137
+ 12: "3rem",
138
+ 13: "3.25rem",
139
+ 14: "3.5rem",
140
+ 15: "3.75rem",
141
+ 16: "4rem",
142
+ 17: "4.25rem",
143
+ 18: "4.5rem",
144
+ 19: "4.75rem",
145
+ 20: "5rem",
146
+ 21: "5.25rem",
147
+ 22: "5.5rem",
148
+ 23: "5.75rem",
149
+ 24: "6rem",
150
+ 25: "5.25rem",
151
+ 26: "5.5rem",
152
+ 27: "5.75rem",
153
+ 28: "7rem",
154
+ 29: "7.25rem",
155
+ 30: "7.5rem",
156
+ 31: "7.75rem",
157
+ 32: "8rem",
158
+ 33: "8.25rem",
159
+ 34: "8.5rem",
160
+ 35: "8.75rem",
161
+ 36: "9rem",
162
+ 37: "9.25rem",
163
+ 38: "9.5rem",
164
+ 39: "9.75rem",
165
+ 40: "10rem",
166
+ 44: "11rem",
167
+ 48: "12rem",
168
+ 52: "13rem",
169
+ 56: "14rem",
170
+ 60: "15rem",
171
+ 64: "16rem",
172
+ 72: "18rem",
173
+ 80: "20rem",
174
+ 96: "24rem"
175
+ };
176
+
177
+ // tailwind/fontSize.tailwind.ts
178
+ var fontSize_tailwind_default = {
179
+ xxs: ["0.65rem", { lineHeight: "0.8rem" }],
180
+ // very fine print
181
+ xs: ["0.8rem", { lineHeight: "1rem" }],
182
+ // fine print
183
+ sm: ["0.9rem", { lineHeight: "1.2rem" }],
184
+ // 'standard' some news article cards (set manually when using typography-sm)
185
+ base: ["1rem", { lineHeight: 1.4 }],
186
+ lg: ["1.125rem", { lineHeight: "1.75rem" }],
187
+ xl: ["1.25rem", { lineHeight: "1.75rem" }],
188
+ "2xl": ["1.5rem", { lineHeight: "2rem" }],
189
+ "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
190
+ "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
191
+ "5xl": ["3rem", { lineHeight: "1" }],
192
+ "6xl": ["3.75rem", { lineHeight: "1" }]
193
+ };
194
+
195
+ // tailwind/fontFamily.tailwind.ts
196
+ var fontFamily_tailwind_default = {
197
+ sans: ["sans-serif"],
198
+ heading: ["serif"],
199
+ nav: ["serif"],
200
+ serif: ["serif"],
201
+ mono: ["monospace"]
202
+ };
203
+
204
+ // tailwind/z-index.tailwind.js
205
+ var zIndex = {
206
+ auto: "auto",
207
+ unset: "unset",
208
+ ...{
209
+ "below-content-3": "-3",
210
+ "below-content-2": "-2",
211
+ "below-content-1": "-1",
212
+ "below-content": "-1",
213
+ "content": "0",
214
+ "above-content": "1",
215
+ "above-content-1": "1",
216
+ "above-content-2": "2",
217
+ "above-content-3": "3"
218
+ },
219
+ // popups that may scroll w content, appear below header, etc
220
+ // for larger, modal popups, please use 'modal'
221
+ ...{
222
+ "below-popup-3": "7",
223
+ "below-popup-2": "8",
224
+ "below-popup-1": "9",
225
+ "below-popup": "9",
226
+ "popup": "10",
227
+ "above-popup": "11",
228
+ "above-popup-1": "11",
229
+ "above-popup-2": "12",
230
+ "above-popup-3": "13"
231
+ },
232
+ ...{
233
+ "below-header-3": "17",
234
+ "below-header-2": "18",
235
+ "below-header-1": "19",
236
+ "below-header": "19",
237
+ "header": "20",
238
+ "above-header": "21",
239
+ "above-header-1": "21",
240
+ "above-header-2": "22",
241
+ "above-header-3": "23"
242
+ },
243
+ // drawer, dialog, full screen menu
244
+ ...{
245
+ "below-modal-3": "27",
246
+ "below-modal-2": "28",
247
+ "below-modal-1": "29",
248
+ "below-modal": "29",
249
+ "modal": "30",
250
+ "above-modal": "31",
251
+ "above-modal-1": "31",
252
+ "above-modal-2": "32",
253
+ "above-modal-3": "33"
254
+ },
255
+ // "highest": help button, other UI that floats above everything.
256
+ ...{
257
+ "below-floating-3": "37",
258
+ "below-floating-2": "38",
259
+ "below-floating-1": "39",
260
+ "below-floating": "39",
261
+ "floating": "40",
262
+ "above-floating": "41",
263
+ "above-floating-1": "41",
264
+ "above-floating-2": "42",
265
+ "above-floating-3": "43"
266
+ }
267
+ };
268
+ for (let i = 0; i <= 50; i++) {
269
+ zIndex[`${i}`] = `${i}`;
270
+ }
271
+ var z_index_tailwind_default = zIndex;
272
+
273
+ // tailwind/typo-plugin/index.js
274
+ import plugin from "tailwindcss/plugin";
275
+ import merge from "lodash.merge";
276
+ import castArray from "lodash.castarray";
277
+
278
+ // util/index.ts
279
+ function round(value) {
280
+ return Math.round(value * 100) / 100;
281
+ }
282
+ __name(round, "round");
283
+ function pxToRem(px, base = 16) {
284
+ return `${px / base}rem`;
285
+ }
286
+ __name(pxToRem, "pxToRem");
287
+ function pxToEm(px, base = 16) {
288
+ return `${px / base}em`;
289
+ }
290
+ __name(pxToEm, "pxToEm");
291
+
292
+ // tailwind/typo-plugin/get-plugin-styles.js
293
+ var typographyColorTheme = {
294
+ // vars are defined in global.css
295
+ // and dark mode is handled at that level.
296
+ "--tw-typo-plugin-body": "var(--hz-ui-fg-body)",
297
+ "--tw-typo-plugin-headings": "var(--hz-ui-fg-0)",
298
+ "--tw-typo-plugin-links": "var(--hz-ui-fg-0)",
299
+ "--tw-typo-plugin-links-hover": "var(--hz-ui-fg-2)",
300
+ "--tw-typo-plugin-bold": "var(--hz-ui-fg-0)",
301
+ "--tw-typo-plugin-counters": "var(--hz-ui-fg-4)",
302
+ "--tw-typo-plugin-bullets": "var(--hz-ui-fg-2)",
303
+ "--tw-typo-plugin-hr": "var(--hz-ui-fg-2)",
304
+ "--tw-typo-plugin-quotes": "var(--hz-ui-fg-body)",
305
+ "--tw-typo-plugin-quote-borders": "var(--hz-ui-fg-3)",
306
+ "--tw-typo-plugin-captions": "var(--hz-ui-fg-2)",
307
+ "--tw-typo-plugin-kbd": "var(--hz-ui-fg-0)",
308
+ "--tw-typo-plugin-kbd-shadows": "var(--hz-ui-fg-1)",
309
+ "--tw-typo-plugin-code": "var(--hz-ui-fg-0)",
310
+ "--tw-typo-plugin-pre-code": "var(--hz-ui-fg-1)",
311
+ "--tw-typo-plugin-pre-bg": "var(--hz-ui-bg-1)",
312
+ "--tw-typo-plugin-th-borders": "var(--hz-ui-fg-2)",
313
+ "--tw-typo-plugin-td-borders": "var(--hz-ui-fg-3)"
314
+ };
315
+ var defaultCSS = {
316
+ color: "var(--tw-typo-plugin-body)",
317
+ // YUCK maxWidth: '65ch',
318
+ p: {
319
+ textAlign: "inherit"
320
+ },
321
+ // Required to maintain correct order when merging
322
+ "p:first-child": {},
323
+ "p:last-child": {},
324
+ a: {
325
+ color: "var(--tw-typo-plugin-links)",
326
+ textDecoration: "underline",
327
+ fontWeight: "400"
328
+ },
329
+ "a:hover": {
330
+ color: "var(--tw-typo-plugin-links-hover)"
331
+ },
332
+ blockquote: {
333
+ fontWeight: "400",
334
+ fontStyle: "italic",
335
+ color: "var(--tw-typo-plugin-quotes)",
336
+ quotes: '"\\201C""\\201D""\\2018""\\2019"'
337
+ },
338
+ //'blockquote::before': {},
339
+ //'blockquote::after': {},
340
+ "blockquote p:first-of-type::before": {
341
+ content: "open-quote"
342
+ },
343
+ "blockquote p:last-of-type::after": {
344
+ content: "close-quote"
345
+ },
346
+ "blockquote strong": {
347
+ color: "inherit"
348
+ },
349
+ cite: {
350
+ display: "block",
351
+ fontStyle: "normal",
352
+ textAlign: "right",
353
+ color: "var(--tw-typo-plugin-quotes)"
354
+ },
355
+ ol: {
356
+ listStyleType: "decimal"
357
+ },
358
+ ul: {
359
+ //listStyleType: 'disc',
360
+ },
361
+ "ol > li::marker": {
362
+ fontWeight: "400",
363
+ color: "var(--tw-typo-plugin-counters)"
364
+ },
365
+ "ul > li::marker": {
366
+ color: "var(--tw-typo-plugin-bullets)"
367
+ },
368
+ "ul > li::before": {},
369
+ hr: {
370
+ borderColor: "var(--tw-typo-plugin-hr)",
371
+ borderTopWidth: 1
372
+ },
373
+ h1: {
374
+ color: "var(--tw-typo-plugin-headings)",
375
+ fontWeight: "800",
376
+ textAlign: "inherit",
377
+ textTransform: "uppercase"
378
+ },
379
+ h2: {
380
+ color: "var(--tw-typo-plugin-headings)",
381
+ fontWeight: "700",
382
+ textAlign: "inherit",
383
+ textTransform: "uppercase"
384
+ },
385
+ h3: {
386
+ color: "var(--tw-typo-plugin-headings)",
387
+ fontWeight: "600",
388
+ textAlign: "inherit",
389
+ textTransform: "uppercase"
390
+ },
391
+ h4: {
392
+ color: "var(--tw-typo-plugin-headings)",
393
+ fontWeight: "600",
394
+ textAlign: "inherit"
395
+ },
396
+ h5: {
397
+ color: "var(--tw-typo-plugin-headings)",
398
+ fontWeight: "600",
399
+ textAlign: "inherit"
400
+ },
401
+ h6: {
402
+ color: "var(--tw-typo-plugin-headings)",
403
+ textAlign: "inherit"
404
+ },
405
+ img: {},
406
+ "img:first-child": {},
407
+ "img:last-child": {},
408
+ picture: {
409
+ display: "block"
410
+ },
411
+ strong: {
412
+ color: "var(--tw-typo-plugin-bold)",
413
+ fontWeight: "600"
414
+ },
415
+ video: {},
416
+ kbd: {
417
+ fontWeight: "500",
418
+ fontFamily: "inherit",
419
+ color: "var(--tw-typo-plugin-kbd)",
420
+ boxShadow: "0 0 0 1px rgb(var(--tw-typo-plugin-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-typo-plugin-kbd-shadows) / 10%)"
421
+ },
422
+ code: {
423
+ color: "var(--tw-typo-plugin-code)",
424
+ fontWeight: "500"
425
+ },
426
+ "code::before": {
427
+ content: '"`"'
428
+ },
429
+ "code::after": {
430
+ content: '"`"'
431
+ },
432
+ "a code": {
433
+ color: "inherit"
434
+ },
435
+ "h1 code": {
436
+ color: "inherit"
437
+ },
438
+ "h2 code": {
439
+ color: "inherit"
440
+ },
441
+ "h3 code": {
442
+ color: "inherit"
443
+ },
444
+ "h4 code": {
445
+ color: "inherit"
446
+ },
447
+ "h5 code": {
448
+ color: "inherit"
449
+ },
450
+ "h6 code": {
451
+ color: "inherit"
452
+ },
453
+ "blockquote code": {
454
+ color: "inherit"
455
+ },
456
+ "thead th code": {
457
+ color: "inherit"
458
+ },
459
+ pre: {
460
+ color: "var(--tw-typo-plugin-pre-code)",
461
+ backgroundColor: "var(--tw-typo-plugin-pre-bg)",
462
+ overflowX: "auto",
463
+ fontWeight: "400"
464
+ },
465
+ "pre code": {
466
+ backgroundColor: "transparent",
467
+ borderWidth: "0",
468
+ borderRadius: "0",
469
+ padding: "0",
470
+ fontWeight: "inherit",
471
+ color: "inherit",
472
+ fontSize: "inherit",
473
+ fontFamily: "inherit",
474
+ lineHeight: "inherit"
475
+ },
476
+ "pre code::before": {
477
+ content: "none"
478
+ },
479
+ "pre code::after": {
480
+ content: "none"
481
+ },
482
+ table: {
483
+ width: "100%",
484
+ tableLayout: "auto",
485
+ textAlign: "left"
486
+ },
487
+ thead: {
488
+ borderBottomWidth: "1px",
489
+ borderBottomColor: "var(--tw-typo-plugin-th-borders)"
490
+ },
491
+ "thead th": {
492
+ color: "var(--tw-typo-plugin-headings)",
493
+ fontWeight: "600",
494
+ verticalAlign: "bottom"
495
+ },
496
+ "tbody tr": {},
497
+ "tbody tr:last-child": {},
498
+ "tbody td": {
499
+ verticalAlign: "baseline"
500
+ },
501
+ tfoot: {
502
+ borderTopWidth: "1px",
503
+ borderTopColor: "var(--tw-typo-plugin-th-borders)"
504
+ },
505
+ "tfoot td": {
506
+ verticalAlign: "top"
507
+ }
508
+ };
509
+ var defaultModifiers = /* @__PURE__ */ __name((base) => ({
510
+ base: {
511
+ css: [
512
+ {
513
+ fontSize: "1rem",
514
+ lineHeight: 1.4,
515
+ p: {
516
+ marginTop: "0.33rem",
517
+ marginBottom: "0.33rem"
518
+ },
519
+ "p:first-child": {
520
+ marginTop: 0
521
+ },
522
+ "p:last-child": {
523
+ marginBottom: 0
524
+ },
525
+ a: {},
526
+ "a:hover": {},
527
+ blockquote: {
528
+ //color: 'blue', //var(--tw-typo-plugin-quotes)',
529
+ //marginTop: pxToEm(32, 20),
530
+ //marginBottom: pxToEm(32, 20),
531
+ //paddingLeft: pxToEm(20, 20),
532
+ },
533
+ //'blockquote::before': {},
534
+ //'blockquote::after': {},
535
+ "blockquote p:first-of-type::before": {},
536
+ "blockquote p:last-of-type::after": {},
537
+ cite: {},
538
+ ol: {
539
+ fontSize: "1rem",
540
+ paddingLeft: "1.5rem",
541
+ margin: 0,
542
+ marginLeft: "-5px"
543
+ },
544
+ ul: {
545
+ fontSize: "1rem",
546
+ paddingLeft: "1.5rem",
547
+ margin: 0,
548
+ marginLeft: "-0.6rem",
549
+ listStylePosition: "outside",
550
+ listStyleType: "'\u25BC'"
551
+ },
552
+ li: {},
553
+ "ol > li": {
554
+ paddingLeft: "0.4rem"
555
+ },
556
+ "ul > li": {
557
+ paddingLeft: "0.75rem",
558
+ marginBottom: "0.75rem"
559
+ },
560
+ "ul > li:last-child": {
561
+ marginBottom: 0
562
+ },
563
+ "> ul > li p": {
564
+ margin: 0,
565
+ display: "inline"
566
+ },
567
+ hr: {},
568
+ h1: {
569
+ fontSize: pxToRem(40, base),
570
+ lineHeight: 1.2
571
+ },
572
+ h2: {
573
+ fontSize: pxToRem(36, base),
574
+ lineHeight: 1.2
575
+ },
576
+ h3: {
577
+ fontSize: "1.4rem",
578
+ lineHeight: 1.2
579
+ },
580
+ h4: {
581
+ marginTop: "0.5rem",
582
+ marginBottom: "0.5rem",
583
+ fontSize: "1.3rem",
584
+ lineHeight: 1.2
585
+ },
586
+ h5: {
587
+ marginTop: "0.5rem",
588
+ marginBottom: "0.5rem",
589
+ fontSize: "1.2rem",
590
+ lineHeight: 1.4
591
+ },
592
+ h6: {
593
+ marginTop: "0.5rem",
594
+ marginBottom: "0.5rem",
595
+ fontSize: "1.15rem",
596
+ lineHeight: 1.3
597
+ },
598
+ "hr + *": {
599
+ marginTop: "0"
600
+ },
601
+ "h2 + *": {
602
+ marginTop: "0"
603
+ },
604
+ "h3 + *": {
605
+ marginTop: "0"
606
+ },
607
+ "h4 + *": {
608
+ marginTop: "0"
609
+ },
610
+ img: {
611
+ marginTop: "0.5rem",
612
+ marginBottom: "0.5rem"
613
+ },
614
+ "img:first-child": {
615
+ marginTop: 0
616
+ },
617
+ "img:last-child": {
618
+ marginBottom: 0
619
+ },
620
+ picture: {
621
+ marginTop: pxToRem(20, base),
622
+ marginBottom: pxToRem(20, base)
623
+ },
624
+ "picture > img": {
625
+ marginTop: "0",
626
+ marginBottom: "0"
627
+ },
628
+ video: {
629
+ marginTop: pxToRem(20, base),
630
+ marginBottom: pxToRem(20, base)
631
+ },
632
+ kbd: {
633
+ fontSize: pxToEm(14, 16),
634
+ borderRadius: pxToRem(5, base),
635
+ paddingTop: pxToEm(3, 16),
636
+ paddingRight: pxToEm(6, 16),
637
+ paddingBottom: pxToEm(3, 16),
638
+ paddingLeft: pxToEm(6, 16)
639
+ },
640
+ code: {
641
+ fontSize: pxToEm(14, 16)
642
+ },
643
+ "h2 code": {
644
+ fontSize: pxToEm(21, 24)
645
+ },
646
+ "h3 code": {
647
+ fontSize: pxToEm(18, 20)
648
+ },
649
+ pre: {
650
+ fontSize: pxToRem(14, 16),
651
+ lineHeight: round(24 / 14),
652
+ marginTop: pxToEm(24, 14),
653
+ marginBottom: pxToEm(24, 14),
654
+ borderRadius: pxToRem(6, base),
655
+ paddingTop: pxToEm(12, 14),
656
+ paddingRight: pxToEm(16, 14),
657
+ paddingBottom: pxToEm(12, 14),
658
+ paddingLeft: pxToEm(16, 14)
659
+ },
660
+ /*
661
+ '> ul > li > *:first-child': {},
662
+ '> ul > li > *:last-child': {},
663
+ '> ol > li > *:first-child': {},
664
+ '> ol > li > *:last-child': {},
665
+ */
666
+ "ul ul, ul ol, ol ul, ol ol": {
667
+ marginTop: pxToRem(12, base),
668
+ marginBottom: pxToRem(12, base)
669
+ },
670
+ dl: {
671
+ marginTop: pxToEm(20, 16),
672
+ marginBottom: pxToEm(20, base)
673
+ },
674
+ dt: {
675
+ marginTop: pxToEm(20, base)
676
+ },
677
+ dd: {
678
+ marginTop: pxToEm(8, base),
679
+ paddingLeft: pxToEm(26, base)
680
+ },
681
+ table: {
682
+ fontSize: pxToEm(14, base),
683
+ lineHeight: round(24 / 14)
684
+ },
685
+ "thead th": {
686
+ paddingRight: pxToEm(8, 14),
687
+ paddingBottom: pxToEm(8, 14),
688
+ paddingLeft: pxToEm(8, 14)
689
+ },
690
+ "thead th:first-child": {
691
+ paddingLeft: "0"
692
+ },
693
+ "thead th:last-child": {
694
+ paddingRight: "0"
695
+ },
696
+ "tbody td, tfoot td": {
697
+ paddingTop: pxToEm(8, 14),
698
+ paddingRight: pxToEm(8, 14),
699
+ paddingBottom: pxToEm(8, 14),
700
+ paddingLeft: pxToEm(8, 14)
701
+ },
702
+ "tbody td:first-child, tfoot td:first-child": {
703
+ paddingLeft: "0"
704
+ },
705
+ "tbody td:last-child, tfoot td:last-child": {
706
+ paddingRight: "0"
707
+ }
708
+ }
709
+ ]
710
+ },
711
+ sm: {
712
+ css: [
713
+ {
714
+ p: {},
715
+ "p:first-child": {},
716
+ "p:last-child": {},
717
+ a: {},
718
+ "a:hover": {},
719
+ blockquote: {},
720
+ //'blockquote::before': {},
721
+ //'blockquote::after': {},
722
+ "blockquote p:first-of-type::before": {},
723
+ "blockquote p:last-of-type::after": {},
724
+ cite: {},
725
+ ol: {},
726
+ ul: {},
727
+ li: {},
728
+ "ol > li": {},
729
+ "ul > li": {},
730
+ "ul > li:last-child": {},
731
+ "> ul > li p": {},
732
+ hr: {},
733
+ h1: {
734
+ fontSize: pxToRem(24, base)
735
+ },
736
+ h2: {
737
+ fontSize: pxToRem(20, base)
738
+ },
739
+ h3: {
740
+ fontSize: pxToEm(18, base)
741
+ },
742
+ h4: {},
743
+ h5: {},
744
+ h6: {},
745
+ "hr + *": {},
746
+ "h2 + *": {},
747
+ "h3 + *": {},
748
+ "h4 + *": {},
749
+ img: {},
750
+ "img:first-child": {},
751
+ "img:last-child": {},
752
+ picture: {},
753
+ "picture > img": {},
754
+ video: {},
755
+ kbd: {},
756
+ code: {},
757
+ "h2 code": {},
758
+ "h3 code": {},
759
+ pre: {},
760
+ /*
761
+ '> ul > li > *:first-child': {},
762
+ '> ul > li > *:last-child': {},
763
+ '> ol > li > *:first-child': {},
764
+ '> ol > li > *:last-child': {},
765
+ */
766
+ "ul ul, ul ol, ol ul, ol ol": {},
767
+ dl: {},
768
+ dt: {},
769
+ dd: {},
770
+ table: {},
771
+ "thead th": {},
772
+ "thead th:first-child": {},
773
+ "thead th:last-child": {},
774
+ "tbody td, tfoot td": {},
775
+ "tbody td:first-child, tfoot td:first-child": {},
776
+ "tbody td:last-child, tfoot td:last-child": {}
777
+ }
778
+ ]
779
+ },
780
+ lg: {
781
+ css: [
782
+ {
783
+ p: {},
784
+ "p:first-child": {},
785
+ "p:last-child": {},
786
+ a: {},
787
+ "a:hover": {},
788
+ blockquote: {},
789
+ //'blockquote::before': {},
790
+ //'blockquote::after': {},
791
+ "blockquote p:first-of-type::before": {},
792
+ "blockquote p:last-of-type::after": {},
793
+ cite: {},
794
+ ol: {},
795
+ ul: {},
796
+ li: {},
797
+ "ol > li": {},
798
+ "ul > li": {},
799
+ "ul > li:last-child": {},
800
+ "> ul > li p": {},
801
+ hr: {},
802
+ h1: {
803
+ fontSize: pxToRem(45, base),
804
+ lineHeight: 1.1
805
+ },
806
+ h2: {
807
+ fontSize: pxToRem(40, base),
808
+ lineHeight: 1.1
809
+ },
810
+ h3: {
811
+ fontSize: pxToRem(32, base),
812
+ lineHeight: 1.1
813
+ },
814
+ h4: {
815
+ fontSize: pxToRem(26, base),
816
+ marginTop: pxToRem(13, base),
817
+ marginBottom: pxToRem(13, base)
818
+ },
819
+ h5: {
820
+ fontSize: pxToRem(22, base),
821
+ marginTop: pxToRem(11, base),
822
+ marginBottom: pxToRem(11, base)
823
+ },
824
+ h6: {},
825
+ "hr + *": {},
826
+ "h2 + *": {},
827
+ "h3 + *": {},
828
+ "h4 + *": {},
829
+ img: {},
830
+ "img:first-child": {},
831
+ "img:last-child": {},
832
+ picture: {},
833
+ "picture > img": {},
834
+ video: {},
835
+ kbd: {},
836
+ code: {},
837
+ "h2 code": {},
838
+ "h3 code": {},
839
+ pre: {},
840
+ /*
841
+ '> ul > li > *:first-child': {},
842
+ '> ul > li > *:last-child': {},
843
+ '> ol > li > *:first-child': {},
844
+ '> ol > li > *:last-child': {},
845
+ */
846
+ "ul ul, ul ol, ol ul, ol ol": {},
847
+ dl: {},
848
+ dt: {},
849
+ dd: {},
850
+ table: {},
851
+ "thead th": {},
852
+ "thead th:first-child": {},
853
+ "thead th:last-child": {},
854
+ "tbody td, tfoot td": {},
855
+ "tbody td:first-child, tfoot td:first-child": {},
856
+ "tbody td:last-child, tfoot td:last-child": {}
857
+ }
858
+ ]
859
+ },
860
+ xl: {
861
+ css: [
862
+ {
863
+ p: {},
864
+ "p:first-child": {},
865
+ "p:last-child": {},
866
+ a: {},
867
+ "a:hover": {},
868
+ blockquote: {},
869
+ //'blockquote::before': {},
870
+ //'blockquote::after': {},
871
+ "blockquote p:first-of-type::before": {},
872
+ "blockquote p:last-of-type::after": {},
873
+ cite: {},
874
+ ol: {},
875
+ ul: {},
876
+ li: {},
877
+ "ol > li": {},
878
+ "ul > li": {},
879
+ "ul > li:last-child": {},
880
+ "> ul > li p": {},
881
+ hr: {},
882
+ h1: {
883
+ fontSize: pxToRem(52, base),
884
+ lineHeight: 1.1
885
+ },
886
+ h2: {
887
+ fontSize: pxToRem(45, base),
888
+ lineHeight: 1.1
889
+ },
890
+ h3: {
891
+ fontSize: pxToRem(40, base),
892
+ lineHeight: 1.1
893
+ },
894
+ h4: {
895
+ fontSize: pxToRem(28, base),
896
+ marginTop: pxToRem(13, base),
897
+ marginBottom: pxToRem(13, base)
898
+ },
899
+ h5: {
900
+ fontSize: pxToRem(22, base),
901
+ marginTop: pxToRem(11, base),
902
+ marginBottom: pxToRem(11, base)
903
+ },
904
+ h6: {},
905
+ "hr + *": {},
906
+ "h2 + *": {},
907
+ "h3 + *": {},
908
+ "h4 + *": {},
909
+ img: {},
910
+ "img:first-child": {},
911
+ "img:last-child": {},
912
+ picture: {},
913
+ "picture > img": {},
914
+ video: {},
915
+ kbd: {},
916
+ code: {},
917
+ "h2 code": {},
918
+ "h3 code": {},
919
+ pre: {},
920
+ /*
921
+ '> ul > li > *:first-child': {},
922
+ '> ul > li > *:last-child': {},
923
+ '> ol > li > *:first-child': {},
924
+ '> ol > li > *:last-child': {},
925
+ */
926
+ "ul ul, ul ol, ol ul, ol ol": {},
927
+ dl: {},
928
+ dt: {},
929
+ dd: {},
930
+ table: {},
931
+ "thead th": {},
932
+ "thead th:first-child": {},
933
+ "thead th:last-child": {},
934
+ "tbody td, tfoot td": {},
935
+ "tbody td:first-child, tfoot td:first-child": {},
936
+ "tbody td:last-child, tfoot td:last-child": {}
937
+ }
938
+ ]
939
+ }
940
+ }), "defaultModifiers");
941
+ var getStyles = /* @__PURE__ */ __name((baseFontSize2) => ({
942
+ DEFAULT: {
943
+ css: [
944
+ defaultCSS,
945
+ typographyColorTheme,
946
+ ...defaultModifiers(baseFontSize2).base.css
947
+ ]
948
+ },
949
+ sm: defaultModifiers(baseFontSize2).sm,
950
+ lg: defaultModifiers(baseFontSize2).lg,
951
+ xl: defaultModifiers(baseFontSize2).xl
952
+ }), "getStyles");
953
+ var get_plugin_styles_default = getStyles;
954
+
955
+ // tailwind/typo-plugin/utils.js
956
+ import isPlainObject from "lodash.isplainobject";
957
+ import parser from "postcss-selector-parser";
958
+ var parseSelector = parser();
959
+ function commonTrailingPseudos(selector) {
960
+ let ast = parseSelector.astSync(selector);
961
+ let matrix = [];
962
+ for (let [i, sel] of ast.nodes.entries()) {
963
+ for (const [j, child] of [...sel.nodes].reverse().entries()) {
964
+ if (child.type !== "pseudo" || !child.value.startsWith("::")) {
965
+ break;
966
+ }
967
+ matrix[j] = matrix[j] || [];
968
+ matrix[j][i] = child;
969
+ }
970
+ }
971
+ let trailingPseudos = parser.selector();
972
+ for (const pseudos of matrix) {
973
+ if (!pseudos) {
974
+ continue;
975
+ }
976
+ let values = /* @__PURE__ */ new Set([...pseudos.map((p) => p.value)]);
977
+ if (values.size > 1) {
978
+ break;
979
+ }
980
+ pseudos.forEach((pseudo) => pseudo.remove());
981
+ trailingPseudos.prepend(pseudos[0]);
982
+ }
983
+ if (trailingPseudos.nodes.length) {
984
+ return [trailingPseudos.toString(), ast.toString()];
985
+ }
986
+ return [null, selector];
987
+ }
988
+ __name(commonTrailingPseudos, "commonTrailingPseudos");
989
+
990
+ // tailwind/typo-plugin/index.js
991
+ var baseFontSize = 16;
992
+ var computed = {
993
+ // Reserved for future "magic properties", for example:
994
+ // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
995
+ };
996
+ function inWhere(selector, { className, modifier, prefix }) {
997
+ let prefixedNot = prefix(`.not-${className}`).slice(1);
998
+ let selectorPrefix = selector.startsWith(">") ? `${modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`} ` : "";
999
+ let [trailingPseudo, rebuiltSelector] = commonTrailingPseudos(selector);
1000
+ if (trailingPseudo) {
1001
+ return `:where(${selectorPrefix}${rebuiltSelector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))${trailingPseudo}`;
1002
+ }
1003
+ return `:where(${selectorPrefix}${selector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))`;
1004
+ }
1005
+ __name(inWhere, "inWhere");
1006
+ function isObject(value) {
1007
+ return typeof value === "object" && value !== null;
1008
+ }
1009
+ __name(isObject, "isObject");
1010
+ function configToCss(config = {}, { target, className, modifier, prefix }) {
1011
+ function updateSelector(k, v) {
1012
+ if (target === "legacy") {
1013
+ return [k, v];
1014
+ }
1015
+ if (Array.isArray(v)) {
1016
+ return [k, v];
1017
+ }
1018
+ if (isObject(v)) {
1019
+ let nested = Object.values(v).some(isObject);
1020
+ if (nested) {
1021
+ return [
1022
+ inWhere(k, { className, modifier, prefix }),
1023
+ v,
1024
+ Object.fromEntries(Object.entries(v).map(([k2, v2]) => updateSelector(k2, v2)))
1025
+ ];
1026
+ }
1027
+ return [inWhere(k, { className, modifier, prefix }), v];
1028
+ }
1029
+ return [k, v];
1030
+ }
1031
+ __name(updateSelector, "updateSelector");
1032
+ return Object.fromEntries(
1033
+ Object.entries(
1034
+ merge(
1035
+ {},
1036
+ ...Object.keys(config).filter((key) => computed[key]).map((key) => computed[key](config[key])),
1037
+ ...castArray(config.css || {})
1038
+ )
1039
+ ).map(([k, v]) => updateSelector(k, v))
1040
+ );
1041
+ }
1042
+ __name(configToCss, "configToCss");
1043
+ var typo_plugin_default = plugin.withOptions(
1044
+ ({ className = "prose", target = "modern", base = 16 } = {}) => {
1045
+ baseFontSize = base;
1046
+ return function({ addVariant, addComponents, theme, prefix }) {
1047
+ let modifiers = theme("typography");
1048
+ let options = { className, prefix };
1049
+ for (let [name, ...selectors] of [
1050
+ [
1051
+ "headings",
1052
+ "h1",
1053
+ "h2",
1054
+ "h3"
1055
+ /* 'h4', 'h5', 'h6', 'th' */
1056
+ ],
1057
+ ["h1"],
1058
+ ["h2"],
1059
+ ["h3"],
1060
+ ["h4"],
1061
+ ["h5"],
1062
+ ["h6"],
1063
+ ["p"],
1064
+ ["a"],
1065
+ ["blockquote"],
1066
+ ["figure"],
1067
+ ["figcaption"],
1068
+ ["strong"],
1069
+ ["em"],
1070
+ ["code"],
1071
+ ["pre"],
1072
+ ["ol"],
1073
+ ["ul"],
1074
+ ["li"],
1075
+ ["table"],
1076
+ ["thead"],
1077
+ ["tr"],
1078
+ ["th"],
1079
+ ["td"],
1080
+ ["img"],
1081
+ ["video"],
1082
+ ["hr"]
1083
+ ]) {
1084
+ selectors = selectors.length === 0 ? [name] : selectors;
1085
+ let selector = target === "legacy" ? selectors.map((selector2) => `& ${selector2}`) : selectors.join(", ");
1086
+ addVariant(
1087
+ `${className}-${name}`,
1088
+ target === "legacy" ? selector : `& :is(${inWhere(selector, options)})`
1089
+ );
1090
+ }
1091
+ addComponents(
1092
+ Object.keys(modifiers).map((modifier) => ({
1093
+ [modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`]: configToCss(
1094
+ modifiers[modifier],
1095
+ {
1096
+ target,
1097
+ className,
1098
+ modifier,
1099
+ prefix
1100
+ }
1101
+ )
1102
+ }))
1103
+ );
1104
+ };
1105
+ },
1106
+ () => {
1107
+ return {
1108
+ theme: { typography: get_plugin_styles_default(baseFontSize) }
1109
+ };
1110
+ }
1111
+ );
1112
+
1113
+ // tailwind/tailwind.config.hanzo-preset.js
1114
+ var tailwind_config_hanzo_preset_default = {
1115
+ darkMode: ["class"],
1116
+ content: [],
1117
+ safelist: safelist_tailwind_default,
1118
+ plugins: [
1119
+ animatePlugin,
1120
+ typo_plugin_default({ className: "typography", base: 16 }),
1121
+ containerQueriesPlugin,
1122
+ tailwindInteractionMediaPlugin
1123
+ ],
1124
+ theme: {
1125
+ accentColor: /* @__PURE__ */ __name(({ theme }) => ({
1126
+ ...theme("colors"),
1127
+ auto: "auto"
1128
+ }), "accentColor"),
1129
+ animation: {
1130
+ none: "none",
1131
+ spin: "spin 1s linear infinite",
1132
+ ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
1133
+ pulse: "pulse 2s linear(0, 1) infinite",
1134
+ // cubic-bezier(0.4, 0, 0.6, 1)
1135
+ pulsereverse: "pulse 2s linear(1, 0) infinite",
1136
+ bounce: "bounce 1s infinite",
1137
+ "accordion-down": "accordion-down 0.2s ease-out",
1138
+ "accordion-up": "accordion-up 0.2s ease-out",
1139
+ "mobile-menu-open": "opacity-in 300ms ease-in"
1140
+ },
1141
+ aria: {
1142
+ checked: 'checked="true"',
1143
+ disabled: 'disabled="true"',
1144
+ expanded: 'expanded="true"',
1145
+ hidden: 'hidden="true"',
1146
+ pressed: 'pressed="true"',
1147
+ readonly: 'readonly="true"',
1148
+ required: 'required="true"',
1149
+ selected: 'selected="true"'
1150
+ },
1151
+ aspectRatio: {
1152
+ auto: "auto",
1153
+ square: "1 / 1",
1154
+ video: "16 / 9"
1155
+ },
1156
+ backdropBlur: /* @__PURE__ */ __name(({ theme }) => theme("blur"), "backdropBlur"),
1157
+ backdropBrightness: /* @__PURE__ */ __name(({ theme }) => theme("brightness"), "backdropBrightness"),
1158
+ backdropContrast: /* @__PURE__ */ __name(({ theme }) => theme("contrast"), "backdropContrast"),
1159
+ backdropGrayscale: /* @__PURE__ */ __name(({ theme }) => theme("grayscale"), "backdropGrayscale"),
1160
+ backdropHueRotate: /* @__PURE__ */ __name(({ theme }) => theme("hueRotate"), "backdropHueRotate"),
1161
+ backdropInvert: /* @__PURE__ */ __name(({ theme }) => theme("invert"), "backdropInvert"),
1162
+ backdropOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backdropOpacity"),
1163
+ backdropSaturate: /* @__PURE__ */ __name(({ theme }) => theme("saturate"), "backdropSaturate"),
1164
+ backdropSepia: /* @__PURE__ */ __name(({ theme }) => theme("sepia"), "backdropSepia"),
1165
+ backgroundColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "backgroundColor"),
1166
+ backgroundImage: {
1167
+ none: "none",
1168
+ "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
1169
+ "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
1170
+ "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
1171
+ "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
1172
+ "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
1173
+ "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
1174
+ "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
1175
+ "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
1176
+ },
1177
+ backgroundOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backgroundOpacity"),
1178
+ backgroundPosition: {
1179
+ bottom: "bottom",
1180
+ center: "center",
1181
+ left: "left",
1182
+ "left-bottom": "left bottom",
1183
+ "left-top": "left top",
1184
+ right: "right",
1185
+ "right-bottom": "right bottom",
1186
+ "right-top": "right top",
1187
+ top: "top"
1188
+ },
1189
+ backgroundSize: {
1190
+ auto: "auto",
1191
+ cover: "cover",
1192
+ contain: "contain"
1193
+ },
1194
+ blur: {
1195
+ 0: "0",
1196
+ none: "0",
1197
+ sm: "4px",
1198
+ DEFAULT: "8px",
1199
+ md: "12px",
1200
+ lg: "16px",
1201
+ xl: "24px",
1202
+ "2xl": "40px",
1203
+ "3xl": "64px"
1204
+ },
1205
+ borderColor: /* @__PURE__ */ __name(({ theme }) => ({
1206
+ ...theme("colors"),
1207
+ DEFAULT: theme("colors.muted.3")
1208
+ }), "borderColor"),
1209
+ borderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "borderOpacity"),
1210
+ borderRadius: {
1211
+ none: "0px",
1212
+ sm: "0.25rem",
1213
+ DEFAULT: "0.5rem",
1214
+ md: "0.5rem",
1215
+ lg: "0.75rem",
1216
+ xl: "1rem",
1217
+ "2xl": "1.5rem",
1218
+ "3xl": "2rem",
1219
+ full: "9999px"
1220
+ },
1221
+ borderSpacing: spacing_tailwind_default,
1222
+ borderWidth: {
1223
+ DEFAULT: "1px",
1224
+ 0: "0px",
1225
+ 2: "2px",
1226
+ 4: "4px",
1227
+ 8: "8px"
1228
+ },
1229
+ boxShadow: {
1230
+ sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
1231
+ DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
1232
+ md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
1233
+ lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
1234
+ xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1235
+ "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
1236
+ inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
1237
+ none: "none"
1238
+ },
1239
+ boxShadowColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "boxShadowColor"),
1240
+ brightness: {
1241
+ 0: "0",
1242
+ 50: ".5",
1243
+ 75: ".75",
1244
+ 90: ".9",
1245
+ 95: ".95",
1246
+ 100: "1",
1247
+ 105: "1.05",
1248
+ 110: "1.1",
1249
+ 125: "1.25",
1250
+ 150: "1.5",
1251
+ 200: "2"
1252
+ },
1253
+ caretColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "caretColor"),
1254
+ colors: colors_tailwind_default,
1255
+ columns: {
1256
+ auto: "auto",
1257
+ 1: "1",
1258
+ 2: "2",
1259
+ 3: "3",
1260
+ 4: "4",
1261
+ 5: "5",
1262
+ 6: "6",
1263
+ 7: "7",
1264
+ 8: "8",
1265
+ 9: "9",
1266
+ 10: "10",
1267
+ 11: "11",
1268
+ 12: "12",
1269
+ "3xs": "16rem",
1270
+ "2xs": "18rem",
1271
+ xs: "20rem",
1272
+ sm: "24rem",
1273
+ md: "28rem",
1274
+ lg: "32rem",
1275
+ xl: "36rem",
1276
+ "2xl": "42rem",
1277
+ "3xl": "48rem",
1278
+ "4xl": "56rem",
1279
+ "5xl": "64rem",
1280
+ "6xl": "72rem",
1281
+ "7xl": "80rem"
1282
+ },
1283
+ container: {
1284
+ center: true,
1285
+ padding: "2rem"
1286
+ },
1287
+ content: {
1288
+ none: "none"
1289
+ },
1290
+ contrast: {
1291
+ 0: "0",
1292
+ 50: ".5",
1293
+ 75: ".75",
1294
+ 100: "1",
1295
+ 125: "1.25",
1296
+ 150: "1.5",
1297
+ 200: "2"
1298
+ },
1299
+ cursor: {
1300
+ auto: "auto",
1301
+ default: "default",
1302
+ pointer: "pointer",
1303
+ wait: "wait",
1304
+ text: "text",
1305
+ move: "move",
1306
+ help: "help",
1307
+ "not-allowed": "not-allowed",
1308
+ none: "none",
1309
+ "context-menu": "context-menu",
1310
+ progress: "progress",
1311
+ cell: "cell",
1312
+ crosshair: "crosshair",
1313
+ "vertical-text": "vertical-text",
1314
+ alias: "alias",
1315
+ copy: "copy",
1316
+ "no-drop": "no-drop",
1317
+ grab: "grab",
1318
+ grabbing: "grabbing",
1319
+ "all-scroll": "all-scroll",
1320
+ "col-resize": "col-resize",
1321
+ "row-resize": "row-resize",
1322
+ "n-resize": "n-resize",
1323
+ "e-resize": "e-resize",
1324
+ "s-resize": "s-resize",
1325
+ "w-resize": "w-resize",
1326
+ "ne-resize": "ne-resize",
1327
+ "nw-resize": "nw-resize",
1328
+ "se-resize": "se-resize",
1329
+ "sw-resize": "sw-resize",
1330
+ "ew-resize": "ew-resize",
1331
+ "ns-resize": "ns-resize",
1332
+ "nesw-resize": "nesw-resize",
1333
+ "nwse-resize": "nwse-resize",
1334
+ "zoom-in": "zoom-in",
1335
+ "zoom-out": "zoom-out"
1336
+ },
1337
+ divideColor: /* @__PURE__ */ __name(({ theme }) => theme("borderColor"), "divideColor"),
1338
+ divideOpacity: /* @__PURE__ */ __name(({ theme }) => theme("borderOpacity"), "divideOpacity"),
1339
+ divideWidth: /* @__PURE__ */ __name(({ theme }) => theme("borderWidth"), "divideWidth"),
1340
+ dropShadow: {
1341
+ sm: "0 1px 1px rgb(0 0 0 / 0.05)",
1342
+ DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
1343
+ md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
1344
+ lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
1345
+ xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
1346
+ "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
1347
+ none: "0 0 #0000"
1348
+ },
1349
+ fill: /* @__PURE__ */ __name(({ theme }) => ({
1350
+ none: "none",
1351
+ ...theme("colors")
1352
+ }), "fill"),
1353
+ flex: {
1354
+ 1: "1 1 0%",
1355
+ auto: "1 1 auto",
1356
+ initial: "0 1 auto",
1357
+ none: "none"
1358
+ },
1359
+ flexBasis: {
1360
+ auto: "auto",
1361
+ ...spacing_tailwind_default,
1362
+ "1/2": "50%",
1363
+ "1/3": "33.333333%",
1364
+ "2/3": "66.666667%",
1365
+ "1/4": "25%",
1366
+ "2/4": "50%",
1367
+ "3/4": "75%",
1368
+ "1/5": "20%",
1369
+ "2/5": "40%",
1370
+ "3/5": "60%",
1371
+ "4/5": "80%",
1372
+ "1/6": "16.666667%",
1373
+ "2/6": "33.333333%",
1374
+ "3/6": "50%",
1375
+ "4/6": "66.666667%",
1376
+ "5/6": "83.333333%",
1377
+ "1/12": "8.333333%",
1378
+ "2/12": "16.666667%",
1379
+ "3/12": "25%",
1380
+ "4/12": "33.333333%",
1381
+ "5/12": "41.666667%",
1382
+ "6/12": "50%",
1383
+ "7/12": "58.333333%",
1384
+ "8/12": "66.666667%",
1385
+ "9/12": "75%",
1386
+ "10/12": "83.333333%",
1387
+ "11/12": "91.666667%",
1388
+ full: "100%"
1389
+ },
1390
+ flexGrow: {
1391
+ 0: "0",
1392
+ DEFAULT: "1"
1393
+ },
1394
+ flexShrink: {
1395
+ 0: "0",
1396
+ DEFAULT: "1"
1397
+ },
1398
+ fontFamily: fontFamily_tailwind_default,
1399
+ fontSize: fontSize_tailwind_default,
1400
+ fontWeight: {
1401
+ thin: "100",
1402
+ extralight: "200",
1403
+ light: "300",
1404
+ normal: "400",
1405
+ medium: "500",
1406
+ semibold: "600",
1407
+ bold: "700",
1408
+ extrabold: "800",
1409
+ black: "900"
1410
+ },
1411
+ gap: spacing_tailwind_default,
1412
+ gradientColorStops: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "gradientColorStops"),
1413
+ gradientColorStopPositions: {
1414
+ "0%": "0%",
1415
+ "5%": "5%",
1416
+ "10%": "10%",
1417
+ "15%": "15%",
1418
+ "20%": "20%",
1419
+ "25%": "25%",
1420
+ "30%": "30%",
1421
+ "35%": "35%",
1422
+ "40%": "40%",
1423
+ "45%": "45%",
1424
+ "50%": "50%",
1425
+ "55%": "55%",
1426
+ "60%": "60%",
1427
+ "65%": "65%",
1428
+ "70%": "70%",
1429
+ "75%": "75%",
1430
+ "80%": "80%",
1431
+ "85%": "85%",
1432
+ "90%": "90%",
1433
+ "95%": "95%",
1434
+ "100%": "100%"
1435
+ },
1436
+ grayscale: {
1437
+ 0: "0",
1438
+ DEFAULT: "100%"
1439
+ },
1440
+ gridAutoColumns: {
1441
+ auto: "auto",
1442
+ min: "min-content",
1443
+ max: "max-content",
1444
+ fr: "minmax(0, 1fr)"
1445
+ },
1446
+ gridAutoRows: {
1447
+ auto: "auto",
1448
+ min: "min-content",
1449
+ max: "max-content",
1450
+ fr: "minmax(0, 1fr)"
1451
+ },
1452
+ gridColumn: {
1453
+ auto: "auto",
1454
+ "span-1": "span 1 / span 1",
1455
+ "span-2": "span 2 / span 2",
1456
+ "span-3": "span 3 / span 3",
1457
+ "span-4": "span 4 / span 4",
1458
+ "span-5": "span 5 / span 5",
1459
+ "span-6": "span 6 / span 6",
1460
+ "span-7": "span 7 / span 7",
1461
+ "span-8": "span 8 / span 8",
1462
+ "span-9": "span 9 / span 9",
1463
+ "span-10": "span 10 / span 10",
1464
+ "span-11": "span 11 / span 11",
1465
+ "span-12": "span 12 / span 12",
1466
+ "span-full": "1 / -1"
1467
+ },
1468
+ gridColumnEnd: {
1469
+ auto: "auto",
1470
+ 1: "1",
1471
+ 2: "2",
1472
+ 3: "3",
1473
+ 4: "4",
1474
+ 5: "5",
1475
+ 6: "6",
1476
+ 7: "7",
1477
+ 8: "8",
1478
+ 9: "9",
1479
+ 10: "10",
1480
+ 11: "11",
1481
+ 12: "12",
1482
+ 13: "13"
1483
+ },
1484
+ gridColumnStart: {
1485
+ auto: "auto",
1486
+ 1: "1",
1487
+ 2: "2",
1488
+ 3: "3",
1489
+ 4: "4",
1490
+ 5: "5",
1491
+ 6: "6",
1492
+ 7: "7",
1493
+ 8: "8",
1494
+ 9: "9",
1495
+ 10: "10",
1496
+ 11: "11",
1497
+ 12: "12",
1498
+ 13: "13"
1499
+ },
1500
+ gridRow: {
1501
+ auto: "auto",
1502
+ "span-1": "span 1 / span 1",
1503
+ "span-2": "span 2 / span 2",
1504
+ "span-3": "span 3 / span 3",
1505
+ "span-4": "span 4 / span 4",
1506
+ "span-5": "span 5 / span 5",
1507
+ "span-6": "span 6 / span 6",
1508
+ "span-full": "1 / -1"
1509
+ },
1510
+ gridRowEnd: {
1511
+ auto: "auto",
1512
+ 1: "1",
1513
+ 2: "2",
1514
+ 3: "3",
1515
+ 4: "4",
1516
+ 5: "5",
1517
+ 6: "6",
1518
+ 7: "7"
1519
+ },
1520
+ gridRowStart: {
1521
+ auto: "auto",
1522
+ 1: "1",
1523
+ 2: "2",
1524
+ 3: "3",
1525
+ 4: "4",
1526
+ 5: "5",
1527
+ 6: "6",
1528
+ 7: "7"
1529
+ },
1530
+ gridTemplateColumns: {
1531
+ none: "none",
1532
+ 1: "repeat(1, minmax(0, 1fr))",
1533
+ 2: "repeat(2, minmax(0, 1fr))",
1534
+ 3: "repeat(3, minmax(0, 1fr))",
1535
+ 4: "repeat(4, minmax(0, 1fr))",
1536
+ 5: "repeat(5, minmax(0, 1fr))",
1537
+ 6: "repeat(6, minmax(0, 1fr))",
1538
+ 7: "repeat(7, minmax(0, 1fr))",
1539
+ 8: "repeat(8, minmax(0, 1fr))",
1540
+ 9: "repeat(9, minmax(0, 1fr))",
1541
+ 10: "repeat(10, minmax(0, 1fr))",
1542
+ 11: "repeat(11, minmax(0, 1fr))",
1543
+ 12: "repeat(12, minmax(0, 1fr))"
1544
+ },
1545
+ gridTemplateRows: {
1546
+ none: "none",
1547
+ 1: "repeat(1, minmax(0, 1fr))",
1548
+ 2: "repeat(2, minmax(0, 1fr))",
1549
+ 3: "repeat(3, minmax(0, 1fr))",
1550
+ 4: "repeat(4, minmax(0, 1fr))",
1551
+ 5: "repeat(5, minmax(0, 1fr))",
1552
+ 6: "repeat(6, minmax(0, 1fr))"
1553
+ },
1554
+ height: {
1555
+ auto: "auto",
1556
+ ...spacing_tailwind_default,
1557
+ "1/2": "50%",
1558
+ "1/3": "33.333333%",
1559
+ "2/3": "66.666667%",
1560
+ "1/4": "25%",
1561
+ "2/4": "50%",
1562
+ "3/4": "75%",
1563
+ "1/5": "20%",
1564
+ "2/5": "40%",
1565
+ "3/5": "60%",
1566
+ "4/5": "80%",
1567
+ "1/6": "16.666667%",
1568
+ "2/6": "33.333333%",
1569
+ "3/6": "50%",
1570
+ "4/6": "66.666667%",
1571
+ "5/6": "83.333333%",
1572
+ full: "100%",
1573
+ screen: "100vh",
1574
+ min: "min-content",
1575
+ max: "max-content",
1576
+ fit: "fit-content"
1577
+ },
1578
+ hueRotate: {
1579
+ 0: "0deg",
1580
+ 15: "15deg",
1581
+ 30: "30deg",
1582
+ 60: "60deg",
1583
+ 90: "90deg",
1584
+ 180: "180deg"
1585
+ },
1586
+ inset: {
1587
+ auto: "auto",
1588
+ ...spacing_tailwind_default,
1589
+ "1/2": "50%",
1590
+ "1/3": "33.333333%",
1591
+ "2/3": "66.666667%",
1592
+ "1/4": "25%",
1593
+ "2/4": "50%",
1594
+ "3/4": "75%",
1595
+ full: "100%"
1596
+ },
1597
+ invert: {
1598
+ 0: "0",
1599
+ DEFAULT: "100%"
1600
+ },
1601
+ keyframes: {
1602
+ spin: {
1603
+ to: {
1604
+ transform: "rotate(360deg)"
1605
+ }
1606
+ },
1607
+ ping: {
1608
+ "75%, 100%": {
1609
+ transform: "scale(2)",
1610
+ opacity: "0"
1611
+ }
1612
+ },
1613
+ pulse: {
1614
+ "50%": {
1615
+ opacity: ".5"
1616
+ }
1617
+ },
1618
+ bounce: {
1619
+ "0%, 100%": {
1620
+ transform: "translateY(-25%)",
1621
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
1622
+ },
1623
+ "50%": {
1624
+ transform: "none",
1625
+ animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
1626
+ }
1627
+ },
1628
+ "accordion-down": {
1629
+ from: { height: 0 },
1630
+ to: { height: "var(--radix-accordion-content-height)" }
1631
+ },
1632
+ "accordion-up": {
1633
+ from: { height: "var(--radix-accordion-content-height)" },
1634
+ to: { height: 0 }
1635
+ },
1636
+ "opacity-in": {
1637
+ from: { opacity: "0" },
1638
+ to: { opacity: "1" }
1639
+ }
1640
+ },
1641
+ letterSpacing: {
1642
+ tighter: "-0.05em",
1643
+ tight: "-0.025em",
1644
+ normal: "0em",
1645
+ wide: "0.025em",
1646
+ wider: "0.05em",
1647
+ widest: "0.1em"
1648
+ },
1649
+ lineHeight: {
1650
+ none: "1",
1651
+ tight: "1.25",
1652
+ snug: "1.375",
1653
+ normal: "1.5",
1654
+ relaxed: "1.625",
1655
+ loose: "2",
1656
+ 3: ".75rem",
1657
+ 4: "1rem",
1658
+ 5: "1.25rem",
1659
+ 6: "1.5rem",
1660
+ 7: "1.75rem",
1661
+ 8: "2rem",
1662
+ 9: "2.25rem",
1663
+ 10: "2.5rem"
1664
+ },
1665
+ listStyleType: {
1666
+ none: "none",
1667
+ disc: "disc",
1668
+ decimal: "decimal"
1669
+ },
1670
+ listStyleImage: {
1671
+ none: "none"
1672
+ },
1673
+ margin: {
1674
+ auto: "auto",
1675
+ ...spacing_tailwind_default
1676
+ },
1677
+ lineClamp: {
1678
+ 1: "1",
1679
+ 2: "2",
1680
+ 3: "3",
1681
+ 4: "4",
1682
+ 5: "5",
1683
+ 6: "6"
1684
+ },
1685
+ maxHeight: {
1686
+ ...spacing_tailwind_default,
1687
+ none: "none",
1688
+ full: "100%",
1689
+ screen: "100vh",
1690
+ min: "min-content",
1691
+ max: "max-content",
1692
+ fit: "fit-content"
1693
+ },
1694
+ maxWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1695
+ ...spacing_tailwind_default,
1696
+ none: "none",
1697
+ 0: "0rem",
1698
+ xs: "20rem",
1699
+ sm: "24rem",
1700
+ md: "28rem",
1701
+ lg: "32rem",
1702
+ xl: "36rem",
1703
+ "2xl": "42rem",
1704
+ "3xl": "48rem",
1705
+ "4xl": "56rem",
1706
+ "5xl": "64rem",
1707
+ "6xl": "72rem",
1708
+ "7xl": "80rem",
1709
+ full: "100%",
1710
+ min: "min-content",
1711
+ max: "max-content",
1712
+ fit: "fit-content",
1713
+ prose: "65ch",
1714
+ ...breakpoints(theme("screens"))
1715
+ }), "maxWidth"),
1716
+ minHeight: {
1717
+ ...spacing_tailwind_default,
1718
+ 0: "0px",
1719
+ full: "100%",
1720
+ screen: "100vh",
1721
+ min: "min-content",
1722
+ max: "max-content",
1723
+ fit: "fit-content"
1724
+ },
1725
+ minWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1726
+ ...spacing_tailwind_default,
1727
+ 0: "0px",
1728
+ full: "100%",
1729
+ min: "min-content",
1730
+ max: "max-content",
1731
+ fit: "fit-content",
1732
+ ...breakpoints(theme("screens"))
1733
+ }), "minWidth"),
1734
+ objectPosition: {
1735
+ bottom: "bottom",
1736
+ center: "center",
1737
+ left: "left",
1738
+ "left-bottom": "left bottom",
1739
+ "left-top": "left top",
1740
+ right: "right",
1741
+ "right-bottom": "right bottom",
1742
+ "right-top": "right top",
1743
+ top: "top"
1744
+ },
1745
+ opacity: {
1746
+ 0: "0",
1747
+ 5: "0.05",
1748
+ 10: "0.1",
1749
+ 20: "0.2",
1750
+ 25: "0.25",
1751
+ 30: "0.3",
1752
+ 35: "0.35",
1753
+ 40: "0.4",
1754
+ 45: "0.45",
1755
+ 50: "0.5",
1756
+ 55: "0.55",
1757
+ 60: "0.6",
1758
+ 65: "0.65",
1759
+ 70: "0.7",
1760
+ 75: "0.75",
1761
+ 80: "0.8",
1762
+ 85: "0.85",
1763
+ 90: "0.9",
1764
+ 95: "0.95",
1765
+ 100: "1"
1766
+ },
1767
+ order: {
1768
+ first: "-9999",
1769
+ last: "9999",
1770
+ none: "0",
1771
+ 1: "1",
1772
+ 2: "2",
1773
+ 3: "3",
1774
+ 4: "4",
1775
+ 5: "5",
1776
+ 6: "6",
1777
+ 7: "7",
1778
+ 8: "8",
1779
+ 9: "9",
1780
+ 10: "10",
1781
+ 11: "11",
1782
+ 12: "12"
1783
+ },
1784
+ outlineColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "outlineColor"),
1785
+ outlineOffset: {
1786
+ 0: "0px",
1787
+ 1: "1px",
1788
+ 2: "2px",
1789
+ 4: "4px",
1790
+ 8: "8px"
1791
+ },
1792
+ outlineWidth: {
1793
+ 0: "0px",
1794
+ 1: "1px",
1795
+ 2: "2px",
1796
+ 4: "4px",
1797
+ 8: "8px"
1798
+ },
1799
+ padding: spacing_tailwind_default,
1800
+ placeholderColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "placeholderColor"),
1801
+ placeholderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "placeholderOpacity"),
1802
+ ringColor: /* @__PURE__ */ __name(({ theme }) => ({
1803
+ DEFAULT: theme("colors.blue.500", "#3b82f6"),
1804
+ ...theme("colors")
1805
+ }), "ringColor"),
1806
+ ringOffsetColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "ringOffsetColor"),
1807
+ ringOffsetWidth: {
1808
+ 0: "0px",
1809
+ 1: "1px",
1810
+ 2: "2px",
1811
+ 4: "4px",
1812
+ 8: "8px"
1813
+ },
1814
+ ringOpacity: /* @__PURE__ */ __name(({ theme }) => ({
1815
+ DEFAULT: "0.5",
1816
+ ...theme("opacity")
1817
+ }), "ringOpacity"),
1818
+ ringWidth: {
1819
+ DEFAULT: "3px",
1820
+ 0: "0px",
1821
+ 1: "1px",
1822
+ 2: "2px",
1823
+ 4: "4px",
1824
+ 8: "8px"
1825
+ },
1826
+ rotate: {
1827
+ 0: "0deg",
1828
+ 1: "1deg",
1829
+ 2: "2deg",
1830
+ 3: "3deg",
1831
+ 6: "6deg",
1832
+ 12: "12deg",
1833
+ 45: "45deg",
1834
+ 90: "90deg",
1835
+ 180: "180deg"
1836
+ },
1837
+ saturate: {
1838
+ 0: "0",
1839
+ 50: ".5",
1840
+ 100: "1",
1841
+ 150: "1.5",
1842
+ 200: "2"
1843
+ },
1844
+ scale: {
1845
+ 0: "0",
1846
+ 50: ".5",
1847
+ 75: ".75",
1848
+ 90: ".9",
1849
+ 95: ".95",
1850
+ 100: "1",
1851
+ 105: "1.05",
1852
+ 110: "1.1",
1853
+ 125: "1.25",
1854
+ 150: "1.5"
1855
+ },
1856
+ screens: screens_tailwind_default,
1857
+ scrollMargin: spacing_tailwind_default,
1858
+ scrollPadding: spacing_tailwind_default,
1859
+ sepia: {
1860
+ 0: "0",
1861
+ DEFAULT: "100%"
1862
+ },
1863
+ skew: {
1864
+ 0: "0deg",
1865
+ 1: "1deg",
1866
+ 2: "2deg",
1867
+ 3: "3deg",
1868
+ 6: "6deg",
1869
+ 12: "12deg"
1870
+ },
1871
+ space: spacing_tailwind_default,
1872
+ spacing: spacing_tailwind_default,
1873
+ stroke: /* @__PURE__ */ __name(({ theme }) => ({
1874
+ none: "none",
1875
+ ...theme("colors")
1876
+ }), "stroke"),
1877
+ strokeWidth: {
1878
+ 0: "0",
1879
+ 1: "1",
1880
+ 2: "2"
1881
+ },
1882
+ supports: {},
1883
+ data: {
1884
+ on: 'state~="on"',
1885
+ off: 'state~="off"'
1886
+ },
1887
+ textColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textColor"),
1888
+ textDecorationColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textDecorationColor"),
1889
+ textDecorationThickness: {
1890
+ auto: "auto",
1891
+ "from-font": "from-font",
1892
+ 0: "0px",
1893
+ 1: "1px",
1894
+ 2: "2px",
1895
+ 4: "4px",
1896
+ 8: "8px"
1897
+ },
1898
+ textIndent: spacing_tailwind_default,
1899
+ textOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "textOpacity"),
1900
+ textUnderlineOffset: {
1901
+ auto: "auto",
1902
+ 0: "0px",
1903
+ 1: "1px",
1904
+ 2: "2px",
1905
+ 4: "4px",
1906
+ 8: "8px"
1907
+ },
1908
+ transformOrigin: {
1909
+ center: "center",
1910
+ top: "top",
1911
+ "top-right": "top right",
1912
+ right: "right",
1913
+ "bottom-right": "bottom right",
1914
+ bottom: "bottom",
1915
+ "bottom-left": "bottom left",
1916
+ left: "left",
1917
+ "top-left": "top left"
1918
+ },
1919
+ transitionDelay: {
1920
+ 0: "0s",
1921
+ 75: "75ms",
1922
+ 100: "100ms",
1923
+ 150: "150ms",
1924
+ 200: "200ms",
1925
+ 300: "300ms",
1926
+ 500: "500ms",
1927
+ 700: "700ms",
1928
+ 1e3: "1000ms"
1929
+ },
1930
+ transitionDuration: {
1931
+ DEFAULT: "150ms",
1932
+ 0: "0s",
1933
+ 75: "75ms",
1934
+ 100: "100ms",
1935
+ 150: "150ms",
1936
+ 200: "200ms",
1937
+ 300: "300ms",
1938
+ 500: "500ms",
1939
+ 700: "700ms",
1940
+ 1e3: "1000ms"
1941
+ },
1942
+ transitionProperty: {
1943
+ none: "none",
1944
+ all: "all",
1945
+ DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1946
+ colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1947
+ opacity: "opacity",
1948
+ shadow: "box-shadow",
1949
+ transform: "transform",
1950
+ height: "height",
1951
+ spacing: "margin, padding"
1952
+ },
1953
+ transitionTimingFunction: {
1954
+ DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1955
+ linear: "linear",
1956
+ in: "cubic-bezier(0.4, 0, 1, 1)",
1957
+ out: "cubic-bezier(0, 0, 0.2, 1)",
1958
+ "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1959
+ },
1960
+ translate: {
1961
+ ...spacing_tailwind_default,
1962
+ "1/2": "50%",
1963
+ "1/3": "33.333333%",
1964
+ "2/3": "66.666667%",
1965
+ "1/4": "25%",
1966
+ "2/4": "50%",
1967
+ "3/4": "75%",
1968
+ full: "100%"
1969
+ },
1970
+ width: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1971
+ auto: "auto",
1972
+ ...spacing_tailwind_default,
1973
+ "1/2": "50%",
1974
+ "1/3": "33.333333%",
1975
+ "2/3": "66.666667%",
1976
+ "1/4": "25%",
1977
+ "2/4": "50%",
1978
+ "3/4": "75%",
1979
+ "1/5": "20%",
1980
+ "2/5": "40%",
1981
+ "3/5": "60%",
1982
+ "4/5": "80%",
1983
+ "1/6": "16.666667%",
1984
+ "2/6": "33.333333%",
1985
+ "3/6": "50%",
1986
+ "4/6": "66.666667%",
1987
+ "5/6": "83.333333%",
1988
+ "1/12": "8.333333%",
1989
+ "2/12": "16.666667%",
1990
+ "3/12": "25%",
1991
+ "4/12": "33.333333%",
1992
+ "5/12": "41.666667%",
1993
+ "6/12": "50%",
1994
+ "7/12": "58.333333%",
1995
+ "8/12": "66.666667%",
1996
+ "9/12": "75%",
1997
+ "10/12": "83.333333%",
1998
+ "11/12": "91.666667%",
1999
+ full: "100%",
2000
+ screen: "100vw",
2001
+ min: "min-content",
2002
+ max: "max-content",
2003
+ fit: "fit-content",
2004
+ ...breakpoints(theme("screens"))
2005
+ }), "width"),
2006
+ willChange: {
2007
+ auto: "auto",
2008
+ scroll: "scroll-position",
2009
+ contents: "contents",
2010
+ transform: "transform"
2011
+ },
2012
+ zIndex: z_index_tailwind_default
2013
+ }
2014
+ };
2015
+ export {
2016
+ tailwind_config_hanzo_preset_default as preset
2017
+ };