@chaibuilder/sdk 1.0.13 → 1.0.15

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 (168) hide show
  1. package/dist/{AddBlocks-H7BZYHUC.js → AddBlocks-eoo1CzaK.js} +114 -111
  2. package/dist/AddBlocks-jU0NwP_s.cjs +3 -0
  3. package/dist/BrandingOptions-WSCFnWAf.cjs +1 -0
  4. package/dist/{BrandingOptions-PAgY-kvj.js → BrandingOptions-_Og7VUHA.js} +57 -41
  5. package/dist/{CanvasArea-zn2ox-5h.js → CanvasArea-cky_d2Lu.js} +517 -519
  6. package/dist/CanvasArea-hT9uHhkz.cjs +46 -0
  7. package/dist/Class-RZuPYbUS.cjs +1 -0
  8. package/dist/{Class-l7qYbuoN.js → Class-nQk08vqd.js} +204 -124
  9. package/dist/{CurrentPage-6Jp4xAWK.js → CurrentPage--OlBwyNE.js} +58 -40
  10. package/dist/CurrentPage-x6Ez11gP.cjs +1 -0
  11. package/dist/Layers-gEA0qWYP.cjs +1 -0
  12. package/dist/{Layers-WkZ48AUm.js → Layers-uzA3QA-4.js} +158 -141
  13. package/dist/MarkAsGlobalBlock-lYL8cO9x.cjs +1 -0
  14. package/dist/MarkAsGlobalBlock-ySc-D4SB.js +84 -0
  15. package/dist/PagesPanel-5t0bV9T2.cjs +1 -0
  16. package/dist/PagesPanel-tH6c9Mnv.js +70 -0
  17. package/dist/ProjectPanel-NdrR6a8t.cjs +1 -0
  18. package/dist/ProjectPanel-Q2-15-In.js +91 -0
  19. package/dist/Settings-DBiwm1hY.cjs +1 -0
  20. package/dist/{Settings-fH8fZKpm.js → Settings-LOqpvQ_1.js} +411 -408
  21. package/dist/SidePanels-8JWYXGqN.cjs +1 -0
  22. package/dist/{SidePanels-w8ZHKJaR.js → SidePanels-F7ccs2Xf.js} +106 -88
  23. package/dist/{Topbar-hm1D_5sb.js → Topbar-lX9OMPwj.js} +47 -45
  24. package/dist/Topbar-qi5ab8rR.cjs +1 -0
  25. package/dist/UnsplashImages-a2r7b3kB.cjs +1 -0
  26. package/dist/{UnsplashImages-gPcBLjgB.js → UnsplashImages-u_QTABzi.js} +56 -44
  27. package/dist/{UploadImages-_ZyUU66E.js → UploadImages-gV5xDHIu.js} +55 -34
  28. package/dist/UploadImages-jLQgLujd.cjs +1 -0
  29. package/dist/add-page-modal-U5ramelz.js +110 -0
  30. package/dist/add-page-modal-tIt3N8jH.cjs +1 -0
  31. package/dist/confirm-alert-ZQ-sxX0X.js +58 -0
  32. package/dist/confirm-alert-z74-fGOT.cjs +1 -0
  33. package/dist/core.cjs +1 -1
  34. package/dist/core.js +99 -124
  35. package/dist/delete-page-modal-5XuSfQT0.cjs +1 -0
  36. package/dist/delete-page-modal-_E87bVUZ.js +89 -0
  37. package/dist/form-Osm1AmO5.cjs +1 -0
  38. package/dist/{form-dVpOAyRl.js → form-zZJyZuNH.js} +12 -12
  39. package/dist/index-2EHcmZqL.js +2947 -0
  40. package/dist/index-RVm8Txnj.js +1149 -0
  41. package/dist/index-_jFEo7h5.cjs +206 -0
  42. package/dist/index-c8zW_D2V.cjs +1 -0
  43. package/dist/index-cU5eyVRU.js +40872 -0
  44. package/dist/index-fwo4wa7u.cjs +1 -0
  45. package/dist/index-gmZcUXyn.js +25 -0
  46. package/dist/index-m2muA80V.cjs +9 -0
  47. package/dist/{jsx-runtime-JYMCiFoE.cjs → jsx-runtime-WKRPbKtm.cjs} +7 -7
  48. package/dist/{jsx-runtime-Sp0orL4X.js → jsx-runtime-qAwJ85SY.js} +109 -106
  49. package/dist/lib.cjs +2 -1
  50. package/dist/lib.js +1333 -71
  51. package/dist/page-viewer-BSc-5M4B.cjs +1 -0
  52. package/dist/{page-viewer-Y4YiaZ_m.js → page-viewer-nLqIs_9w.js} +62 -44
  53. package/dist/project-general-setting-14MA_cX5.cjs +1 -0
  54. package/dist/{project-general-setting-U4S_KlhU.js → project-general-setting-kXh5myAr.js} +46 -36
  55. package/dist/project-seo-setting-POGPEJZ8.cjs +1 -0
  56. package/dist/project-seo-setting-nT1qo1Bb.js +89 -0
  57. package/dist/render.cjs +1 -1
  58. package/dist/render.js +23 -19
  59. package/dist/server.cjs +1 -1
  60. package/dist/server.js +1 -1
  61. package/dist/single-page-detail-EgQd9TSA.cjs +1 -0
  62. package/dist/{single-page-detail-pAxCy_Pe.js → single-page-detail-fV-A6vJR.js} +90 -80
  63. package/dist/studio.cjs +1 -1
  64. package/dist/studio.js +45 -25
  65. package/dist/ui.cjs +1 -1
  66. package/dist/ui.js +156 -357
  67. package/package.json +1 -1
  68. package/dist/AddBlocks-7ACJv8LW.cjs +0 -3
  69. package/dist/BrandingOptions-5j-XszLM.cjs +0 -1
  70. package/dist/CanvasArea-Dnm-yeus.cjs +0 -46
  71. package/dist/ChaiBuilderEditor-BoE-sArB.cjs +0 -163
  72. package/dist/ChaiBuilderEditor-hEuUONQ3.js +0 -27094
  73. package/dist/Class-_uCzl5v1.cjs +0 -1
  74. package/dist/CurrentPage-YMpqOqx7.cjs +0 -1
  75. package/dist/ImagesPanel-6us7hiLN.cjs +0 -1
  76. package/dist/ImagesPanel-oaHOD-Ex.js +0 -27
  77. package/dist/Layers-EzOZdWvd.cjs +0 -1
  78. package/dist/MODIFIERS-DsEzQ3aH.js +0 -73
  79. package/dist/MODIFIERS-Fx6WAZcw.cjs +0 -1
  80. package/dist/MarkAsGlobalBlock-0HubcRkY.js +0 -77
  81. package/dist/MarkAsGlobalBlock-HmeIyLCP.cjs +0 -1
  82. package/dist/PagesPanel-6JuwBLFQ.js +0 -50
  83. package/dist/PagesPanel-zJq8p1ja.cjs +0 -1
  84. package/dist/ProjectPanel-Zml2F8b9.cjs +0 -1
  85. package/dist/ProjectPanel-cu2QSDW9.js +0 -73
  86. package/dist/Settings-lc9PfnmG.cjs +0 -1
  87. package/dist/SidePanels-VH72zFE2.cjs +0 -1
  88. package/dist/Topbar-vQPo9xSY.cjs +0 -1
  89. package/dist/UnsplashImages-BoBBSi1a.cjs +0 -1
  90. package/dist/UploadImages-T6kW0s3G.cjs +0 -1
  91. package/dist/accordion-oPUeqPCZ.js +0 -42
  92. package/dist/accordion-ynvFtV_p.cjs +0 -1
  93. package/dist/add-page-modal--qZSwJuB.cjs +0 -1
  94. package/dist/add-page-modal-bj7qbZuK.js +0 -99
  95. package/dist/alert-dialog-GNfnpqFB.js +0 -64
  96. package/dist/alert-dialog-Mv0-wAvS.cjs +0 -1
  97. package/dist/command-ThdTuUxt.cjs +0 -1
  98. package/dist/command-VHca6CcN.js +0 -97
  99. package/dist/confirm-alert-8EHe0OOd.cjs +0 -1
  100. package/dist/confirm-alert-b0e_BLhF.js +0 -36
  101. package/dist/context-menu-8dC9uGXj.js +0 -122
  102. package/dist/context-menu-IgLbIuth.cjs +0 -1
  103. package/dist/controls-Ni5kEzLz.js +0 -103
  104. package/dist/controls-W97-POR_.cjs +0 -1
  105. package/dist/controls-enQY7NI8.js +0 -118
  106. package/dist/controls-xUKa23ic.cjs +0 -1
  107. package/dist/delete-page-modal-2LuDLEiP.cjs +0 -1
  108. package/dist/delete-page-modal-cnrR8tWH.js +0 -69
  109. package/dist/dialog-S_QbL1iq.cjs +0 -1
  110. package/dist/dialog-jrw9DF1f.js +0 -65
  111. package/dist/dropdown-menu-S03K_fNs.js +0 -164
  112. package/dist/dropdown-menu-sMXR59cB.cjs +0 -1
  113. package/dist/form-nRAvKPQj.cjs +0 -1
  114. package/dist/functions-nNTuSTsR.js +0 -1106
  115. package/dist/functions-pcUZhFJM.js +0 -12
  116. package/dist/functions-sCuB7nvZ.cjs +0 -2
  117. package/dist/functions-uw7QP2kT.cjs +0 -1
  118. package/dist/html-to-json-P6GpbcQX.cjs +0 -1
  119. package/dist/html-to-json-pdHQfRkN.js +0 -178
  120. package/dist/index-HAue58ea.cjs +0 -1
  121. package/dist/index-T4_wfKl5.js +0 -2256
  122. package/dist/index-X9ZgD09V.cjs +0 -1
  123. package/dist/index-ehKdBRUK.js +0 -18
  124. package/dist/label-KaP7MRrs.js +0 -10
  125. package/dist/label-tFm8HZdb.cjs +0 -1
  126. package/dist/link-6o6n2Tnd.js +0 -204
  127. package/dist/link-ece8dZGH.cjs +0 -1
  128. package/dist/page-viewer-IARz6OSp.cjs +0 -1
  129. package/dist/popover-a84pbVhQ.js +0 -23
  130. package/dist/popover-fKjgcRUx.cjs +0 -1
  131. package/dist/project-general-setting-eSl3t-VH.cjs +0 -1
  132. package/dist/project-seo-setting-Ga9v_ECU.js +0 -67
  133. package/dist/project-seo-setting-rankm1z3.cjs +0 -1
  134. package/dist/scroll-area-FiHvy-TZ.cjs +0 -1
  135. package/dist/scroll-area-ewXbxc3n.js +0 -30
  136. package/dist/select-7bjg-rr9.cjs +0 -1
  137. package/dist/select-POGdEDHT.js +0 -75
  138. package/dist/separator-3Civ-6hb.cjs +0 -1
  139. package/dist/separator-SctTn0Qi.js +0 -18
  140. package/dist/single-page-detail-yPgnu2AI.cjs +0 -1
  141. package/dist/skeleton-CU_FIbg3.js +0 -239
  142. package/dist/skeleton-JHP9zwL2.cjs +0 -1
  143. package/dist/tabs-Gb9v5dVb.js +0 -46
  144. package/dist/tabs-iWeaaVrg.cjs +0 -1
  145. package/dist/textarea-1kZEh7ki.cjs +0 -1
  146. package/dist/textarea-b2QvVhrK.js +0 -73
  147. package/dist/toggle-ASJRAaGP.js +0 -30
  148. package/dist/toggle-ehNIPmme.cjs +0 -1
  149. package/dist/useAddBlock-WJc3OgG8.js +0 -86
  150. package/dist/useAddBlock-dCKRFPRU.cjs +0 -1
  151. package/dist/useAllBlocks-6hvuNuyw.cjs +0 -1
  152. package/dist/useAllBlocks-PQKYvs-e.js +0 -20
  153. package/dist/useChaiExternalData-4K9WxANa.js +0 -6
  154. package/dist/useChaiExternalData-DkyBJ81C.cjs +0 -1
  155. package/dist/useDarkMode-ZKCO_gkt.js +0 -23
  156. package/dist/useDarkMode-dV6FM6l-.cjs +0 -1
  157. package/dist/useFeatureSupport-OLwNgEZb.js +0 -16
  158. package/dist/useFeatureSupport-c9IgPW2t.cjs +0 -1
  159. package/dist/useHiddenBlocks-3MsGOJ1s.js +0 -15
  160. package/dist/useHiddenBlocks-oJuQDmTy.cjs +0 -1
  161. package/dist/useLanguage-NKKKaxVM.cjs +0 -1
  162. package/dist/useLanguage-gVC5rxO5.js +0 -216
  163. package/dist/useMarkAsGlobalBlock-X73Vny8u.js +0 -25
  164. package/dist/useMarkAsGlobalBlock-ebBVGHg4.cjs +0 -1
  165. package/dist/useUiLibraries-4hPOi8DI.js +0 -12
  166. package/dist/useUiLibraries-9FhQCpKo.cjs +0 -1
  167. package/dist/utils-dze1SGvB.js +0 -6
  168. package/dist/utils-qK_SjzzV.cjs +0 -1
@@ -1,1106 +0,0 @@
1
- import { get as s, includes as c, last as h, replace as y, set as u, startsWith as w } from "lodash";
2
- import { createTailwindcss as k } from "@mhsdesign/jit-browser-tailwindcss";
3
- import { tailwindcssPaletteGenerator as C } from "@bobthered/tailwindcss-palette-generator";
4
- import { g as z, S as x } from "./MODIFIERS-DsEzQ3aH.js";
5
- import F from "@tailwindcss/forms";
6
- import T from "@tailwindcss/typography";
7
- import S from "@tailwindcss/aspect-ratio";
8
- import D from "@tailwindcss/line-clamp";
9
- var f = {}, b = {};
10
- (function(e) {
11
- Object.defineProperty(e, "__esModule", {
12
- value: !0
13
- }), Object.defineProperty(e, "cloneDeep", {
14
- enumerable: !0,
15
- get: function() {
16
- return t;
17
- }
18
- });
19
- function t(r) {
20
- return Array.isArray(r) ? r.map((n) => t(n)) : typeof r == "object" && r !== null ? Object.fromEntries(Object.entries(r).map(([n, o]) => [
21
- n,
22
- t(o)
23
- ])) : r;
24
- }
25
- })(b);
26
- var v = {
27
- content: [],
28
- presets: [],
29
- darkMode: "media",
30
- // or 'class'
31
- theme: {
32
- accentColor: ({ theme: e }) => ({
33
- ...e("colors"),
34
- auto: "auto"
35
- }),
36
- animation: {
37
- none: "none",
38
- spin: "spin 1s linear infinite",
39
- ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
40
- pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
41
- bounce: "bounce 1s infinite"
42
- },
43
- aria: {
44
- busy: 'busy="true"',
45
- checked: 'checked="true"',
46
- disabled: 'disabled="true"',
47
- expanded: 'expanded="true"',
48
- hidden: 'hidden="true"',
49
- pressed: 'pressed="true"',
50
- readonly: 'readonly="true"',
51
- required: 'required="true"',
52
- selected: 'selected="true"'
53
- },
54
- aspectRatio: {
55
- auto: "auto",
56
- square: "1 / 1",
57
- video: "16 / 9"
58
- },
59
- backdropBlur: ({ theme: e }) => e("blur"),
60
- backdropBrightness: ({ theme: e }) => e("brightness"),
61
- backdropContrast: ({ theme: e }) => e("contrast"),
62
- backdropGrayscale: ({ theme: e }) => e("grayscale"),
63
- backdropHueRotate: ({ theme: e }) => e("hueRotate"),
64
- backdropInvert: ({ theme: e }) => e("invert"),
65
- backdropOpacity: ({ theme: e }) => e("opacity"),
66
- backdropSaturate: ({ theme: e }) => e("saturate"),
67
- backdropSepia: ({ theme: e }) => e("sepia"),
68
- backgroundColor: ({ theme: e }) => e("colors"),
69
- backgroundImage: {
70
- none: "none",
71
- "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
72
- "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
73
- "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
74
- "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
75
- "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
76
- "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
77
- "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
78
- "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
79
- },
80
- backgroundOpacity: ({ theme: e }) => e("opacity"),
81
- backgroundPosition: {
82
- bottom: "bottom",
83
- center: "center",
84
- left: "left",
85
- "left-bottom": "left bottom",
86
- "left-top": "left top",
87
- right: "right",
88
- "right-bottom": "right bottom",
89
- "right-top": "right top",
90
- top: "top"
91
- },
92
- backgroundSize: {
93
- auto: "auto",
94
- cover: "cover",
95
- contain: "contain"
96
- },
97
- blur: {
98
- 0: "0",
99
- none: "0",
100
- sm: "4px",
101
- DEFAULT: "8px",
102
- md: "12px",
103
- lg: "16px",
104
- xl: "24px",
105
- "2xl": "40px",
106
- "3xl": "64px"
107
- },
108
- borderColor: ({ theme: e }) => ({
109
- ...e("colors"),
110
- DEFAULT: e("colors.gray.200", "currentColor")
111
- }),
112
- borderOpacity: ({ theme: e }) => e("opacity"),
113
- borderRadius: {
114
- none: "0px",
115
- sm: "0.125rem",
116
- DEFAULT: "0.25rem",
117
- md: "0.375rem",
118
- lg: "0.5rem",
119
- xl: "0.75rem",
120
- "2xl": "1rem",
121
- "3xl": "1.5rem",
122
- full: "9999px"
123
- },
124
- borderSpacing: ({ theme: e }) => ({
125
- ...e("spacing")
126
- }),
127
- borderWidth: {
128
- DEFAULT: "1px",
129
- 0: "0px",
130
- 2: "2px",
131
- 4: "4px",
132
- 8: "8px"
133
- },
134
- boxShadow: {
135
- sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
136
- DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
137
- md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
138
- lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
139
- xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
140
- "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
141
- inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
142
- none: "none"
143
- },
144
- boxShadowColor: ({ theme: e }) => e("colors"),
145
- brightness: {
146
- 0: "0",
147
- 50: ".5",
148
- 75: ".75",
149
- 90: ".9",
150
- 95: ".95",
151
- 100: "1",
152
- 105: "1.05",
153
- 110: "1.1",
154
- 125: "1.25",
155
- 150: "1.5",
156
- 200: "2"
157
- },
158
- caretColor: ({ theme: e }) => e("colors"),
159
- colors: ({ colors: e }) => ({
160
- inherit: e.inherit,
161
- current: e.current,
162
- transparent: e.transparent,
163
- black: e.black,
164
- white: e.white,
165
- slate: e.slate,
166
- gray: e.gray,
167
- zinc: e.zinc,
168
- neutral: e.neutral,
169
- stone: e.stone,
170
- red: e.red,
171
- orange: e.orange,
172
- amber: e.amber,
173
- yellow: e.yellow,
174
- lime: e.lime,
175
- green: e.green,
176
- emerald: e.emerald,
177
- teal: e.teal,
178
- cyan: e.cyan,
179
- sky: e.sky,
180
- blue: e.blue,
181
- indigo: e.indigo,
182
- violet: e.violet,
183
- purple: e.purple,
184
- fuchsia: e.fuchsia,
185
- pink: e.pink,
186
- rose: e.rose
187
- }),
188
- columns: {
189
- auto: "auto",
190
- 1: "1",
191
- 2: "2",
192
- 3: "3",
193
- 4: "4",
194
- 5: "5",
195
- 6: "6",
196
- 7: "7",
197
- 8: "8",
198
- 9: "9",
199
- 10: "10",
200
- 11: "11",
201
- 12: "12",
202
- "3xs": "16rem",
203
- "2xs": "18rem",
204
- xs: "20rem",
205
- sm: "24rem",
206
- md: "28rem",
207
- lg: "32rem",
208
- xl: "36rem",
209
- "2xl": "42rem",
210
- "3xl": "48rem",
211
- "4xl": "56rem",
212
- "5xl": "64rem",
213
- "6xl": "72rem",
214
- "7xl": "80rem"
215
- },
216
- container: {},
217
- content: {
218
- none: "none"
219
- },
220
- contrast: {
221
- 0: "0",
222
- 50: ".5",
223
- 75: ".75",
224
- 100: "1",
225
- 125: "1.25",
226
- 150: "1.5",
227
- 200: "2"
228
- },
229
- cursor: {
230
- auto: "auto",
231
- default: "default",
232
- pointer: "pointer",
233
- wait: "wait",
234
- text: "text",
235
- move: "move",
236
- help: "help",
237
- "not-allowed": "not-allowed",
238
- none: "none",
239
- "context-menu": "context-menu",
240
- progress: "progress",
241
- cell: "cell",
242
- crosshair: "crosshair",
243
- "vertical-text": "vertical-text",
244
- alias: "alias",
245
- copy: "copy",
246
- "no-drop": "no-drop",
247
- grab: "grab",
248
- grabbing: "grabbing",
249
- "all-scroll": "all-scroll",
250
- "col-resize": "col-resize",
251
- "row-resize": "row-resize",
252
- "n-resize": "n-resize",
253
- "e-resize": "e-resize",
254
- "s-resize": "s-resize",
255
- "w-resize": "w-resize",
256
- "ne-resize": "ne-resize",
257
- "nw-resize": "nw-resize",
258
- "se-resize": "se-resize",
259
- "sw-resize": "sw-resize",
260
- "ew-resize": "ew-resize",
261
- "ns-resize": "ns-resize",
262
- "nesw-resize": "nesw-resize",
263
- "nwse-resize": "nwse-resize",
264
- "zoom-in": "zoom-in",
265
- "zoom-out": "zoom-out"
266
- },
267
- divideColor: ({ theme: e }) => e("borderColor"),
268
- divideOpacity: ({ theme: e }) => e("borderOpacity"),
269
- divideWidth: ({ theme: e }) => e("borderWidth"),
270
- dropShadow: {
271
- sm: "0 1px 1px rgb(0 0 0 / 0.05)",
272
- DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
273
- md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
274
- lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
275
- xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
276
- "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
277
- none: "0 0 #0000"
278
- },
279
- fill: ({ theme: e }) => ({
280
- none: "none",
281
- ...e("colors")
282
- }),
283
- flex: {
284
- 1: "1 1 0%",
285
- auto: "1 1 auto",
286
- initial: "0 1 auto",
287
- none: "none"
288
- },
289
- flexBasis: ({ theme: e }) => ({
290
- auto: "auto",
291
- ...e("spacing"),
292
- "1/2": "50%",
293
- "1/3": "33.333333%",
294
- "2/3": "66.666667%",
295
- "1/4": "25%",
296
- "2/4": "50%",
297
- "3/4": "75%",
298
- "1/5": "20%",
299
- "2/5": "40%",
300
- "3/5": "60%",
301
- "4/5": "80%",
302
- "1/6": "16.666667%",
303
- "2/6": "33.333333%",
304
- "3/6": "50%",
305
- "4/6": "66.666667%",
306
- "5/6": "83.333333%",
307
- "1/12": "8.333333%",
308
- "2/12": "16.666667%",
309
- "3/12": "25%",
310
- "4/12": "33.333333%",
311
- "5/12": "41.666667%",
312
- "6/12": "50%",
313
- "7/12": "58.333333%",
314
- "8/12": "66.666667%",
315
- "9/12": "75%",
316
- "10/12": "83.333333%",
317
- "11/12": "91.666667%",
318
- full: "100%"
319
- }),
320
- flexGrow: {
321
- 0: "0",
322
- DEFAULT: "1"
323
- },
324
- flexShrink: {
325
- 0: "0",
326
- DEFAULT: "1"
327
- },
328
- fontFamily: {
329
- sans: [
330
- "ui-sans-serif",
331
- "system-ui",
332
- "-apple-system",
333
- "BlinkMacSystemFont",
334
- '"Segoe UI"',
335
- "Roboto",
336
- '"Helvetica Neue"',
337
- "Arial",
338
- '"Noto Sans"',
339
- "sans-serif",
340
- '"Apple Color Emoji"',
341
- '"Segoe UI Emoji"',
342
- '"Segoe UI Symbol"',
343
- '"Noto Color Emoji"'
344
- ],
345
- serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
346
- mono: [
347
- "ui-monospace",
348
- "SFMono-Regular",
349
- "Menlo",
350
- "Monaco",
351
- "Consolas",
352
- '"Liberation Mono"',
353
- '"Courier New"',
354
- "monospace"
355
- ]
356
- },
357
- fontSize: {
358
- xs: ["0.75rem", { lineHeight: "1rem" }],
359
- sm: ["0.875rem", { lineHeight: "1.25rem" }],
360
- base: ["1rem", { lineHeight: "1.5rem" }],
361
- lg: ["1.125rem", { lineHeight: "1.75rem" }],
362
- xl: ["1.25rem", { lineHeight: "1.75rem" }],
363
- "2xl": ["1.5rem", { lineHeight: "2rem" }],
364
- "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
365
- "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
366
- "5xl": ["3rem", { lineHeight: "1" }],
367
- "6xl": ["3.75rem", { lineHeight: "1" }],
368
- "7xl": ["4.5rem", { lineHeight: "1" }],
369
- "8xl": ["6rem", { lineHeight: "1" }],
370
- "9xl": ["8rem", { lineHeight: "1" }]
371
- },
372
- fontWeight: {
373
- thin: "100",
374
- extralight: "200",
375
- light: "300",
376
- normal: "400",
377
- medium: "500",
378
- semibold: "600",
379
- bold: "700",
380
- extrabold: "800",
381
- black: "900"
382
- },
383
- gap: ({ theme: e }) => e("spacing"),
384
- gradientColorStops: ({ theme: e }) => e("colors"),
385
- gradientColorStopPositions: {
386
- "0%": "0%",
387
- "5%": "5%",
388
- "10%": "10%",
389
- "15%": "15%",
390
- "20%": "20%",
391
- "25%": "25%",
392
- "30%": "30%",
393
- "35%": "35%",
394
- "40%": "40%",
395
- "45%": "45%",
396
- "50%": "50%",
397
- "55%": "55%",
398
- "60%": "60%",
399
- "65%": "65%",
400
- "70%": "70%",
401
- "75%": "75%",
402
- "80%": "80%",
403
- "85%": "85%",
404
- "90%": "90%",
405
- "95%": "95%",
406
- "100%": "100%"
407
- },
408
- grayscale: {
409
- 0: "0",
410
- DEFAULT: "100%"
411
- },
412
- gridAutoColumns: {
413
- auto: "auto",
414
- min: "min-content",
415
- max: "max-content",
416
- fr: "minmax(0, 1fr)"
417
- },
418
- gridAutoRows: {
419
- auto: "auto",
420
- min: "min-content",
421
- max: "max-content",
422
- fr: "minmax(0, 1fr)"
423
- },
424
- gridColumn: {
425
- auto: "auto",
426
- "span-1": "span 1 / span 1",
427
- "span-2": "span 2 / span 2",
428
- "span-3": "span 3 / span 3",
429
- "span-4": "span 4 / span 4",
430
- "span-5": "span 5 / span 5",
431
- "span-6": "span 6 / span 6",
432
- "span-7": "span 7 / span 7",
433
- "span-8": "span 8 / span 8",
434
- "span-9": "span 9 / span 9",
435
- "span-10": "span 10 / span 10",
436
- "span-11": "span 11 / span 11",
437
- "span-12": "span 12 / span 12",
438
- "span-full": "1 / -1"
439
- },
440
- gridColumnEnd: {
441
- auto: "auto",
442
- 1: "1",
443
- 2: "2",
444
- 3: "3",
445
- 4: "4",
446
- 5: "5",
447
- 6: "6",
448
- 7: "7",
449
- 8: "8",
450
- 9: "9",
451
- 10: "10",
452
- 11: "11",
453
- 12: "12",
454
- 13: "13"
455
- },
456
- gridColumnStart: {
457
- auto: "auto",
458
- 1: "1",
459
- 2: "2",
460
- 3: "3",
461
- 4: "4",
462
- 5: "5",
463
- 6: "6",
464
- 7: "7",
465
- 8: "8",
466
- 9: "9",
467
- 10: "10",
468
- 11: "11",
469
- 12: "12",
470
- 13: "13"
471
- },
472
- gridRow: {
473
- auto: "auto",
474
- "span-1": "span 1 / span 1",
475
- "span-2": "span 2 / span 2",
476
- "span-3": "span 3 / span 3",
477
- "span-4": "span 4 / span 4",
478
- "span-5": "span 5 / span 5",
479
- "span-6": "span 6 / span 6",
480
- "span-full": "1 / -1"
481
- },
482
- gridRowEnd: {
483
- auto: "auto",
484
- 1: "1",
485
- 2: "2",
486
- 3: "3",
487
- 4: "4",
488
- 5: "5",
489
- 6: "6",
490
- 7: "7"
491
- },
492
- gridRowStart: {
493
- auto: "auto",
494
- 1: "1",
495
- 2: "2",
496
- 3: "3",
497
- 4: "4",
498
- 5: "5",
499
- 6: "6",
500
- 7: "7"
501
- },
502
- gridTemplateColumns: {
503
- none: "none",
504
- 1: "repeat(1, minmax(0, 1fr))",
505
- 2: "repeat(2, minmax(0, 1fr))",
506
- 3: "repeat(3, minmax(0, 1fr))",
507
- 4: "repeat(4, minmax(0, 1fr))",
508
- 5: "repeat(5, minmax(0, 1fr))",
509
- 6: "repeat(6, minmax(0, 1fr))",
510
- 7: "repeat(7, minmax(0, 1fr))",
511
- 8: "repeat(8, minmax(0, 1fr))",
512
- 9: "repeat(9, minmax(0, 1fr))",
513
- 10: "repeat(10, minmax(0, 1fr))",
514
- 11: "repeat(11, minmax(0, 1fr))",
515
- 12: "repeat(12, minmax(0, 1fr))"
516
- },
517
- gridTemplateRows: {
518
- none: "none",
519
- 1: "repeat(1, minmax(0, 1fr))",
520
- 2: "repeat(2, minmax(0, 1fr))",
521
- 3: "repeat(3, minmax(0, 1fr))",
522
- 4: "repeat(4, minmax(0, 1fr))",
523
- 5: "repeat(5, minmax(0, 1fr))",
524
- 6: "repeat(6, minmax(0, 1fr))"
525
- },
526
- height: ({ theme: e }) => ({
527
- auto: "auto",
528
- ...e("spacing"),
529
- "1/2": "50%",
530
- "1/3": "33.333333%",
531
- "2/3": "66.666667%",
532
- "1/4": "25%",
533
- "2/4": "50%",
534
- "3/4": "75%",
535
- "1/5": "20%",
536
- "2/5": "40%",
537
- "3/5": "60%",
538
- "4/5": "80%",
539
- "1/6": "16.666667%",
540
- "2/6": "33.333333%",
541
- "3/6": "50%",
542
- "4/6": "66.666667%",
543
- "5/6": "83.333333%",
544
- full: "100%",
545
- screen: "100vh",
546
- min: "min-content",
547
- max: "max-content",
548
- fit: "fit-content"
549
- }),
550
- hueRotate: {
551
- 0: "0deg",
552
- 15: "15deg",
553
- 30: "30deg",
554
- 60: "60deg",
555
- 90: "90deg",
556
- 180: "180deg"
557
- },
558
- inset: ({ theme: e }) => ({
559
- auto: "auto",
560
- ...e("spacing"),
561
- "1/2": "50%",
562
- "1/3": "33.333333%",
563
- "2/3": "66.666667%",
564
- "1/4": "25%",
565
- "2/4": "50%",
566
- "3/4": "75%",
567
- full: "100%"
568
- }),
569
- invert: {
570
- 0: "0",
571
- DEFAULT: "100%"
572
- },
573
- keyframes: {
574
- spin: {
575
- to: {
576
- transform: "rotate(360deg)"
577
- }
578
- },
579
- ping: {
580
- "75%, 100%": {
581
- transform: "scale(2)",
582
- opacity: "0"
583
- }
584
- },
585
- pulse: {
586
- "50%": {
587
- opacity: ".5"
588
- }
589
- },
590
- bounce: {
591
- "0%, 100%": {
592
- transform: "translateY(-25%)",
593
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
594
- },
595
- "50%": {
596
- transform: "none",
597
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
598
- }
599
- }
600
- },
601
- letterSpacing: {
602
- tighter: "-0.05em",
603
- tight: "-0.025em",
604
- normal: "0em",
605
- wide: "0.025em",
606
- wider: "0.05em",
607
- widest: "0.1em"
608
- },
609
- lineHeight: {
610
- none: "1",
611
- tight: "1.25",
612
- snug: "1.375",
613
- normal: "1.5",
614
- relaxed: "1.625",
615
- loose: "2",
616
- 3: ".75rem",
617
- 4: "1rem",
618
- 5: "1.25rem",
619
- 6: "1.5rem",
620
- 7: "1.75rem",
621
- 8: "2rem",
622
- 9: "2.25rem",
623
- 10: "2.5rem"
624
- },
625
- listStyleType: {
626
- none: "none",
627
- disc: "disc",
628
- decimal: "decimal"
629
- },
630
- listStyleImage: {
631
- none: "none"
632
- },
633
- margin: ({ theme: e }) => ({
634
- auto: "auto",
635
- ...e("spacing")
636
- }),
637
- lineClamp: {
638
- 1: "1",
639
- 2: "2",
640
- 3: "3",
641
- 4: "4",
642
- 5: "5",
643
- 6: "6"
644
- },
645
- maxHeight: ({ theme: e }) => ({
646
- ...e("spacing"),
647
- none: "none",
648
- full: "100%",
649
- screen: "100vh",
650
- min: "min-content",
651
- max: "max-content",
652
- fit: "fit-content"
653
- }),
654
- maxWidth: ({ theme: e, breakpoints: t }) => ({
655
- none: "none",
656
- 0: "0rem",
657
- xs: "20rem",
658
- sm: "24rem",
659
- md: "28rem",
660
- lg: "32rem",
661
- xl: "36rem",
662
- "2xl": "42rem",
663
- "3xl": "48rem",
664
- "4xl": "56rem",
665
- "5xl": "64rem",
666
- "6xl": "72rem",
667
- "7xl": "80rem",
668
- full: "100%",
669
- min: "min-content",
670
- max: "max-content",
671
- fit: "fit-content",
672
- prose: "65ch",
673
- ...t(e("screens"))
674
- }),
675
- minHeight: {
676
- 0: "0px",
677
- full: "100%",
678
- screen: "100vh",
679
- min: "min-content",
680
- max: "max-content",
681
- fit: "fit-content"
682
- },
683
- minWidth: {
684
- 0: "0px",
685
- full: "100%",
686
- min: "min-content",
687
- max: "max-content",
688
- fit: "fit-content"
689
- },
690
- objectPosition: {
691
- bottom: "bottom",
692
- center: "center",
693
- left: "left",
694
- "left-bottom": "left bottom",
695
- "left-top": "left top",
696
- right: "right",
697
- "right-bottom": "right bottom",
698
- "right-top": "right top",
699
- top: "top"
700
- },
701
- opacity: {
702
- 0: "0",
703
- 5: "0.05",
704
- 10: "0.1",
705
- 20: "0.2",
706
- 25: "0.25",
707
- 30: "0.3",
708
- 40: "0.4",
709
- 50: "0.5",
710
- 60: "0.6",
711
- 70: "0.7",
712
- 75: "0.75",
713
- 80: "0.8",
714
- 90: "0.9",
715
- 95: "0.95",
716
- 100: "1"
717
- },
718
- order: {
719
- first: "-9999",
720
- last: "9999",
721
- none: "0",
722
- 1: "1",
723
- 2: "2",
724
- 3: "3",
725
- 4: "4",
726
- 5: "5",
727
- 6: "6",
728
- 7: "7",
729
- 8: "8",
730
- 9: "9",
731
- 10: "10",
732
- 11: "11",
733
- 12: "12"
734
- },
735
- outlineColor: ({ theme: e }) => e("colors"),
736
- outlineOffset: {
737
- 0: "0px",
738
- 1: "1px",
739
- 2: "2px",
740
- 4: "4px",
741
- 8: "8px"
742
- },
743
- outlineWidth: {
744
- 0: "0px",
745
- 1: "1px",
746
- 2: "2px",
747
- 4: "4px",
748
- 8: "8px"
749
- },
750
- padding: ({ theme: e }) => e("spacing"),
751
- placeholderColor: ({ theme: e }) => e("colors"),
752
- placeholderOpacity: ({ theme: e }) => e("opacity"),
753
- ringColor: ({ theme: e }) => ({
754
- DEFAULT: e("colors.blue.500", "#3b82f6"),
755
- ...e("colors")
756
- }),
757
- ringOffsetColor: ({ theme: e }) => e("colors"),
758
- ringOffsetWidth: {
759
- 0: "0px",
760
- 1: "1px",
761
- 2: "2px",
762
- 4: "4px",
763
- 8: "8px"
764
- },
765
- ringOpacity: ({ theme: e }) => ({
766
- DEFAULT: "0.5",
767
- ...e("opacity")
768
- }),
769
- ringWidth: {
770
- DEFAULT: "3px",
771
- 0: "0px",
772
- 1: "1px",
773
- 2: "2px",
774
- 4: "4px",
775
- 8: "8px"
776
- },
777
- rotate: {
778
- 0: "0deg",
779
- 1: "1deg",
780
- 2: "2deg",
781
- 3: "3deg",
782
- 6: "6deg",
783
- 12: "12deg",
784
- 45: "45deg",
785
- 90: "90deg",
786
- 180: "180deg"
787
- },
788
- saturate: {
789
- 0: "0",
790
- 50: ".5",
791
- 100: "1",
792
- 150: "1.5",
793
- 200: "2"
794
- },
795
- scale: {
796
- 0: "0",
797
- 50: ".5",
798
- 75: ".75",
799
- 90: ".9",
800
- 95: ".95",
801
- 100: "1",
802
- 105: "1.05",
803
- 110: "1.1",
804
- 125: "1.25",
805
- 150: "1.5"
806
- },
807
- screens: {
808
- sm: "640px",
809
- md: "768px",
810
- lg: "1024px",
811
- xl: "1280px",
812
- "2xl": "1536px"
813
- },
814
- scrollMargin: ({ theme: e }) => ({
815
- ...e("spacing")
816
- }),
817
- scrollPadding: ({ theme: e }) => e("spacing"),
818
- sepia: {
819
- 0: "0",
820
- DEFAULT: "100%"
821
- },
822
- skew: {
823
- 0: "0deg",
824
- 1: "1deg",
825
- 2: "2deg",
826
- 3: "3deg",
827
- 6: "6deg",
828
- 12: "12deg"
829
- },
830
- space: ({ theme: e }) => ({
831
- ...e("spacing")
832
- }),
833
- spacing: {
834
- px: "1px",
835
- 0: "0px",
836
- 0.5: "0.125rem",
837
- 1: "0.25rem",
838
- 1.5: "0.375rem",
839
- 2: "0.5rem",
840
- 2.5: "0.625rem",
841
- 3: "0.75rem",
842
- 3.5: "0.875rem",
843
- 4: "1rem",
844
- 5: "1.25rem",
845
- 6: "1.5rem",
846
- 7: "1.75rem",
847
- 8: "2rem",
848
- 9: "2.25rem",
849
- 10: "2.5rem",
850
- 11: "2.75rem",
851
- 12: "3rem",
852
- 14: "3.5rem",
853
- 16: "4rem",
854
- 20: "5rem",
855
- 24: "6rem",
856
- 28: "7rem",
857
- 32: "8rem",
858
- 36: "9rem",
859
- 40: "10rem",
860
- 44: "11rem",
861
- 48: "12rem",
862
- 52: "13rem",
863
- 56: "14rem",
864
- 60: "15rem",
865
- 64: "16rem",
866
- 72: "18rem",
867
- 80: "20rem",
868
- 96: "24rem"
869
- },
870
- stroke: ({ theme: e }) => ({
871
- none: "none",
872
- ...e("colors")
873
- }),
874
- strokeWidth: {
875
- 0: "0",
876
- 1: "1",
877
- 2: "2"
878
- },
879
- supports: {},
880
- data: {},
881
- textColor: ({ theme: e }) => e("colors"),
882
- textDecorationColor: ({ theme: e }) => e("colors"),
883
- textDecorationThickness: {
884
- auto: "auto",
885
- "from-font": "from-font",
886
- 0: "0px",
887
- 1: "1px",
888
- 2: "2px",
889
- 4: "4px",
890
- 8: "8px"
891
- },
892
- textIndent: ({ theme: e }) => ({
893
- ...e("spacing")
894
- }),
895
- textOpacity: ({ theme: e }) => e("opacity"),
896
- textUnderlineOffset: {
897
- auto: "auto",
898
- 0: "0px",
899
- 1: "1px",
900
- 2: "2px",
901
- 4: "4px",
902
- 8: "8px"
903
- },
904
- transformOrigin: {
905
- center: "center",
906
- top: "top",
907
- "top-right": "top right",
908
- right: "right",
909
- "bottom-right": "bottom right",
910
- bottom: "bottom",
911
- "bottom-left": "bottom left",
912
- left: "left",
913
- "top-left": "top left"
914
- },
915
- transitionDelay: {
916
- 0: "0s",
917
- 75: "75ms",
918
- 100: "100ms",
919
- 150: "150ms",
920
- 200: "200ms",
921
- 300: "300ms",
922
- 500: "500ms",
923
- 700: "700ms",
924
- 1e3: "1000ms"
925
- },
926
- transitionDuration: {
927
- DEFAULT: "150ms",
928
- 0: "0s",
929
- 75: "75ms",
930
- 100: "100ms",
931
- 150: "150ms",
932
- 200: "200ms",
933
- 300: "300ms",
934
- 500: "500ms",
935
- 700: "700ms",
936
- 1e3: "1000ms"
937
- },
938
- transitionProperty: {
939
- none: "none",
940
- all: "all",
941
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
942
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
943
- opacity: "opacity",
944
- shadow: "box-shadow",
945
- transform: "transform"
946
- },
947
- transitionTimingFunction: {
948
- DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
949
- linear: "linear",
950
- in: "cubic-bezier(0.4, 0, 1, 1)",
951
- out: "cubic-bezier(0, 0, 0.2, 1)",
952
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
953
- },
954
- translate: ({ theme: e }) => ({
955
- ...e("spacing"),
956
- "1/2": "50%",
957
- "1/3": "33.333333%",
958
- "2/3": "66.666667%",
959
- "1/4": "25%",
960
- "2/4": "50%",
961
- "3/4": "75%",
962
- full: "100%"
963
- }),
964
- width: ({ theme: e }) => ({
965
- auto: "auto",
966
- ...e("spacing"),
967
- "1/2": "50%",
968
- "1/3": "33.333333%",
969
- "2/3": "66.666667%",
970
- "1/4": "25%",
971
- "2/4": "50%",
972
- "3/4": "75%",
973
- "1/5": "20%",
974
- "2/5": "40%",
975
- "3/5": "60%",
976
- "4/5": "80%",
977
- "1/6": "16.666667%",
978
- "2/6": "33.333333%",
979
- "3/6": "50%",
980
- "4/6": "66.666667%",
981
- "5/6": "83.333333%",
982
- "1/12": "8.333333%",
983
- "2/12": "16.666667%",
984
- "3/12": "25%",
985
- "4/12": "33.333333%",
986
- "5/12": "41.666667%",
987
- "6/12": "50%",
988
- "7/12": "58.333333%",
989
- "8/12": "66.666667%",
990
- "9/12": "75%",
991
- "10/12": "83.333333%",
992
- "11/12": "91.666667%",
993
- full: "100%",
994
- screen: "100vw",
995
- min: "min-content",
996
- max: "max-content",
997
- fit: "fit-content"
998
- }),
999
- willChange: {
1000
- auto: "auto",
1001
- scroll: "scroll-position",
1002
- contents: "contents",
1003
- transform: "transform"
1004
- },
1005
- zIndex: {
1006
- auto: "auto",
1007
- 0: "0",
1008
- 10: "10",
1009
- 20: "20",
1010
- 30: "30",
1011
- 40: "40",
1012
- 50: "50"
1013
- }
1014
- },
1015
- plugins: []
1016
- };
1017
- (function(e) {
1018
- Object.defineProperty(e, "__esModule", {
1019
- value: !0
1020
- }), Object.defineProperty(e, "default", {
1021
- enumerable: !0,
1022
- get: function() {
1023
- return o;
1024
- }
1025
- });
1026
- const t = b, r = /* @__PURE__ */ n(v);
1027
- function n(a) {
1028
- return a && a.__esModule ? a : {
1029
- default: a
1030
- };
1031
- }
1032
- const o = (0, t.cloneDeep)(r.default.theme);
1033
- })(f);
1034
- let d = f;
1035
- var E = (d.__esModule ? d : { default: d }).default;
1036
- const g = /* @__PURE__ */ z(E), A = (e, t = "c-") => {
1037
- const r = s(e, "bodyTextLightColor", "#64748b"), n = s(e, "bodyTextDarkColor", "#94a3b8"), o = s(e, "bodyBgLightColor", "#FFFFFF"), a = s(e, "bodyBgDarkColor", "#0f172a");
1038
- return `${t}font-body ${t}antialiased ${t}text-[${r}] ${t}bg-[${o}] dark:${t}text-[${n}] dark:${t}bg-[${a}]`;
1039
- }, L = (e, t = "c-") => {
1040
- const n = e.replace(x, "").split(",").map((o) => o.split(" ").map((i) => {
1041
- if (i === "")
1042
- return "";
1043
- if (c(i, "hs-") || c(i, "[--") || c(i, "paddle"))
1044
- return i;
1045
- if (i.includes(":")) {
1046
- const l = i.split(":");
1047
- return l[l.length - 1] = t + h(l), l.join(":");
1048
- }
1049
- return `${t}${i}`;
1050
- }).join(" "));
1051
- return `${x}${n.join(" , ")}`;
1052
- }, $ = (e, t) => e.map((r) => {
1053
- const n = {};
1054
- return Object.keys(r).forEach((o) => {
1055
- w(r[o], x) && (n[o] = L(r[o], t));
1056
- }), n;
1057
- }), U = (e, t, r = "c-") => {
1058
- const n = A(t, r);
1059
- return H(
1060
- t,
1061
- [y(JSON.stringify($(e, r)), /#styles:/g, "")],
1062
- n.split(" ").concat(`${r}inline-block`, `${r}w-full`, `${r}h-full`)
1063
- );
1064
- }, q = async (e, t = "c-") => {
1065
- const r = e.page.blocks;
1066
- return await U(r, e.project.brandingOptions, t);
1067
- };
1068
- async function H(e, t, r = [], n = "c-") {
1069
- const o = s(e, "primaryColor", "#000"), a = s(e, "secondaryColor", "#ccc"), p = s(e, "headingFont", "Inter"), i = s(e, "bodyFont", "Inter"), l = s(e, "roundedCorners", "0"), m = C({
1070
- colors: [o, a],
1071
- names: ["primary", "secondary"]
1072
- });
1073
- return u(m, "primary.DEFAULT", o), u(m, "secondary.DEFAULT", a), `${await k({
1074
- tailwindConfig: {
1075
- prefix: n,
1076
- darkMode: "class",
1077
- safelist: r,
1078
- theme: {
1079
- fontFamily: {
1080
- heading: [p, ...g.fontFamily.sans],
1081
- body: [i, ...g.fontFamily.sans]
1082
- },
1083
- extend: {
1084
- borderRadius: {
1085
- global: `${l || "0"}px`
1086
- },
1087
- colors: m
1088
- }
1089
- },
1090
- plugins: [F, T, S, D],
1091
- corePlugins: { preflight: !1 }
1092
- }
1093
- }).generateStylesFromContent(
1094
- ` @tailwind components;
1095
- @tailwind utilities;`,
1096
- t
1097
- )} .${n}bg-clip-text{background-clip: text;-webkit-background-clip: text;} h1,h2,h3,h4,h5,h6{font-family: "${p}",${g.fontFamily.sans.join(
1098
- ", "
1099
- )};}`;
1100
- }
1101
- export {
1102
- L as a,
1103
- U as b,
1104
- q as c,
1105
- A as g
1106
- };