@hanzo/ui 5.3.26 → 5.3.28

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