react-minolith 0.0.7 → 0.0.8

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 (279) hide show
  1. package/dist/DialogueAvatar.module-uqGI3dA2.js +26 -0
  2. package/dist/DialogueAvatar.module-uqGI3dA2.js.map +1 -0
  3. package/dist/assets/Accordion.css +1 -1
  4. package/dist/assets/Badge.css +1 -1
  5. package/dist/assets/Button.css +1 -1
  6. package/dist/assets/Card.css +1 -1
  7. package/dist/assets/Columns.css +1 -1
  8. package/dist/assets/DialogueAvatar.css +1 -0
  9. package/dist/assets/Footer.css +1 -0
  10. package/dist/assets/Gingham.css +1 -1
  11. package/dist/assets/Header.css +1 -1
  12. package/dist/assets/Heading.css +1 -1
  13. package/dist/assets/Label.css +1 -1
  14. package/dist/assets/Link.css +1 -1
  15. package/dist/assets/Loader.css +1 -1
  16. package/dist/assets/Message.css +1 -1
  17. package/dist/assets/Minolith.css +1 -1
  18. package/dist/assets/MinolithCssVariableStylesProvider.css +1 -1
  19. package/dist/assets/Modal.css +1 -1
  20. package/dist/assets/Nav.css +1 -1
  21. package/dist/assets/Progress.css +1 -1
  22. package/dist/assets/Stripe.css +1 -1
  23. package/dist/assets/Tabula.css +1 -1
  24. package/dist/assets/Textarea.css +1 -1
  25. package/dist/backgrounds/Gingham/Gingham.d.ts.map +1 -1
  26. package/dist/backgrounds/Gingham/Gingham.js +24 -165
  27. package/dist/backgrounds/Gingham/Gingham.js.map +1 -1
  28. package/dist/backgrounds/Gingham/Gingham.stories.d.ts +12 -0
  29. package/dist/backgrounds/Gingham/Gingham.stories.d.ts.map +1 -0
  30. package/dist/backgrounds/Gingham/GinghamProps.d.ts +5 -8
  31. package/dist/backgrounds/Gingham/GinghamProps.d.ts.map +1 -1
  32. package/dist/backgrounds/Gingham/index.d.ts +1 -1
  33. package/dist/backgrounds/Gingham/index.d.ts.map +1 -1
  34. package/dist/backgrounds/Gingham/index.js +2 -2
  35. package/dist/backgrounds/Stripe/Stripe.d.ts.map +1 -1
  36. package/dist/backgrounds/Stripe/Stripe.js +27 -168
  37. package/dist/backgrounds/Stripe/Stripe.js.map +1 -1
  38. package/dist/backgrounds/Stripe/Stripe.stories.d.ts +13 -0
  39. package/dist/backgrounds/Stripe/Stripe.stories.d.ts.map +1 -0
  40. package/dist/backgrounds/Stripe/StripeProps.d.ts +5 -8
  41. package/dist/backgrounds/Stripe/StripeProps.d.ts.map +1 -1
  42. package/dist/backgrounds/Stripe/index.d.ts +1 -1
  43. package/dist/backgrounds/Stripe/index.d.ts.map +1 -1
  44. package/dist/backgrounds/Stripe/index.js +2 -2
  45. package/dist/base/MinolithStatic/MinolithStatic.stories.d.ts.map +1 -1
  46. package/dist/base/Tabula/Tabula.js +6 -6
  47. package/dist/common/models/BaseComponentProps.d.ts +30 -10
  48. package/dist/common/models/BaseComponentProps.d.ts.map +1 -1
  49. package/dist/common/models/TypographyCssVariable.d.ts +8 -0
  50. package/dist/common/models/TypographyCssVariable.d.ts.map +1 -1
  51. package/dist/components/Accordion/Accordion.d.ts.map +1 -1
  52. package/dist/components/Accordion/Accordion.js +27 -27
  53. package/dist/components/Accordion/Accordion.js.map +1 -1
  54. package/dist/components/Accordion/AccordionDetails.d.ts.map +1 -1
  55. package/dist/components/Accordion/AccordionDetails.js +28 -28
  56. package/dist/components/Accordion/AccordionDetails.js.map +1 -1
  57. package/dist/components/Accordion/AccordionSummary.d.ts.map +1 -1
  58. package/dist/components/Accordion/AccordionSummary.js +27 -27
  59. package/dist/components/Accordion/AccordionSummary.js.map +1 -1
  60. package/dist/components/Badge/Badge.d.ts.map +1 -1
  61. package/dist/components/Badge/Badge.js +24 -24
  62. package/dist/components/Badge/Badge.js.map +1 -1
  63. package/dist/components/Button/Button.d.ts.map +1 -1
  64. package/dist/components/Button/Button.js +28 -28
  65. package/dist/components/Button/Button.js.map +1 -1
  66. package/dist/components/Card/Card.d.ts.map +1 -1
  67. package/dist/components/Card/Card.js +22 -22
  68. package/dist/components/Card/Card.js.map +1 -1
  69. package/dist/components/Card/CardBody.d.ts.map +1 -1
  70. package/dist/components/Card/CardBody.js +19 -19
  71. package/dist/components/Card/CardBody.js.map +1 -1
  72. package/dist/components/Card/CardFooter.d.ts.map +1 -1
  73. package/dist/components/Card/CardFooter.js +21 -21
  74. package/dist/components/Card/CardFooter.js.map +1 -1
  75. package/dist/components/Card/CardHeader.d.ts.map +1 -1
  76. package/dist/components/Card/CardHeader.js +21 -21
  77. package/dist/components/Card/CardHeader.js.map +1 -1
  78. package/dist/components/Dialogue/Dialogue.d.ts +3 -0
  79. package/dist/components/Dialogue/Dialogue.d.ts.map +1 -0
  80. package/dist/components/Dialogue/Dialogue.js +34 -0
  81. package/dist/components/Dialogue/Dialogue.js.map +1 -0
  82. package/dist/components/Dialogue/Dialogue.stories.d.ts +14 -0
  83. package/dist/components/Dialogue/Dialogue.stories.d.ts.map +1 -0
  84. package/dist/components/Dialogue/DialogueAvatar.d.ts +3 -0
  85. package/dist/components/Dialogue/DialogueAvatar.d.ts.map +1 -0
  86. package/dist/components/Dialogue/DialogueAvatar.js +13 -0
  87. package/dist/components/Dialogue/DialogueAvatar.js.map +1 -0
  88. package/dist/components/Dialogue/DialogueAvatarContainer.d.ts +3 -0
  89. package/dist/components/Dialogue/DialogueAvatarContainer.d.ts.map +1 -0
  90. package/dist/components/Dialogue/DialogueAvatarContainer.js +13 -0
  91. package/dist/components/Dialogue/DialogueAvatarContainer.js.map +1 -0
  92. package/dist/components/Dialogue/DialogueAvatarContainerProps.d.ts +7 -0
  93. package/dist/components/Dialogue/DialogueAvatarContainerProps.d.ts.map +1 -0
  94. package/dist/components/Dialogue/DialogueAvatarContainerProps.js +2 -0
  95. package/dist/components/Dialogue/DialogueAvatarContainerProps.js.map +1 -0
  96. package/dist/components/Dialogue/DialogueAvatarProps.d.ts +7 -0
  97. package/dist/components/Dialogue/DialogueAvatarProps.d.ts.map +1 -0
  98. package/dist/components/Dialogue/DialogueAvatarProps.js +2 -0
  99. package/dist/components/Dialogue/DialogueAvatarProps.js.map +1 -0
  100. package/dist/components/Dialogue/DialogueContentContainer.d.ts +3 -0
  101. package/dist/components/Dialogue/DialogueContentContainer.d.ts.map +1 -0
  102. package/dist/components/Dialogue/DialogueContentContainer.js +34 -0
  103. package/dist/components/Dialogue/DialogueContentContainer.js.map +1 -0
  104. package/dist/components/Dialogue/DialogueContentContainerProps.d.ts +7 -0
  105. package/dist/components/Dialogue/DialogueContentContainerProps.d.ts.map +1 -0
  106. package/dist/components/Dialogue/DialogueContentContainerProps.js +2 -0
  107. package/dist/components/Dialogue/DialogueContentContainerProps.js.map +1 -0
  108. package/dist/components/Dialogue/DialogueMessage.d.ts +3 -0
  109. package/dist/components/Dialogue/DialogueMessage.d.ts.map +1 -0
  110. package/dist/components/Dialogue/DialogueMessage.js +34 -0
  111. package/dist/components/Dialogue/DialogueMessage.js.map +1 -0
  112. package/dist/components/Dialogue/DialogueMessageProps.d.ts +7 -0
  113. package/dist/components/Dialogue/DialogueMessageProps.d.ts.map +1 -0
  114. package/dist/components/Dialogue/DialogueMessageProps.js +2 -0
  115. package/dist/components/Dialogue/DialogueMessageProps.js.map +1 -0
  116. package/dist/components/Dialogue/DialogueName.d.ts +3 -0
  117. package/dist/components/Dialogue/DialogueName.d.ts.map +1 -0
  118. package/dist/components/Dialogue/DialogueName.js +34 -0
  119. package/dist/components/Dialogue/DialogueName.js.map +1 -0
  120. package/dist/components/Dialogue/DialogueNameProps.d.ts +7 -0
  121. package/dist/components/Dialogue/DialogueNameProps.d.ts.map +1 -0
  122. package/dist/components/Dialogue/DialogueNameProps.js +2 -0
  123. package/dist/components/Dialogue/DialogueNameProps.js.map +1 -0
  124. package/dist/components/Dialogue/DialogueProps.d.ts +10 -0
  125. package/dist/components/Dialogue/DialogueProps.d.ts.map +1 -0
  126. package/dist/components/Dialogue/DialogueProps.js +2 -0
  127. package/dist/components/Dialogue/DialogueProps.js.map +1 -0
  128. package/dist/components/Dialogue/index.d.ts +13 -0
  129. package/dist/components/Dialogue/index.d.ts.map +1 -0
  130. package/dist/components/Dialogue/index.js +15 -0
  131. package/dist/components/Dialogue/index.js.map +1 -0
  132. package/dist/components/Div/Div.d.ts.map +1 -1
  133. package/dist/components/Div/Div.js +6 -6
  134. package/dist/components/Div/Div.js.map +1 -1
  135. package/dist/components/Footer/Footer.d.ts +3 -0
  136. package/dist/components/Footer/Footer.d.ts.map +1 -0
  137. package/dist/components/Footer/Footer.js +24 -0
  138. package/dist/components/Footer/Footer.js.map +1 -0
  139. package/dist/components/Footer/Footer.stories.d.ts +12 -0
  140. package/dist/components/Footer/Footer.stories.d.ts.map +1 -0
  141. package/dist/components/Footer/FooterProps.d.ts +7 -0
  142. package/dist/components/Footer/FooterProps.d.ts.map +1 -0
  143. package/dist/components/Footer/FooterProps.js +2 -0
  144. package/dist/components/Footer/FooterProps.js.map +1 -0
  145. package/dist/components/Footer/index.d.ts +3 -0
  146. package/dist/components/Footer/index.d.ts.map +1 -0
  147. package/dist/components/Footer/index.js +5 -0
  148. package/dist/components/Footer/index.js.map +1 -0
  149. package/dist/components/Hamburger/Hamburger.d.ts.map +1 -1
  150. package/dist/components/Hamburger/Hamburger.js +7 -7
  151. package/dist/components/Hamburger/Hamburger.js.map +1 -1
  152. package/dist/components/Hamburger/HamburgerProps.d.ts +2 -0
  153. package/dist/components/Hamburger/HamburgerProps.d.ts.map +1 -1
  154. package/dist/components/Header/Header.d.ts.map +1 -1
  155. package/dist/components/Header/Header.js +19 -10
  156. package/dist/components/Header/Header.js.map +1 -1
  157. package/dist/components/Heading/Heading.d.ts.map +1 -1
  158. package/dist/components/Heading/Heading.js +14 -14
  159. package/dist/components/Heading/Heading.js.map +1 -1
  160. package/dist/components/Input/Input.d.ts.map +1 -1
  161. package/dist/components/Input/Input.js +26 -26
  162. package/dist/components/Input/Input.js.map +1 -1
  163. package/dist/components/Label/Label.d.ts.map +1 -1
  164. package/dist/components/Label/Label.js +17 -6
  165. package/dist/components/Label/Label.js.map +1 -1
  166. package/dist/components/Label/LabelProps.d.ts +2 -0
  167. package/dist/components/Label/LabelProps.d.ts.map +1 -1
  168. package/dist/components/Link/Link.d.ts.map +1 -1
  169. package/dist/components/Link/Link.js +16 -16
  170. package/dist/components/Link/Link.js.map +1 -1
  171. package/dist/components/Link/LinkProps.d.ts +2 -0
  172. package/dist/components/Link/LinkProps.d.ts.map +1 -1
  173. package/dist/components/Loader/Loader.d.ts.map +1 -1
  174. package/dist/components/Loader/Loader.js +44 -44
  175. package/dist/components/Loader/Loader.js.map +1 -1
  176. package/dist/components/Main/Main.d.ts +3 -0
  177. package/dist/components/Main/Main.d.ts.map +1 -0
  178. package/dist/components/Main/Main.js +12 -0
  179. package/dist/components/Main/Main.js.map +1 -0
  180. package/dist/components/Main/MainProps.d.ts +5 -0
  181. package/dist/components/Main/MainProps.d.ts.map +1 -0
  182. package/dist/components/Main/MainProps.js +2 -0
  183. package/dist/components/Main/MainProps.js.map +1 -0
  184. package/dist/components/Main/index.d.ts +3 -0
  185. package/dist/components/Main/index.d.ts.map +1 -0
  186. package/dist/components/Main/index.js +5 -0
  187. package/dist/components/Main/index.js.map +1 -0
  188. package/dist/components/Message/Message.d.ts.map +1 -1
  189. package/dist/components/Message/Message.js +20 -20
  190. package/dist/components/Message/Message.js.map +1 -1
  191. package/dist/components/Message/MessageBody.d.ts.map +1 -1
  192. package/dist/components/Message/MessageBody.js +19 -19
  193. package/dist/components/Message/MessageBody.js.map +1 -1
  194. package/dist/components/Message/MessageHeader.d.ts.map +1 -1
  195. package/dist/components/Message/MessageHeader.js +19 -19
  196. package/dist/components/Message/MessageHeader.js.map +1 -1
  197. package/dist/components/Modal/Modal.d.ts.map +1 -1
  198. package/dist/components/Modal/Modal.js +20 -20
  199. package/dist/components/Modal/Modal.js.map +1 -1
  200. package/dist/components/Modal/ModalContent.d.ts.map +1 -1
  201. package/dist/components/Modal/ModalContent.js +20 -20
  202. package/dist/components/Modal/ModalContent.js.map +1 -1
  203. package/dist/components/Nav/Nav.d.ts.map +1 -1
  204. package/dist/components/Nav/Nav.js +41 -41
  205. package/dist/components/Nav/Nav.js.map +1 -1
  206. package/dist/components/Nav/NavAccordion.d.ts.map +1 -1
  207. package/dist/components/Nav/NavAccordion.js +42 -42
  208. package/dist/components/Nav/NavAccordion.js.map +1 -1
  209. package/dist/components/Nav/NavAccordionProps.d.ts +6 -8
  210. package/dist/components/Nav/NavAccordionProps.d.ts.map +1 -1
  211. package/dist/components/Nav/NavBrand.d.ts.map +1 -1
  212. package/dist/components/Nav/NavBrand.js +41 -41
  213. package/dist/components/Nav/NavBrand.js.map +1 -1
  214. package/dist/components/Nav/NavBrandCenter.d.ts.map +1 -1
  215. package/dist/components/Nav/NavBrandCenter.js +41 -41
  216. package/dist/components/Nav/NavBrandCenter.js.map +1 -1
  217. package/dist/components/Nav/NavBrandLeft.d.ts.map +1 -1
  218. package/dist/components/Nav/NavBrandLeft.js +41 -41
  219. package/dist/components/Nav/NavBrandLeft.js.map +1 -1
  220. package/dist/components/Nav/NavBrandRight.d.ts.map +1 -1
  221. package/dist/components/Nav/NavBrandRight.js +41 -41
  222. package/dist/components/Nav/NavBrandRight.js.map +1 -1
  223. package/dist/components/Nav/NavMenu.d.ts.map +1 -1
  224. package/dist/components/Nav/NavMenu.js +43 -43
  225. package/dist/components/Nav/NavMenu.js.map +1 -1
  226. package/dist/components/Nav/NavMenuItem.d.ts.map +1 -1
  227. package/dist/components/Nav/NavMenuItem.js +42 -42
  228. package/dist/components/Nav/NavMenuItem.js.map +1 -1
  229. package/dist/components/Nav/NavStatic.d.ts.map +1 -1
  230. package/dist/components/Nav/NavStatic.js +42 -42
  231. package/dist/components/Nav/NavStatic.js.map +1 -1
  232. package/dist/components/Nav/NavStaticProps.d.ts +6 -8
  233. package/dist/components/Nav/NavStaticProps.d.ts.map +1 -1
  234. package/dist/components/Progress/Progress.d.ts.map +1 -1
  235. package/dist/components/Progress/Progress.js +137 -137
  236. package/dist/components/Progress/Progress.js.map +1 -1
  237. package/dist/components/Progress/Progress.stories.d.ts +2 -1
  238. package/dist/components/Progress/Progress.stories.d.ts.map +1 -1
  239. package/dist/components/Ruby/Ruby.d.ts.map +1 -1
  240. package/dist/components/Ruby/Ruby.js +12 -12
  241. package/dist/components/Ruby/Ruby.js.map +1 -1
  242. package/dist/components/Section/Section.d.ts.map +1 -1
  243. package/dist/components/Section/Section.js +6 -6
  244. package/dist/components/Section/Section.js.map +1 -1
  245. package/dist/components/Span/Span.d.ts.map +1 -1
  246. package/dist/components/Span/Span.js +7 -7
  247. package/dist/components/Span/Span.js.map +1 -1
  248. package/dist/components/Textarea/Textarea.d.ts.map +1 -1
  249. package/dist/components/Textarea/Textarea.js +26 -26
  250. package/dist/components/Textarea/Textarea.js.map +1 -1
  251. package/dist/layouts/Centering/Centering.d.ts.map +1 -1
  252. package/dist/layouts/Centering/Centering.js +6 -6
  253. package/dist/layouts/Centering/Centering.js.map +1 -1
  254. package/dist/layouts/Columns/Column.d.ts.map +1 -1
  255. package/dist/layouts/Columns/Column.js +218 -254
  256. package/dist/layouts/Columns/Column.js.map +1 -1
  257. package/dist/layouts/Columns/ColumnProps.d.ts +6 -8
  258. package/dist/layouts/Columns/ColumnProps.d.ts.map +1 -1
  259. package/dist/layouts/Columns/Columns.d.ts.map +1 -1
  260. package/dist/layouts/Columns/Columns.js +240 -272
  261. package/dist/layouts/Columns/Columns.js.map +1 -1
  262. package/dist/layouts/Columns/Columns.stories.d.ts +1 -1
  263. package/dist/layouts/Columns/Columns.stories.d.ts.map +1 -1
  264. package/dist/layouts/Columns/ColumnsProps.d.ts +32 -32
  265. package/dist/layouts/Columns/ColumnsProps.d.ts.map +1 -1
  266. package/dist/layouts/Container/Container.d.ts.map +1 -1
  267. package/dist/layouts/Container/Container.js +6 -6
  268. package/dist/layouts/Container/Container.js.map +1 -1
  269. package/dist/react-minolith.d.ts +3 -0
  270. package/dist/react-minolith.d.ts.map +1 -1
  271. package/dist/react-minolith.js +104 -84
  272. package/dist/react-minolith.js.map +1 -1
  273. package/dist/utilities/classNameUtility.d.ts.map +1 -1
  274. package/dist/utilities/classNameUtility.js +203 -105
  275. package/dist/utilities/classNameUtility.js.map +1 -1
  276. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.d.ts.map +1 -1
  277. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js +216 -216
  278. package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js.map +1 -1
  279. package/package.json +86 -86
@@ -1,289 +1,289 @@
1
1
  const l = "minolith-";
2
- function r(n, s, e, t) {
3
- const i = [];
4
- return s && (s.fore && i.push(
5
- `--${l}color-${n}${e ? `-${e}` : ""}${t ? `-${t}` : ""}-fore: ${s.fore.startsWith("--") ? `var(${s.fore});` : `${s.fore};`}`
6
- ), s.back && i.push(
7
- `--${l}color-${n}${e ? `-${e}` : ""}${t ? `-${t}` : ""}-back: ${s.back.startsWith("--") ? `var(${s.back});` : `${s.back};`}`
8
- ), s.border && i.push(
9
- `--${l}color-${n}${e ? `-${e}` : ""}${t ? `-${t}` : ""}-border: ${s.border.startsWith("--") ? `var(${s.border});` : `${s.border};`}`
10
- ), s.shadow && i.push(
11
- `--${l}color-${n}${e ? `-${e}` : ""}${t ? `-${t}` : ""}-shadow: ${s.shadow.startsWith("--") ? `var(${s.shadow});` : `${s.shadow};`}`
12
- ), s.placeholder && i.push(
13
- `--${l}color-${n}${e ? `-${e}` : ""}${t ? `-${t}` : ""}-placeholder: ${s.placeholder.startsWith("--") ? `var(${s.placeholder});` : `${s.placeholder};`}`
14
- )), i;
2
+ function f(h, s, i, t) {
3
+ const o = [];
4
+ return s && (s.fore && o.push(
5
+ `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-fore: ${s.fore.startsWith("--") ? `var(${s.fore});` : `${s.fore};`}`
6
+ ), s.back && o.push(
7
+ `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-back: ${s.back.startsWith("--") ? `var(${s.back});` : `${s.back};`}`
8
+ ), s.border && o.push(
9
+ `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-border: ${s.border.startsWith("--") ? `var(${s.border});` : `${s.border};`}`
10
+ ), s.shadow && o.push(
11
+ `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-shadow: ${s.shadow.startsWith("--") ? `var(${s.shadow});` : `${s.shadow};`}`
12
+ ), s.placeholder && o.push(
13
+ `--${l}color-${h}${i ? `-${i}` : ""}${t ? `-${t}` : ""}-placeholder: ${s.placeholder.startsWith("--") ? `var(${s.placeholder});` : `${s.placeholder};`}`
14
+ )), o;
15
15
  }
16
- function h(n, s, e) {
16
+ function n(h, s, i) {
17
17
  const t = [];
18
18
  if (s.default) {
19
- const i = r(
20
- n,
19
+ const o = f(
20
+ h,
21
21
  s.default,
22
22
  void 0,
23
- e
23
+ i
24
24
  );
25
- i.length > 0 && t.push(...i);
25
+ o.length > 0 && t.push(...o);
26
26
  }
27
27
  if (s.hover) {
28
- const i = r(
29
- n,
28
+ const o = f(
29
+ h,
30
30
  s.hover,
31
31
  "hover",
32
- e
32
+ i
33
33
  );
34
- i.length > 0 && t.push(...i);
34
+ o.length > 0 && t.push(...o);
35
35
  }
36
36
  if (s.focus) {
37
- const i = r(
38
- n,
37
+ const o = f(
38
+ h,
39
39
  s.focus,
40
40
  "focus",
41
- e
41
+ i
42
42
  );
43
- i.length > 0 && t.push(...i);
43
+ o.length > 0 && t.push(...o);
44
44
  }
45
45
  if (s.active) {
46
- const i = r(
47
- n,
46
+ const o = f(
47
+ h,
48
48
  s.active,
49
49
  "active",
50
- e
50
+ i
51
51
  );
52
- i.length > 0 && t.push(...i);
52
+ o.length > 0 && t.push(...o);
53
53
  }
54
54
  if (s.disabled) {
55
- const i = r(
56
- n,
55
+ const o = f(
56
+ h,
57
57
  s.disabled,
58
58
  "disabled",
59
- e
59
+ i
60
60
  );
61
- i.length > 0 && t.push(...i);
61
+ o.length > 0 && t.push(...o);
62
62
  }
63
63
  return t;
64
64
  }
65
- function $(n) {
66
- const s = [], e = d(n), t = a(n), i = g(n);
67
- return e.length > 0 && s.push(`:root{${e.join("")}}`), t.length > 0 && s.push(`:root{${t.join("")}}`), t.length > 0 && s.push(
65
+ function $(h) {
66
+ const s = [], i = u(h), t = d(h), o = g(h);
67
+ return i.length > 0 && s.push(`:root{${i.join("")}}`), t.length > 0 && s.push(`:root{${t.join("")}}`), t.length > 0 && s.push(
68
68
  `[data-color-scheme="light"]{${t.join("")}}`
69
- ), i.length > 0 && s.push(
70
- `[data-color-scheme="dark"]{${i.join("")}}`
69
+ ), o.length > 0 && s.push(
70
+ `[data-color-scheme="dark"]{${o.join("")}}`
71
71
  ), s;
72
72
  }
73
- function d(n) {
73
+ function u(h) {
74
74
  const s = [];
75
- if (n) {
76
- if (n.animation) {
77
- const e = n.animation;
78
- e.speedHeavey && s.push(`--${l}animation-speed-heavy: ${e.speedHeavey};`), e.speedSlower && s.push(`--${l}animation-speed-slower: ${e.speedSlower};`), e.speedSlow && s.push(`--${l}animation-speed-slow: ${e.speedSlow};`), e.speedNormal && s.push(`--${l}animation-speed-normal: ${e.speedNormal};`), e.speedfFast && s.push(`--${l}animation-speed-fast: ${e.speedfFast};`), e.speedfFaster && s.push(`--${l}animation-speed-faster: ${e.speedfFaster};`), e.speedfFlash && s.push(`--${l}animation-speed-flash: ${e.speedfFlash};`);
75
+ if (h) {
76
+ if (h.animation) {
77
+ const i = h.animation;
78
+ i.speedHeavey && s.push(`--${l}animation-speed-heavy: ${i.speedHeavey};`), i.speedSlower && s.push(`--${l}animation-speed-slower: ${i.speedSlower};`), i.speedSlow && s.push(`--${l}animation-speed-slow: ${i.speedSlow};`), i.speedNormal && s.push(`--${l}animation-speed-normal: ${i.speedNormal};`), i.speedfFast && s.push(`--${l}animation-speed-fast: ${i.speedfFast};`), i.speedfFaster && s.push(`--${l}animation-speed-faster: ${i.speedfFaster};`), i.speedfFlash && s.push(`--${l}animation-speed-flash: ${i.speedfFlash};`);
79
79
  }
80
- if (n.border) {
81
- const e = n.border;
82
- e.borderWidthXThin && s.push(`--${l}border-width-xthin: ${e.borderWidthXThin};`), e.borderWidthThin && s.push(`--${l}border-width-thin: ${e.borderWidthThin};`), e.borderWidthMedium && s.push(`--${l}border-width-medium: ${e.borderWidthMedium};`), e.borderWidthThick && s.push(`--${l}border-width-thick: ${e.borderWidthThick};`), e.borderWidthXThick && s.push(`--${l}border-width-xthick: ${e.borderWidthXThick};`), e.borderRadiusSmall && s.push(`--${l}border-radius-small: ${e.borderRadiusSmall};`), e.borderRadiusMedium && s.push(`--${l}border-radius-medium: ${e.borderRadiusMedium};`), e.borderRadiusLarge && s.push(`--${l}border-radius-large: ${e.borderRadiusLarge};`);
80
+ if (h.border) {
81
+ const i = h.border;
82
+ i.borderWidthXThin && s.push(`--${l}border-width-xthin: ${i.borderWidthXThin};`), i.borderWidthThin && s.push(`--${l}border-width-thin: ${i.borderWidthThin};`), i.borderWidthMedium && s.push(`--${l}border-width-medium: ${i.borderWidthMedium};`), i.borderWidthThick && s.push(`--${l}border-width-thick: ${i.borderWidthThick};`), i.borderWidthXThick && s.push(`--${l}border-width-xthick: ${i.borderWidthXThick};`), i.borderRadiusSmall && s.push(`--${l}border-radius-small: ${i.borderRadiusSmall};`), i.borderRadiusMedium && s.push(`--${l}border-radius-medium: ${i.borderRadiusMedium};`), i.borderRadiusLarge && s.push(`--${l}border-radius-large: ${i.borderRadiusLarge};`);
83
83
  }
84
- if (n.color) {
85
- const e = n.color, t = (i, o, f) => {
86
- if (f) {
87
- const u = `${f.lightness}% ${f.chroma} ${f.hue}`;
84
+ if (h.color) {
85
+ const i = h.color, t = (o, e, r) => {
86
+ if (r) {
87
+ const a = `${r.lightness}% ${r.chroma} ${r.hue}`;
88
88
  s.push(
89
- `--${l}color-${i}-${o}-oklch: ${u};`
89
+ `--${l}color-${o}-${e}-oklch: ${a};`
90
90
  ), s.push(
91
- `--${l}color-${i}-${o}: oklch(${u});`
91
+ `--${l}color-${o}-${e}: oklch(${a});`
92
92
  );
93
93
  }
94
94
  };
95
- if (e.white)
96
- if (typeof e.white == "string")
97
- s.push(`--${l}color-white: ${e.white};`);
95
+ if (i.white)
96
+ if (typeof i.white == "string")
97
+ s.push(`--${l}color-white: ${i.white};`);
98
98
  else {
99
- const i = `${e.white.lightness}% ${e.white.chroma} ${e.white.hue}`;
99
+ const o = `${i.white.lightness}% ${i.white.chroma} ${i.white.hue}`;
100
100
  s.push(
101
- `--${l}color-white-oklch: ${i};`
102
- ), s.push(`--${l}color-white: oklch(${i});`);
101
+ `--${l}color-white-oklch: ${o};`
102
+ ), s.push(`--${l}color-white: oklch(${o});`);
103
103
  }
104
- if (e.black)
105
- if (typeof e.black == "string")
106
- s.push(`--${l}color-black: ${e.black};`);
104
+ if (i.black)
105
+ if (typeof i.black == "string")
106
+ s.push(`--${l}color-black: ${i.black};`);
107
107
  else {
108
- const i = `${e.black.lightness}% ${e.black.chroma} ${e.black.hue}`;
108
+ const o = `${i.black.lightness}% ${i.black.chroma} ${i.black.hue}`;
109
109
  s.push(
110
- `--${l}color-black-oklch: ${i};`
111
- ), s.push(`--${l}color-black: oklch(${i});`);
110
+ `--${l}color-black-oklch: ${o};`
111
+ ), s.push(`--${l}color-black: oklch(${o});`);
112
112
  }
113
- if (e.gray) {
114
- const i = e.gray, o = "gray";
115
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
113
+ if (i.gray) {
114
+ const o = i.gray, e = "gray";
115
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
116
116
  }
117
- if (e.red) {
118
- const i = e.red, o = "red";
119
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
117
+ if (i.red) {
118
+ const o = i.red, e = "red";
119
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
120
120
  }
121
- if (e.orange) {
122
- const i = e.orange, o = "orange";
123
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
121
+ if (i.orange) {
122
+ const o = i.orange, e = "orange";
123
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
124
124
  }
125
- if (e.yellow) {
126
- const i = e.yellow, o = "yellow";
127
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
125
+ if (i.yellow) {
126
+ const o = i.yellow, e = "yellow";
127
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
128
128
  }
129
- if (e.green) {
130
- const i = e.green, o = "green";
131
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
129
+ if (i.green) {
130
+ const o = i.green, e = "green";
131
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
132
132
  }
133
- if (e.cyan) {
134
- const i = e.cyan, o = "cyan";
135
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
133
+ if (i.cyan) {
134
+ const o = i.cyan, e = "cyan";
135
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
136
136
  }
137
- if (e.blue) {
138
- const i = e.blue, o = "blue";
139
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
137
+ if (i.blue) {
138
+ const o = i.blue, e = "blue";
139
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
140
140
  }
141
- if (e.violet) {
142
- const i = e.violet, o = "violet";
143
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
141
+ if (i.violet) {
142
+ const o = i.violet, e = "violet";
143
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
144
144
  }
145
- if (e.magenta) {
146
- const i = e.magenta, o = "magenta";
147
- t(o, "95", i[95]), t(o, "90", i[90]), t(o, "85", i[85]), t(o, "80", i[80]), t(o, "75", i[75]), t(o, "70", i[70]), t(o, "65", i[65]), t(o, "60", i[60]), t(o, "55", i[55]), t(o, "50", i[50]), t(o, "45", i[45]), t(o, "40", i[40]), t(o, "35", i[35]), t(o, "30", i[30]), t(o, "25", i[25]), t(o, "20", i[20]), t(o, "15", i[15]), t(o, "10", i[10]), t(o, "05", i[5]);
145
+ if (i.magenta) {
146
+ const o = i.magenta, e = "magenta";
147
+ t(e, "95", o[95]), t(e, "90", o[90]), t(e, "85", o[85]), t(e, "80", o[80]), t(e, "75", o[75]), t(e, "70", o[70]), t(e, "65", o[65]), t(e, "60", o[60]), t(e, "55", o[55]), t(e, "50", o[50]), t(e, "45", o[45]), t(e, "40", o[40]), t(e, "35", o[35]), t(e, "30", o[30]), t(e, "25", o[25]), t(e, "20", o[20]), t(e, "15", o[15]), t(e, "10", o[10]), t(e, "05", o[5]);
148
148
  }
149
149
  }
150
- if (n.miscellaneous) {
151
- const e = n.miscellaneous;
152
- e.zIndexTabula && s.push(`--${l}z-index-tabula: ${e.zIndexTabula};`), e.zIndexModal && s.push(`--${l}z-index-modal: ${e.zIndexModal};`), e.zIndexModalContent && s.push(`--${l}z-index-tabula-content: ${e.zIndexModalContent};`), e.zIndexHeaderIsSticky && s.push(`--${l}z-index-header-is-sticky: ${e.zIndexHeaderIsSticky};`);
150
+ if (h.miscellaneous) {
151
+ const i = h.miscellaneous;
152
+ i.zIndexTabula && s.push(`--${l}z-index-tabula: ${i.zIndexTabula};`), i.zIndexModal && s.push(`--${l}z-index-modal: ${i.zIndexModal};`), i.zIndexModalContent && s.push(`--${l}z-index-tabula-content: ${i.zIndexModalContent};`), i.zIndexHeaderIsSticky && s.push(`--${l}z-index-header-is-sticky: ${i.zIndexHeaderIsSticky};`);
153
153
  }
154
- if (n.typography) {
155
- const e = n.typography;
156
- e.fontSize && (e.fontSize.xsmall && s.push(`--${l}font-size-xsmall: ${e.fontSize.xsmall};`), e.fontSize.small && s.push(`--${l}font-size-small: ${e.fontSize.small};`), e.fontSize.normal && s.push(`--${l}font-size-normal: ${e.fontSize.normal};`), e.fontSize.medium && s.push(`--${l}font-size-medium: ${e.fontSize.medium};`), e.fontSize.large && s.push(`--${l}font-size-large: ${e.fontSize.large};`), e.fontSize.xlarge && s.push(`--${l}font-size-xlarge: ${e.fontSize.xlarge};`), e.fontSize.xxlarge && s.push(`--${l}font-size-xxlarge: ${e.fontSize.xxlarge};`), e.fontSize.xxxlarge && s.push(`--${l}font-size-xxxlarge: ${e.fontSize.xxxlarge};`), e.fontSize.xxxxlarge && s.push(`--${l}font-size-xxxxlarge: ${e.fontSize.xxxxlarge};`), e.fontSize.xxxxxlarge && s.push(`--${l}font-size-xxxxxlarge: ${e.fontSize.xxxxxlarge};`)), e.fontWeight && (e.fontWeight.light && s.push(
157
- `--${l}font-weight-light: ${e.fontWeight.light};`
158
- ), e.fontWeight.normal && s.push(
159
- `--${l}font-weight-normal: ${e.fontWeight.normal};`
160
- ), e.fontWeight.medium && s.push(
161
- `--${l}font-weight-medium: ${e.fontWeight.medium};`
162
- ), e.fontWeight.semibold && s.push(
163
- `--${l}font-weight-semibold: ${e.fontWeight.semibold};`
164
- ), e.fontWeight.bold && s.push(`--${l}font-weight-bold: ${e.fontWeight.bold};`));
154
+ if (h.typography) {
155
+ const i = h.typography;
156
+ i.fontFamily && (i.fontFamily.sansSerif && s.push(`--${l}font-family-sans-serif: ${i.fontFamily.sansSerif};`), i.fontFamily.serif && s.push(`--${l}font-family-serif: ${i.fontFamily.serif};`), i.fontFamily.monospace && s.push(`--${l}font-family-monospace: ${i.fontFamily.monospace};`), i.fontFamily.main && s.push(`--${l}font-family-main: ${i.fontFamily.main};`), i.fontFamily.heading && s.push(`--${l}font-family-heading: ${i.fontFamily.heading};`), i.fontFamily.code && s.push(`--${l}font-family-code: ${i.fontFamily.code};`)), i.fontSize && (i.fontSize.xsmall && s.push(`--${l}font-size-xsmall: ${i.fontSize.xsmall};`), i.fontSize.small && s.push(`--${l}font-size-small: ${i.fontSize.small};`), i.fontSize.normal && s.push(`--${l}font-size-normal: ${i.fontSize.normal};`), i.fontSize.medium && s.push(`--${l}font-size-medium: ${i.fontSize.medium};`), i.fontSize.large && s.push(`--${l}font-size-large: ${i.fontSize.large};`), i.fontSize.xlarge && s.push(`--${l}font-size-xlarge: ${i.fontSize.xlarge};`), i.fontSize.xxlarge && s.push(`--${l}font-size-xxlarge: ${i.fontSize.xxlarge};`), i.fontSize.xxxlarge && s.push(`--${l}font-size-xxxlarge: ${i.fontSize.xxxlarge};`), i.fontSize.xxxxlarge && s.push(`--${l}font-size-xxxxlarge: ${i.fontSize.xxxxlarge};`), i.fontSize.xxxxxlarge && s.push(`--${l}font-size-xxxxxlarge: ${i.fontSize.xxxxxlarge};`)), i.fontWeight && (i.fontWeight.light && s.push(
157
+ `--${l}font-weight-light: ${i.fontWeight.light};`
158
+ ), i.fontWeight.normal && s.push(
159
+ `--${l}font-weight-normal: ${i.fontWeight.normal};`
160
+ ), i.fontWeight.medium && s.push(
161
+ `--${l}font-weight-medium: ${i.fontWeight.medium};`
162
+ ), i.fontWeight.semibold && s.push(
163
+ `--${l}font-weight-semibold: ${i.fontWeight.semibold};`
164
+ ), i.fontWeight.bold && s.push(`--${l}font-weight-bold: ${i.fontWeight.bold};`));
165
165
  }
166
166
  }
167
167
  return s;
168
168
  }
169
- function a(n) {
169
+ function d(h) {
170
170
  const s = [];
171
- if (n && n.color) {
172
- const e = n.color;
173
- if (e.light) {
174
- if (e.light.default) {
175
- const t = h("default", e.light.default);
171
+ if (h && h.color) {
172
+ const i = h.color;
173
+ if (i.light) {
174
+ if (i.light.default) {
175
+ const t = n("default", i.light.default);
176
176
  t.length > 0 && s.push(...t);
177
177
  }
178
- if (e.light.gray) {
179
- const t = h("gray", e.light.gray);
178
+ if (i.light.gray) {
179
+ const t = n("gray", i.light.gray);
180
180
  t.length > 0 && s.push(...t);
181
181
  }
182
- if (e.light.red) {
183
- const t = h("red", e.light.red);
182
+ if (i.light.red) {
183
+ const t = n("red", i.light.red);
184
184
  t.length > 0 && s.push(...t);
185
185
  }
186
- if (e.light.orange) {
187
- const t = h("orange", e.light.orange);
186
+ if (i.light.orange) {
187
+ const t = n("orange", i.light.orange);
188
188
  t.length > 0 && s.push(...t);
189
189
  }
190
- if (e.light.yellow) {
191
- const t = h("yellow", e.light.yellow);
190
+ if (i.light.yellow) {
191
+ const t = n("yellow", i.light.yellow);
192
192
  t.length > 0 && s.push(...t);
193
193
  }
194
- if (e.light.green) {
195
- const t = h("green", e.light.green);
194
+ if (i.light.green) {
195
+ const t = n("green", i.light.green);
196
196
  t.length > 0 && s.push(...t);
197
197
  }
198
- if (e.light.cyan) {
199
- const t = h("cyan", e.light.cyan);
198
+ if (i.light.cyan) {
199
+ const t = n("cyan", i.light.cyan);
200
200
  t.length > 0 && s.push(...t);
201
201
  }
202
- if (e.light.blue) {
203
- const t = h("blue", e.light.blue);
202
+ if (i.light.blue) {
203
+ const t = n("blue", i.light.blue);
204
204
  t.length > 0 && s.push(...t);
205
205
  }
206
- if (e.light.violet) {
207
- const t = h("violet", e.light.violet);
206
+ if (i.light.violet) {
207
+ const t = n("violet", i.light.violet);
208
208
  t.length > 0 && s.push(...t);
209
209
  }
210
- if (e.light.button) {
211
- if (e.light.button.default) {
212
- const t = h(
210
+ if (i.light.button) {
211
+ if (i.light.button.default) {
212
+ const t = n(
213
213
  "default",
214
- e.light.button.default,
214
+ i.light.button.default,
215
215
  "button"
216
216
  );
217
217
  t.length > 0 && s.push(...t);
218
218
  }
219
- if (e.light.button.gray) {
220
- const t = h(
219
+ if (i.light.button.gray) {
220
+ const t = n(
221
221
  "gray",
222
- e.light.button.gray,
222
+ i.light.button.gray,
223
223
  "button"
224
224
  );
225
225
  t.length > 0 && s.push(...t);
226
226
  }
227
- if (e.light.button.red) {
228
- const t = h(
227
+ if (i.light.button.red) {
228
+ const t = n(
229
229
  "red",
230
- e.light.button.red,
230
+ i.light.button.red,
231
231
  "button"
232
232
  );
233
233
  t.length > 0 && s.push(...t);
234
234
  }
235
- if (e.light.button.orange) {
236
- const t = h(
235
+ if (i.light.button.orange) {
236
+ const t = n(
237
237
  "orange",
238
- e.light.button.orange,
238
+ i.light.button.orange,
239
239
  "button"
240
240
  );
241
241
  t.length > 0 && s.push(...t);
242
242
  }
243
- if (e.light.button.yellow) {
244
- const t = h(
243
+ if (i.light.button.yellow) {
244
+ const t = n(
245
245
  "yellow",
246
- e.light.button.yellow,
246
+ i.light.button.yellow,
247
247
  "button"
248
248
  );
249
249
  t.length > 0 && s.push(...t);
250
250
  }
251
- if (e.light.button.green) {
252
- const t = h(
251
+ if (i.light.button.green) {
252
+ const t = n(
253
253
  "green",
254
- e.light.button.green,
254
+ i.light.button.green,
255
255
  "button"
256
256
  );
257
257
  t.length > 0 && s.push(...t);
258
258
  }
259
- if (e.light.button.cyan) {
260
- const t = h(
259
+ if (i.light.button.cyan) {
260
+ const t = n(
261
261
  "cyan",
262
- e.light.button.cyan,
262
+ i.light.button.cyan,
263
263
  "button"
264
264
  );
265
265
  t.length > 0 && s.push(...t);
266
266
  }
267
- if (e.light.button.blue) {
268
- const t = h(
267
+ if (i.light.button.blue) {
268
+ const t = n(
269
269
  "blue",
270
- e.light.button.blue,
270
+ i.light.button.blue,
271
271
  "button"
272
272
  );
273
273
  t.length > 0 && s.push(...t);
274
274
  }
275
- if (e.light.button.violet) {
276
- const t = h(
275
+ if (i.light.button.violet) {
276
+ const t = n(
277
277
  "violet",
278
- e.light.button.violet,
278
+ i.light.button.violet,
279
279
  "button"
280
280
  );
281
281
  t.length > 0 && s.push(...t);
282
282
  }
283
- if (e.light.button.magenta) {
284
- const t = h(
283
+ if (i.light.button.magenta) {
284
+ const t = n(
285
285
  "magenta",
286
- e.light.button.magenta,
286
+ i.light.button.magenta,
287
287
  "button"
288
288
  );
289
289
  t.length > 0 && s.push(...t);
@@ -293,128 +293,128 @@ function a(n) {
293
293
  }
294
294
  return s;
295
295
  }
296
- function g(n) {
296
+ function g(h) {
297
297
  const s = [];
298
- if (n && n.color) {
299
- const e = n.color;
300
- if (e.dark) {
301
- if (e.dark.default) {
302
- const t = h("default", e.dark.default);
298
+ if (h && h.color) {
299
+ const i = h.color;
300
+ if (i.dark) {
301
+ if (i.dark.default) {
302
+ const t = n("default", i.dark.default);
303
303
  t.length > 0 && s.push(...t);
304
304
  }
305
- if (e.dark.gray) {
306
- const t = h("gray", e.dark.gray);
305
+ if (i.dark.gray) {
306
+ const t = n("gray", i.dark.gray);
307
307
  t.length > 0 && s.push(...t);
308
308
  }
309
- if (e.dark.red) {
310
- const t = h("red", e.dark.red);
309
+ if (i.dark.red) {
310
+ const t = n("red", i.dark.red);
311
311
  t.length > 0 && s.push(...t);
312
312
  }
313
- if (e.dark.orange) {
314
- const t = h("orange", e.dark.orange);
313
+ if (i.dark.orange) {
314
+ const t = n("orange", i.dark.orange);
315
315
  t.length > 0 && s.push(...t);
316
316
  }
317
- if (e.dark.yellow) {
318
- const t = h("yellow", e.dark.yellow);
317
+ if (i.dark.yellow) {
318
+ const t = n("yellow", i.dark.yellow);
319
319
  t.length > 0 && s.push(...t);
320
320
  }
321
- if (e.dark.green) {
322
- const t = h("green", e.dark.green);
321
+ if (i.dark.green) {
322
+ const t = n("green", i.dark.green);
323
323
  t.length > 0 && s.push(...t);
324
324
  }
325
- if (e.dark.cyan) {
326
- const t = h("cyan", e.dark.cyan);
325
+ if (i.dark.cyan) {
326
+ const t = n("cyan", i.dark.cyan);
327
327
  t.length > 0 && s.push(...t);
328
328
  }
329
- if (e.dark.blue) {
330
- const t = h("blue", e.dark.blue);
329
+ if (i.dark.blue) {
330
+ const t = n("blue", i.dark.blue);
331
331
  t.length > 0 && s.push(...t);
332
332
  }
333
- if (e.dark.violet) {
334
- const t = h("violet", e.dark.violet);
333
+ if (i.dark.violet) {
334
+ const t = n("violet", i.dark.violet);
335
335
  t.length > 0 && s.push(...t);
336
336
  }
337
- if (e.dark.magenta) {
338
- const t = h("magenta", e.dark.magenta);
337
+ if (i.dark.magenta) {
338
+ const t = n("magenta", i.dark.magenta);
339
339
  t.length > 0 && s.push(...t);
340
340
  }
341
- if (e.dark.button) {
342
- if (e.dark.button.default) {
343
- const t = h(
341
+ if (i.dark.button) {
342
+ if (i.dark.button.default) {
343
+ const t = n(
344
344
  "default",
345
- e.dark.button.default,
345
+ i.dark.button.default,
346
346
  "button"
347
347
  );
348
348
  t.length > 0 && s.push(...t);
349
349
  }
350
- if (e.dark.button.gray) {
351
- const t = h(
350
+ if (i.dark.button.gray) {
351
+ const t = n(
352
352
  "gray",
353
- e.dark.button.gray,
353
+ i.dark.button.gray,
354
354
  "button"
355
355
  );
356
356
  t.length > 0 && s.push(...t);
357
357
  }
358
- if (e.dark.button.red) {
359
- const t = h(
358
+ if (i.dark.button.red) {
359
+ const t = n(
360
360
  "red",
361
- e.dark.button.red,
361
+ i.dark.button.red,
362
362
  "button"
363
363
  );
364
364
  t.length > 0 && s.push(...t);
365
365
  }
366
- if (e.dark.button.orange) {
367
- const t = h(
366
+ if (i.dark.button.orange) {
367
+ const t = n(
368
368
  "orange",
369
- e.dark.button.orange,
369
+ i.dark.button.orange,
370
370
  "button"
371
371
  );
372
372
  t.length > 0 && s.push(...t);
373
373
  }
374
- if (e.dark.button.yellow) {
375
- const t = h(
374
+ if (i.dark.button.yellow) {
375
+ const t = n(
376
376
  "yellow",
377
- e.dark.button.yellow,
377
+ i.dark.button.yellow,
378
378
  "button"
379
379
  );
380
380
  t.length > 0 && s.push(...t);
381
381
  }
382
- if (e.dark.button.green) {
383
- const t = h(
382
+ if (i.dark.button.green) {
383
+ const t = n(
384
384
  "green",
385
- e.dark.button.green,
385
+ i.dark.button.green,
386
386
  "button"
387
387
  );
388
388
  t.length > 0 && s.push(...t);
389
389
  }
390
- if (e.dark.button.cyan) {
391
- const t = h(
390
+ if (i.dark.button.cyan) {
391
+ const t = n(
392
392
  "cyan",
393
- e.dark.button.cyan,
393
+ i.dark.button.cyan,
394
394
  "button"
395
395
  );
396
396
  t.length > 0 && s.push(...t);
397
397
  }
398
- if (e.dark.button.blue) {
399
- const t = h(
398
+ if (i.dark.button.blue) {
399
+ const t = n(
400
400
  "blue",
401
- e.dark.button.blue,
401
+ i.dark.button.blue,
402
402
  "button"
403
403
  );
404
404
  t.length > 0 && s.push(...t);
405
405
  }
406
- if (e.dark.button.violet) {
407
- const t = h(
406
+ if (i.dark.button.violet) {
407
+ const t = n(
408
408
  "violet",
409
- e.dark.button.violet,
409
+ i.dark.button.violet,
410
410
  "button"
411
411
  );
412
412
  t.length > 0 && s.push(...t);
413
413
  }
414
- if (e.dark.button.magenta) {
415
- const t = h(
414
+ if (i.dark.button.magenta) {
415
+ const t = n(
416
416
  "magenta",
417
- e.dark.button.magenta,
417
+ i.dark.button.magenta,
418
418
  "button"
419
419
  );
420
420
  t.length > 0 && s.push(...t);
@@ -426,8 +426,8 @@ function g(n) {
426
426
  }
427
427
  const c = {
428
428
  getMinolithCssVariableStyles: $,
429
- getRootStyles: d,
430
- getLightSchemeStyles: a,
429
+ getRootStyles: u,
430
+ getLightSchemeStyles: d,
431
431
  getDarkSchemeStyles: g
432
432
  };
433
433
  export {