@xanui/core 1.3.8 → 1.3.9

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 (73) hide show
  1. package/AppRoot/index.cjs +5 -4
  2. package/AppRoot/index.cjs.map +1 -1
  3. package/AppRoot/index.d.ts +2 -1
  4. package/AppRoot/index.js +5 -4
  5. package/AppRoot/index.js.map +1 -1
  6. package/Iframe/index.cjs +1 -0
  7. package/Iframe/index.cjs.map +1 -1
  8. package/Iframe/index.js +1 -0
  9. package/Iframe/index.js.map +1 -1
  10. package/Tag/types.d.ts +1 -1
  11. package/Tag/useTagProps.cjs +5 -1
  12. package/Tag/useTagProps.cjs.map +1 -1
  13. package/Tag/useTagProps.js +5 -1
  14. package/Tag/useTagProps.js.map +1 -1
  15. package/Transition/index.cjs +1 -1
  16. package/Transition/index.cjs.map +1 -1
  17. package/Transition/index.d.ts +7 -2
  18. package/Transition/index.js +1 -1
  19. package/Transition/index.js.map +1 -1
  20. package/css/getProps.cjs +9 -6
  21. package/css/getProps.cjs.map +1 -1
  22. package/css/getProps.js +9 -6
  23. package/css/getProps.js.map +1 -1
  24. package/css/getValue.cjs +11 -10
  25. package/css/getValue.cjs.map +1 -1
  26. package/css/getValue.js +11 -10
  27. package/css/getValue.js.map +1 -1
  28. package/css/index.cjs +0 -32
  29. package/css/index.cjs.map +1 -1
  30. package/css/index.d.ts +1 -4
  31. package/css/index.js +1 -30
  32. package/css/index.js.map +1 -1
  33. package/hooks/useColorTemplate.cjs +26 -29
  34. package/hooks/useColorTemplate.cjs.map +1 -1
  35. package/hooks/useColorTemplate.d.ts +8 -6
  36. package/hooks/useColorTemplate.js +26 -29
  37. package/hooks/useColorTemplate.js.map +1 -1
  38. package/hooks/useInterface.cjs +1 -0
  39. package/hooks/useInterface.cjs.map +1 -1
  40. package/hooks/useInterface.d.ts +1 -3
  41. package/hooks/useInterface.js +1 -0
  42. package/hooks/useInterface.js.map +1 -1
  43. package/index.cjs +0 -3
  44. package/index.cjs.map +1 -1
  45. package/index.d.ts +3 -3
  46. package/index.js +1 -1
  47. package/package.json +1 -1
  48. package/readme.md +2 -2
  49. package/theme/ThemeCssVars.cjs +36 -147
  50. package/theme/ThemeCssVars.cjs.map +1 -1
  51. package/theme/ThemeCssVars.js +36 -147
  52. package/theme/ThemeCssVars.js.map +1 -1
  53. package/theme/ThemeDefaultOptions.cjs +20 -86
  54. package/theme/ThemeDefaultOptions.cjs.map +1 -1
  55. package/theme/ThemeDefaultOptions.js +20 -86
  56. package/theme/ThemeDefaultOptions.js.map +1 -1
  57. package/theme/ThemeProvider.cjs +2 -2
  58. package/theme/ThemeProvider.cjs.map +1 -1
  59. package/theme/ThemeProvider.js +2 -2
  60. package/theme/ThemeProvider.js.map +1 -1
  61. package/theme/core.cjs +14 -9
  62. package/theme/core.cjs.map +1 -1
  63. package/theme/core.js +15 -10
  64. package/theme/core.js.map +1 -1
  65. package/theme/index.cjs +3 -0
  66. package/theme/index.cjs.map +1 -1
  67. package/theme/index.js +1 -0
  68. package/theme/index.js.map +1 -1
  69. package/theme/oklch.cjs +249 -0
  70. package/theme/oklch.cjs.map +1 -0
  71. package/theme/oklch.js +246 -0
  72. package/theme/oklch.js.map +1 -0
  73. package/theme/types.d.ts +26 -72
@@ -1,155 +1,44 @@
1
1
  'use strict';
2
2
 
3
+ var index = require('../css/index.cjs');
4
+
3
5
  const ThemeCssVars = (theme) => {
4
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131;
6
+ var _a;
5
7
  const vars = {};
8
+ const bnames = Object.keys(index.breakpoints);
9
+ for (let name of bnames) {
10
+ if (name in theme.breakpoints) {
11
+ vars[`--bp-${name}`] = theme.breakpoints[name];
12
+ }
13
+ }
14
+ const typoNames = ["h1", "h2", "h3", "h4", "h5", "h6", "big", "text", "button", "small"];
15
+ const typoKeys = ["fontSize", "fontWeight", "lineHeight"];
16
+ for (let tname of typoNames) {
17
+ if (tname in theme.typography) {
18
+ for (let key of typoKeys) {
19
+ const v = theme.typography[tname];
20
+ if (key in v) {
21
+ let px = key === "fontSize" ? "px" : "";
22
+ vars[`--${key.toLowerCase()}-${tname}`] = `${theme.typography[tname][key]}${px}`;
23
+ }
24
+ }
25
+ }
26
+ }
27
+ const colorNames = ["surface", "primary", "accent", "success", "info", "warning", "danger"];
28
+ const colorKeys = ["main", "light", "dark", "contrast", "muted", "disabled", "divider", "ghost"];
29
+ for (let cname of colorNames) {
30
+ if (cname in theme.colors) {
31
+ if ("main" in theme.colors[cname]) {
32
+ vars[`--color-${cname}`] = theme.colors[cname]["main"];
33
+ }
34
+ for (let key of colorKeys) {
35
+ if (key in theme.colors[cname]) {
36
+ vars[`--color-${cname}-${key}`] = theme.colors[cname][key];
37
+ }
38
+ }
39
+ }
40
+ }
6
41
  (_a = theme.shadow) === null || _a === void 0 ? void 0 : _a.forEach((s, i) => vars[`--shadow-${i}`] = s);
7
- if ((_b = theme.breakpoints) === null || _b === void 0 ? void 0 : _b.xs)
8
- vars["--bp-xs"] = theme.breakpoints.xs;
9
- if ((_c = theme.breakpoints) === null || _c === void 0 ? void 0 : _c.sm)
10
- vars["--bp-sm"] = theme.breakpoints.sm;
11
- if ((_d = theme.breakpoints) === null || _d === void 0 ? void 0 : _d.md)
12
- vars["--bp-md"] = theme.breakpoints.md;
13
- if ((_e = theme.breakpoints) === null || _e === void 0 ? void 0 : _e.lg)
14
- vars["--bp-lg"] = theme.breakpoints.lg;
15
- if ((_f = theme.breakpoints) === null || _f === void 0 ? void 0 : _f.xl)
16
- vars["--bp-xl"] = theme.breakpoints.xl;
17
- if ((_h = (_g = theme.typography) === null || _g === void 0 ? void 0 : _g.h1) === null || _h === void 0 ? void 0 : _h.fontSize)
18
- vars["--fontsize-h1"] = `${theme.typography.h1.fontSize}px`;
19
- if ((_k = (_j = theme.typography) === null || _j === void 0 ? void 0 : _j.h2) === null || _k === void 0 ? void 0 : _k.fontSize)
20
- vars["--fontsize-h2"] = `${theme.typography.h2.fontSize}px`;
21
- if ((_m = (_l = theme.typography) === null || _l === void 0 ? void 0 : _l.h3) === null || _m === void 0 ? void 0 : _m.fontSize)
22
- vars["--fontsize-h3"] = `${theme.typography.h3.fontSize}px`;
23
- if ((_p = (_o = theme.typography) === null || _o === void 0 ? void 0 : _o.h4) === null || _p === void 0 ? void 0 : _p.fontSize)
24
- vars["--fontsize-h4"] = `${theme.typography.h4.fontSize}px`;
25
- if ((_r = (_q = theme.typography) === null || _q === void 0 ? void 0 : _q.h5) === null || _r === void 0 ? void 0 : _r.fontSize)
26
- vars["--fontsize-h5"] = `${theme.typography.h5.fontSize}px`;
27
- if ((_t = (_s = theme.typography) === null || _s === void 0 ? void 0 : _s.h6) === null || _t === void 0 ? void 0 : _t.fontSize)
28
- vars["--fontsize-h6"] = `${theme.typography.h6.fontSize}px`;
29
- if ((_v = (_u = theme.typography) === null || _u === void 0 ? void 0 : _u.big) === null || _v === void 0 ? void 0 : _v.fontSize)
30
- vars["--fontsize-big"] = `${theme.typography.big.fontSize}px`;
31
- if ((_x = (_w = theme.typography) === null || _w === void 0 ? void 0 : _w.text) === null || _x === void 0 ? void 0 : _x.fontSize)
32
- vars["--fontsize-text"] = `${theme.typography.text.fontSize}px`;
33
- if ((_z = (_y = theme.typography) === null || _y === void 0 ? void 0 : _y.button) === null || _z === void 0 ? void 0 : _z.fontSize)
34
- vars["--fontsize-button"] = `${theme.typography.button.fontSize}px`;
35
- if ((_1 = (_0 = theme.typography) === null || _0 === void 0 ? void 0 : _0.small) === null || _1 === void 0 ? void 0 : _1.fontSize)
36
- vars["--fontsize-small"] = `${theme.typography.small.fontSize}px`;
37
- if ((_3 = (_2 = theme.typography) === null || _2 === void 0 ? void 0 : _2.h1) === null || _3 === void 0 ? void 0 : _3.fontWeight)
38
- vars["--fontweight-h1"] = theme.typography.h1.fontWeight + "";
39
- if ((_5 = (_4 = theme.typography) === null || _4 === void 0 ? void 0 : _4.h2) === null || _5 === void 0 ? void 0 : _5.fontWeight)
40
- vars["--fontweight-h2"] = theme.typography.h2.fontWeight + "";
41
- if ((_7 = (_6 = theme.typography) === null || _6 === void 0 ? void 0 : _6.h3) === null || _7 === void 0 ? void 0 : _7.fontWeight)
42
- vars["--fontweight-h3"] = theme.typography.h3.fontWeight + "";
43
- if ((_9 = (_8 = theme.typography) === null || _8 === void 0 ? void 0 : _8.h4) === null || _9 === void 0 ? void 0 : _9.fontWeight)
44
- vars["--fontweight-h4"] = theme.typography.h4.fontWeight + "";
45
- if ((_11 = (_10 = theme.typography) === null || _10 === void 0 ? void 0 : _10.h5) === null || _11 === void 0 ? void 0 : _11.fontWeight)
46
- vars["--fontweight-h5"] = theme.typography.h5.fontWeight + "";
47
- if ((_13 = (_12 = theme.typography) === null || _12 === void 0 ? void 0 : _12.h6) === null || _13 === void 0 ? void 0 : _13.fontWeight)
48
- vars["--fontweight-h6"] = theme.typography.h6.fontWeight + "";
49
- if ((_15 = (_14 = theme.typography) === null || _14 === void 0 ? void 0 : _14.big) === null || _15 === void 0 ? void 0 : _15.fontWeight)
50
- vars["--fontweight-big"] = theme.typography.big.fontWeight + "";
51
- if ((_17 = (_16 = theme.typography) === null || _16 === void 0 ? void 0 : _16.text) === null || _17 === void 0 ? void 0 : _17.fontWeight)
52
- vars["--fontweight-text"] = theme.typography.text.fontWeight + "";
53
- if ((_19 = (_18 = theme.typography) === null || _18 === void 0 ? void 0 : _18.button) === null || _19 === void 0 ? void 0 : _19.fontWeight)
54
- vars["--fontweight-button"] = theme.typography.button.fontWeight + "";
55
- if ((_21 = (_20 = theme.typography) === null || _20 === void 0 ? void 0 : _20.small) === null || _21 === void 0 ? void 0 : _21.fontWeight)
56
- vars["--fontweight-small"] = theme.typography.small.fontWeight + "";
57
- if ((_23 = (_22 = theme.typography) === null || _22 === void 0 ? void 0 : _22.h1) === null || _23 === void 0 ? void 0 : _23.lineHeight)
58
- vars["--lineheight-h1"] = theme.typography.h1.lineHeight + "";
59
- if ((_25 = (_24 = theme.typography) === null || _24 === void 0 ? void 0 : _24.h2) === null || _25 === void 0 ? void 0 : _25.lineHeight)
60
- vars["--lineheight-h2"] = theme.typography.h2.lineHeight + "";
61
- if ((_27 = (_26 = theme.typography) === null || _26 === void 0 ? void 0 : _26.h3) === null || _27 === void 0 ? void 0 : _27.lineHeight)
62
- vars["--lineheight-h3"] = theme.typography.h3.lineHeight + "";
63
- if ((_29 = (_28 = theme.typography) === null || _28 === void 0 ? void 0 : _28.h4) === null || _29 === void 0 ? void 0 : _29.lineHeight)
64
- vars["--lineheight-h4"] = theme.typography.h4.lineHeight + "";
65
- if ((_31 = (_30 = theme.typography) === null || _30 === void 0 ? void 0 : _30.h5) === null || _31 === void 0 ? void 0 : _31.lineHeight)
66
- vars["--lineheight-h5"] = theme.typography.h5.lineHeight + "";
67
- if ((_33 = (_32 = theme.typography) === null || _32 === void 0 ? void 0 : _32.h6) === null || _33 === void 0 ? void 0 : _33.lineHeight)
68
- vars["--lineheight-h6"] = theme.typography.h6.lineHeight + "";
69
- if ((_35 = (_34 = theme.typography) === null || _34 === void 0 ? void 0 : _34.big) === null || _35 === void 0 ? void 0 : _35.lineHeight)
70
- vars["--lineheight-big"] = theme.typography.big.lineHeight + "";
71
- if ((_37 = (_36 = theme.typography) === null || _36 === void 0 ? void 0 : _36.text) === null || _37 === void 0 ? void 0 : _37.lineHeight)
72
- vars["--lineheight-text"] = theme.typography.text.lineHeight + "";
73
- if ((_39 = (_38 = theme.typography) === null || _38 === void 0 ? void 0 : _38.button) === null || _39 === void 0 ? void 0 : _39.lineHeight)
74
- vars["--lineheight-button"] = theme.typography.button.lineHeight + "";
75
- if ((_41 = (_40 = theme.typography) === null || _40 === void 0 ? void 0 : _40.small) === null || _41 === void 0 ? void 0 : _41.lineHeight)
76
- vars["--lineheight-small"] = theme.typography.small.lineHeight + "";
77
- if ((_43 = (_42 = theme.colors) === null || _42 === void 0 ? void 0 : _42.background) === null || _43 === void 0 ? void 0 : _43.primary)
78
- vars["--color-background-primary"] = theme.colors.background.primary;
79
- if ((_45 = (_44 = theme.colors) === null || _44 === void 0 ? void 0 : _44.background) === null || _45 === void 0 ? void 0 : _45.secondary)
80
- vars["--color-background-secondary"] = theme.colors.background.secondary;
81
- if ((_47 = (_46 = theme.colors) === null || _46 === void 0 ? void 0 : _46.text) === null || _47 === void 0 ? void 0 : _47.primary)
82
- vars["--color-text-primary"] = theme.colors.text.primary;
83
- if ((_49 = (_48 = theme.colors) === null || _48 === void 0 ? void 0 : _48.text) === null || _49 === void 0 ? void 0 : _49.secondary)
84
- vars["--color-text-secondary"] = theme.colors.text.secondary;
85
- if ((_51 = (_50 = theme.colors) === null || _50 === void 0 ? void 0 : _50.divider) === null || _51 === void 0 ? void 0 : _51.primary)
86
- vars["--color-divider-primary"] = theme.colors.divider.primary;
87
- if ((_53 = (_52 = theme.colors) === null || _52 === void 0 ? void 0 : _52.divider) === null || _53 === void 0 ? void 0 : _53.secondary)
88
- vars["--color-divider-secondary"] = theme.colors.divider.secondary;
89
- if ((_56 = (_55 = (_54 = theme.colors) === null || _54 === void 0 ? void 0 : _54.divider) === null || _55 === void 0 ? void 0 : _55.soft) === null || _56 === void 0 ? void 0 : _56.primary)
90
- vars["--color-divider-soft-primary"] = theme.colors.divider.soft.primary;
91
- if ((_59 = (_58 = (_57 = theme.colors) === null || _57 === void 0 ? void 0 : _57.divider) === null || _58 === void 0 ? void 0 : _58.soft) === null || _59 === void 0 ? void 0 : _59.secondary)
92
- vars["--color-divider-soft-secondary"] = theme.colors.divider.soft.secondary;
93
- if ((_61 = (_60 = theme.colors) === null || _60 === void 0 ? void 0 : _60.brand) === null || _61 === void 0 ? void 0 : _61.primary)
94
- vars["--color-brand-primary"] = theme.colors.brand.primary;
95
- if ((_63 = (_62 = theme.colors) === null || _62 === void 0 ? void 0 : _62.brand) === null || _63 === void 0 ? void 0 : _63.secondary)
96
- vars["--color-brand-secondary"] = theme.colors.brand.secondary;
97
- if ((_65 = (_64 = theme.colors) === null || _64 === void 0 ? void 0 : _64.brand) === null || _65 === void 0 ? void 0 : _65.text)
98
- vars["--color-brand-text"] = theme.colors.brand.text;
99
- if ((_68 = (_67 = (_66 = theme.colors) === null || _66 === void 0 ? void 0 : _66.brand) === null || _67 === void 0 ? void 0 : _67.soft) === null || _68 === void 0 ? void 0 : _68.primary)
100
- vars["--color-brand-soft-primary"] = theme.colors.brand.soft.primary;
101
- if ((_71 = (_70 = (_69 = theme.colors) === null || _69 === void 0 ? void 0 : _69.brand) === null || _70 === void 0 ? void 0 : _70.soft) === null || _71 === void 0 ? void 0 : _71.secondary)
102
- vars["--color-brand-soft-secondary"] = theme.colors.brand.soft.secondary;
103
- if ((_73 = (_72 = theme.colors) === null || _72 === void 0 ? void 0 : _72.accent) === null || _73 === void 0 ? void 0 : _73.primary)
104
- vars["--color-accent-primary"] = theme.colors.accent.primary;
105
- if ((_75 = (_74 = theme.colors) === null || _74 === void 0 ? void 0 : _74.accent) === null || _75 === void 0 ? void 0 : _75.secondary)
106
- vars["--color-accent-secondary"] = theme.colors.accent.secondary;
107
- if ((_77 = (_76 = theme.colors) === null || _76 === void 0 ? void 0 : _76.accent) === null || _77 === void 0 ? void 0 : _77.text)
108
- vars["--color-accent-text"] = theme.colors.accent.text;
109
- if ((_80 = (_79 = (_78 = theme.colors) === null || _78 === void 0 ? void 0 : _78.accent) === null || _79 === void 0 ? void 0 : _79.soft) === null || _80 === void 0 ? void 0 : _80.primary)
110
- vars["--color-accent-soft-primary"] = theme.colors.accent.soft.primary;
111
- if ((_83 = (_82 = (_81 = theme.colors) === null || _81 === void 0 ? void 0 : _81.accent) === null || _82 === void 0 ? void 0 : _82.soft) === null || _83 === void 0 ? void 0 : _83.secondary)
112
- vars["--color-accent-soft-secondary"] = theme.colors.accent.soft.secondary;
113
- if ((_85 = (_84 = theme.colors) === null || _84 === void 0 ? void 0 : _84.info) === null || _85 === void 0 ? void 0 : _85.primary)
114
- vars["--color-info-primary"] = theme.colors.info.primary;
115
- if ((_87 = (_86 = theme.colors) === null || _86 === void 0 ? void 0 : _86.info) === null || _87 === void 0 ? void 0 : _87.secondary)
116
- vars["--color-info-secondary"] = theme.colors.info.secondary;
117
- if ((_89 = (_88 = theme.colors) === null || _88 === void 0 ? void 0 : _88.info) === null || _89 === void 0 ? void 0 : _89.text)
118
- vars["--color-info-text"] = theme.colors.info.text;
119
- if ((_92 = (_91 = (_90 = theme.colors) === null || _90 === void 0 ? void 0 : _90.info) === null || _91 === void 0 ? void 0 : _91.soft) === null || _92 === void 0 ? void 0 : _92.primary)
120
- vars["--color-info-soft-primary"] = theme.colors.info.soft.primary;
121
- if ((_95 = (_94 = (_93 = theme.colors) === null || _93 === void 0 ? void 0 : _93.info) === null || _94 === void 0 ? void 0 : _94.soft) === null || _95 === void 0 ? void 0 : _95.secondary)
122
- vars["--color-info-soft-secondary"] = theme.colors.info.soft.secondary;
123
- if ((_97 = (_96 = theme.colors) === null || _96 === void 0 ? void 0 : _96.success) === null || _97 === void 0 ? void 0 : _97.primary)
124
- vars["--color-success-primary"] = theme.colors.success.primary;
125
- if ((_99 = (_98 = theme.colors) === null || _98 === void 0 ? void 0 : _98.success) === null || _99 === void 0 ? void 0 : _99.secondary)
126
- vars["--color-success-secondary"] = theme.colors.success.secondary;
127
- if ((_101 = (_100 = theme.colors) === null || _100 === void 0 ? void 0 : _100.success) === null || _101 === void 0 ? void 0 : _101.text)
128
- vars["--color-success-text"] = theme.colors.success.text;
129
- if ((_104 = (_103 = (_102 = theme.colors) === null || _102 === void 0 ? void 0 : _102.success) === null || _103 === void 0 ? void 0 : _103.soft) === null || _104 === void 0 ? void 0 : _104.primary)
130
- vars["--color-success-soft-primary"] = theme.colors.success.soft.primary;
131
- if ((_107 = (_106 = (_105 = theme.colors) === null || _105 === void 0 ? void 0 : _105.success) === null || _106 === void 0 ? void 0 : _106.soft) === null || _107 === void 0 ? void 0 : _107.secondary)
132
- vars["--color-success-soft-secondary"] = theme.colors.success.soft.secondary;
133
- if ((_109 = (_108 = theme.colors) === null || _108 === void 0 ? void 0 : _108.warning) === null || _109 === void 0 ? void 0 : _109.primary)
134
- vars["--color-warning-primary"] = theme.colors.warning.primary;
135
- if ((_111 = (_110 = theme.colors) === null || _110 === void 0 ? void 0 : _110.warning) === null || _111 === void 0 ? void 0 : _111.secondary)
136
- vars["--color-warning-secondary"] = theme.colors.warning.secondary;
137
- if ((_113 = (_112 = theme.colors) === null || _112 === void 0 ? void 0 : _112.warning) === null || _113 === void 0 ? void 0 : _113.text)
138
- vars["--color-warning-text"] = theme.colors.warning.text;
139
- if ((_116 = (_115 = (_114 = theme.colors) === null || _114 === void 0 ? void 0 : _114.warning) === null || _115 === void 0 ? void 0 : _115.soft) === null || _116 === void 0 ? void 0 : _116.primary)
140
- vars["--color-warning-soft-primary"] = theme.colors.warning.soft.primary;
141
- if ((_119 = (_118 = (_117 = theme.colors) === null || _117 === void 0 ? void 0 : _117.warning) === null || _118 === void 0 ? void 0 : _118.soft) === null || _119 === void 0 ? void 0 : _119.secondary)
142
- vars["--color-warning-soft-secondary"] = theme.colors.warning.soft.secondary;
143
- if ((_121 = (_120 = theme.colors) === null || _120 === void 0 ? void 0 : _120.danger) === null || _121 === void 0 ? void 0 : _121.primary)
144
- vars["--color-danger-primary"] = theme.colors.danger.primary;
145
- if ((_123 = (_122 = theme.colors) === null || _122 === void 0 ? void 0 : _122.danger) === null || _123 === void 0 ? void 0 : _123.secondary)
146
- vars["--color-danger-secondary"] = theme.colors.danger.secondary;
147
- if ((_125 = (_124 = theme.colors) === null || _124 === void 0 ? void 0 : _124.danger) === null || _125 === void 0 ? void 0 : _125.text)
148
- vars["--color-danger-text"] = theme.colors.danger.text;
149
- if ((_128 = (_127 = (_126 = theme.colors) === null || _126 === void 0 ? void 0 : _126.danger) === null || _127 === void 0 ? void 0 : _127.soft) === null || _128 === void 0 ? void 0 : _128.primary)
150
- vars["--color-danger-soft-primary"] = theme.colors.danger.soft.primary;
151
- if ((_131 = (_130 = (_129 = theme.colors) === null || _129 === void 0 ? void 0 : _129.danger) === null || _130 === void 0 ? void 0 : _130.soft) === null || _131 === void 0 ? void 0 : _131.secondary)
152
- vars["--color-danger-soft-secondary"] = theme.colors.danger.soft.secondary;
153
42
  return vars;
154
43
  };
155
44
 
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeCssVars.cjs","sources":["../../src/theme/ThemeCssVars.ts"],"sourcesContent":["import { ThemeOptions } from \"./types\";\n\nconst ThemeCssVars = (theme: ThemeOptions) => {\n const vars: any = {}\n theme.shadow?.forEach((s, i) => vars[`--shadow-${i}`] = s)\n\n if (theme.breakpoints?.xs) vars[\"--bp-xs\"] = theme.breakpoints.xs\n if (theme.breakpoints?.sm) vars[\"--bp-sm\"] = theme.breakpoints.sm\n if (theme.breakpoints?.md) vars[\"--bp-md\"] = theme.breakpoints.md\n if (theme.breakpoints?.lg) vars[\"--bp-lg\"] = theme.breakpoints.lg\n if (theme.breakpoints?.xl) vars[\"--bp-xl\"] = theme.breakpoints.xl\n\n if (theme.typography?.h1?.fontSize) vars[\"--fontsize-h1\"] = `${theme.typography.h1.fontSize}px`\n if (theme.typography?.h2?.fontSize) vars[\"--fontsize-h2\"] = `${theme.typography.h2.fontSize}px`\n if (theme.typography?.h3?.fontSize) vars[\"--fontsize-h3\"] = `${theme.typography.h3.fontSize}px`\n if (theme.typography?.h4?.fontSize) vars[\"--fontsize-h4\"] = `${theme.typography.h4.fontSize}px`\n if (theme.typography?.h5?.fontSize) vars[\"--fontsize-h5\"] = `${theme.typography.h5.fontSize}px`\n if (theme.typography?.h6?.fontSize) vars[\"--fontsize-h6\"] = `${theme.typography.h6.fontSize}px`\n if (theme.typography?.big?.fontSize) vars[\"--fontsize-big\"] = `${theme.typography.big.fontSize}px`\n if (theme.typography?.text?.fontSize) vars[\"--fontsize-text\"] = `${theme.typography.text.fontSize}px`\n if (theme.typography?.button?.fontSize) vars[\"--fontsize-button\"] = `${theme.typography.button.fontSize}px`\n if (theme.typography?.small?.fontSize) vars[\"--fontsize-small\"] = `${theme.typography.small.fontSize}px`\n\n if (theme.typography?.h1?.fontWeight) vars[\"--fontweight-h1\"] = theme.typography.h1.fontWeight + \"\"\n if (theme.typography?.h2?.fontWeight) vars[\"--fontweight-h2\"] = theme.typography.h2.fontWeight + \"\"\n if (theme.typography?.h3?.fontWeight) vars[\"--fontweight-h3\"] = theme.typography.h3.fontWeight + \"\"\n if (theme.typography?.h4?.fontWeight) vars[\"--fontweight-h4\"] = theme.typography.h4.fontWeight + \"\"\n if (theme.typography?.h5?.fontWeight) vars[\"--fontweight-h5\"] = theme.typography.h5.fontWeight + \"\"\n if (theme.typography?.h6?.fontWeight) vars[\"--fontweight-h6\"] = theme.typography.h6.fontWeight + \"\"\n if (theme.typography?.big?.fontWeight) vars[\"--fontweight-big\"] = theme.typography.big.fontWeight + \"\"\n if (theme.typography?.text?.fontWeight) vars[\"--fontweight-text\"] = theme.typography.text.fontWeight + \"\"\n if (theme.typography?.button?.fontWeight) vars[\"--fontweight-button\"] = theme.typography.button.fontWeight + \"\"\n if (theme.typography?.small?.fontWeight) vars[\"--fontweight-small\"] = theme.typography.small.fontWeight + \"\"\n\n\n if (theme.typography?.h1?.lineHeight) vars[\"--lineheight-h1\"] = theme.typography.h1.lineHeight + \"\"\n if (theme.typography?.h2?.lineHeight) vars[\"--lineheight-h2\"] = theme.typography.h2.lineHeight + \"\"\n if (theme.typography?.h3?.lineHeight) vars[\"--lineheight-h3\"] = theme.typography.h3.lineHeight + \"\"\n if (theme.typography?.h4?.lineHeight) vars[\"--lineheight-h4\"] = theme.typography.h4.lineHeight + \"\"\n if (theme.typography?.h5?.lineHeight) vars[\"--lineheight-h5\"] = theme.typography.h5.lineHeight + \"\"\n if (theme.typography?.h6?.lineHeight) vars[\"--lineheight-h6\"] = theme.typography.h6.lineHeight + \"\"\n if (theme.typography?.big?.lineHeight) vars[\"--lineheight-big\"] = theme.typography.big.lineHeight + \"\"\n if (theme.typography?.text?.lineHeight) vars[\"--lineheight-text\"] = theme.typography.text.lineHeight + \"\"\n if (theme.typography?.button?.lineHeight) vars[\"--lineheight-button\"] = theme.typography.button.lineHeight + \"\"\n if (theme.typography?.small?.lineHeight) vars[\"--lineheight-small\"] = theme.typography.small.lineHeight + \"\"\n\n if (theme.colors?.background?.primary) vars[\"--color-background-primary\"] = theme.colors.background.primary\n if (theme.colors?.background?.secondary) vars[\"--color-background-secondary\"] = theme.colors.background.secondary\n\n if (theme.colors?.text?.primary) vars[\"--color-text-primary\"] = theme.colors.text.primary\n if (theme.colors?.text?.secondary) vars[\"--color-text-secondary\"] = theme.colors.text.secondary\n\n if (theme.colors?.divider?.primary) vars[\"--color-divider-primary\"] = theme.colors.divider.primary\n if (theme.colors?.divider?.secondary) vars[\"--color-divider-secondary\"] = theme.colors.divider.secondary\n\n if (theme.colors?.divider?.soft?.primary) vars[\"--color-divider-soft-primary\"] = theme.colors.divider.soft.primary\n if (theme.colors?.divider?.soft?.secondary) vars[\"--color-divider-soft-secondary\"] = theme.colors.divider.soft.secondary\n\n if (theme.colors?.brand?.primary) vars[\"--color-brand-primary\"] = theme.colors.brand.primary\n if (theme.colors?.brand?.secondary) vars[\"--color-brand-secondary\"] = theme.colors.brand.secondary\n if (theme.colors?.brand?.text) vars[\"--color-brand-text\"] = theme.colors.brand.text\n if (theme.colors?.brand?.soft?.primary) vars[\"--color-brand-soft-primary\"] = theme.colors.brand.soft.primary\n if (theme.colors?.brand?.soft?.secondary) vars[\"--color-brand-soft-secondary\"] = theme.colors.brand.soft.secondary\n\n if (theme.colors?.accent?.primary) vars[\"--color-accent-primary\"] = theme.colors.accent.primary\n if (theme.colors?.accent?.secondary) vars[\"--color-accent-secondary\"] = theme.colors.accent.secondary\n if (theme.colors?.accent?.text) vars[\"--color-accent-text\"] = theme.colors.accent.text\n if (theme.colors?.accent?.soft?.primary) vars[\"--color-accent-soft-primary\"] = theme.colors.accent.soft.primary\n if (theme.colors?.accent?.soft?.secondary) vars[\"--color-accent-soft-secondary\"] = theme.colors.accent.soft.secondary\n\n if (theme.colors?.info?.primary) vars[\"--color-info-primary\"] = theme.colors.info.primary\n if (theme.colors?.info?.secondary) vars[\"--color-info-secondary\"] = theme.colors.info.secondary\n if (theme.colors?.info?.text) vars[\"--color-info-text\"] = theme.colors.info.text\n if (theme.colors?.info?.soft?.primary) vars[\"--color-info-soft-primary\"] = theme.colors.info.soft.primary\n if (theme.colors?.info?.soft?.secondary) vars[\"--color-info-soft-secondary\"] = theme.colors.info.soft.secondary\n\n if (theme.colors?.success?.primary) vars[\"--color-success-primary\"] = theme.colors.success.primary\n if (theme.colors?.success?.secondary) vars[\"--color-success-secondary\"] = theme.colors.success.secondary\n if (theme.colors?.success?.text) vars[\"--color-success-text\"] = theme.colors.success.text\n if (theme.colors?.success?.soft?.primary) vars[\"--color-success-soft-primary\"] = theme.colors.success.soft.primary\n if (theme.colors?.success?.soft?.secondary) vars[\"--color-success-soft-secondary\"] = theme.colors.success.soft.secondary\n\n if (theme.colors?.warning?.primary) vars[\"--color-warning-primary\"] = theme.colors.warning.primary\n if (theme.colors?.warning?.secondary) vars[\"--color-warning-secondary\"] = theme.colors.warning.secondary\n if (theme.colors?.warning?.text) vars[\"--color-warning-text\"] = theme.colors.warning.text\n if (theme.colors?.warning?.soft?.primary) vars[\"--color-warning-soft-primary\"] = theme.colors.warning.soft.primary\n if (theme.colors?.warning?.soft?.secondary) vars[\"--color-warning-soft-secondary\"] = theme.colors.warning.soft.secondary\n\n if (theme.colors?.danger?.primary) vars[\"--color-danger-primary\"] = theme.colors.danger.primary\n if (theme.colors?.danger?.secondary) vars[\"--color-danger-secondary\"] = theme.colors.danger.secondary\n if (theme.colors?.danger?.text) vars[\"--color-danger-text\"] = theme.colors.danger.text\n if (theme.colors?.danger?.soft?.primary) vars[\"--color-danger-soft-primary\"] = theme.colors.danger.soft.primary\n if (theme.colors?.danger?.soft?.secondary) vars[\"--color-danger-soft-secondary\"] = theme.colors.danger.soft.secondary\n return vars\n}\n\nexport default ThemeCssVars"],"names":[],"mappings":";;AAEA,MAAM,YAAY,GAAG,CAAC,KAAmB,KAAI;;IACzC,MAAM,IAAI,GAAQ,EAAE;IACpB,CAAA,EAAA,GAAA,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAA,SAAA,EAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAE1D,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK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ThemeOptions } from \"./types\";\n\nconst ThemeCssVars = (theme: ThemeOptions) => {\n const vars: any = {}\n\n const bnames = Object.keys(breakpoints)\n for (let name of bnames) {\n if (name in theme.breakpoints) {\n vars[`--bp-${name}`] = (theme as any).breakpoints[name]\n }\n }\n\n const typoNames = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"big\", \"text\", \"button\", \"small\"]\n const typoKeys = [\"fontSize\", \"fontWeight\", \"lineHeight\"]\n for (let tname of typoNames) {\n if (tname in theme.typography) {\n for (let key of typoKeys) {\n const v = (theme as any).typography[tname]\n if (key in v) {\n let px = key === \"fontSize\" ? \"px\" : \"\"\n vars[`--${key.toLowerCase()}-${tname}`] = `${(theme as any).typography[tname][key]}${px}`\n }\n }\n }\n }\n\n const colorNames = [\"surface\", \"primary\", \"accent\", \"success\", \"info\", \"warning\", \"danger\"]\n const colorKeys = [\"main\", \"light\", \"dark\", \"contrast\", \"muted\", \"disabled\", \"divider\", \"ghost\"]\n for (let cname of colorNames) {\n if (cname in theme.colors) {\n if (\"main\" in (theme as any).colors[cname]) {\n vars[`--color-${cname}`] = (theme as any).colors[cname][\"main\"]\n }\n\n for (let key of colorKeys) {\n if (key in (theme as any).colors[cname]) {\n vars[`--color-${cname}-${key}`] = (theme as any).colors[cname][key]\n }\n }\n }\n }\n\n theme.shadow?.forEach((s, i) => vars[`--shadow-${i}`] = s)\n\n return vars\n}\n\nexport default ThemeCssVars"],"names":["breakpoints"],"mappings":";;;;AAGA,MAAM,YAAY,GAAG,CAAC,KAAmB,KAAI;;IACzC,MAAM,IAAI,GAAQ,EAAE;IAEpB,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAACA,iBAAW,CAAC;AACvC,IAAA,KAAK,IAAI,IAAI,IAAI,MAAM,EAAE;AACrB,QAAA,IAAI,IAAI,IAAI,KAAK,CAAC,WAAW,EAAE;AAC3B,YAAA,IAAI,CAAC,CAAA,KAAA,EAAQ,IAAI,CAAA,CAAE,CAAC,GA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AAM,CAAC,KAAK,CAAC,EAAE;AACxC,gBAAA,IAAI,CAAC,CAAA,QAAA,EAAW,KAAK,CAAA,CAAE,CAAC,GAAI,KAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC;YACnE;AAEA,YAAA,KAAK,IAAI,GAAG,IAAI,SAAS,EAAE;gBACvB,IAAI,GAAG,IAAK,KAAa,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;AACrC,oBAAA,IAAI,CAAC,CAAA,QAAA,EAAW,KAAK,CAAA,CAAA,EAAI,GAAG,EAAE,CAAC,GAAI,KAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC;gBACvE;YACJ;QACJ;IACJ;IAEA,CAAA,EAAA,GAAA,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAA,SAAA,EAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAE1D,IAAA,OAAO,IAAI;AACf;;;;"}
@@ -1,153 +1,42 @@
1
+ import { breakpoints } from '../css/index.js';
2
+
1
3
  const ThemeCssVars = (theme) => {
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131;
4
+ var _a;
3
5
  const vars = {};
6
+ const bnames = Object.keys(breakpoints);
7
+ for (let name of bnames) {
8
+ if (name in theme.breakpoints) {
9
+ vars[`--bp-${name}`] = theme.breakpoints[name];
10
+ }
11
+ }
12
+ const typoNames = ["h1", "h2", "h3", "h4", "h5", "h6", "big", "text", "button", "small"];
13
+ const typoKeys = ["fontSize", "fontWeight", "lineHeight"];
14
+ for (let tname of typoNames) {
15
+ if (tname in theme.typography) {
16
+ for (let key of typoKeys) {
17
+ const v = theme.typography[tname];
18
+ if (key in v) {
19
+ let px = key === "fontSize" ? "px" : "";
20
+ vars[`--${key.toLowerCase()}-${tname}`] = `${theme.typography[tname][key]}${px}`;
21
+ }
22
+ }
23
+ }
24
+ }
25
+ const colorNames = ["surface", "primary", "accent", "success", "info", "warning", "danger"];
26
+ const colorKeys = ["main", "light", "dark", "contrast", "muted", "disabled", "divider", "ghost"];
27
+ for (let cname of colorNames) {
28
+ if (cname in theme.colors) {
29
+ if ("main" in theme.colors[cname]) {
30
+ vars[`--color-${cname}`] = theme.colors[cname]["main"];
31
+ }
32
+ for (let key of colorKeys) {
33
+ if (key in theme.colors[cname]) {
34
+ vars[`--color-${cname}-${key}`] = theme.colors[cname][key];
35
+ }
36
+ }
37
+ }
38
+ }
4
39
  (_a = theme.shadow) === null || _a === void 0 ? void 0 : _a.forEach((s, i) => vars[`--shadow-${i}`] = s);
5
- if ((_b = theme.breakpoints) === null || _b === void 0 ? void 0 : _b.xs)
6
- vars["--bp-xs"] = theme.breakpoints.xs;
7
- if ((_c = theme.breakpoints) === null || _c === void 0 ? void 0 : _c.sm)
8
- vars["--bp-sm"] = theme.breakpoints.sm;
9
- if ((_d = theme.breakpoints) === null || _d === void 0 ? void 0 : _d.md)
10
- vars["--bp-md"] = theme.breakpoints.md;
11
- if ((_e = theme.breakpoints) === null || _e === void 0 ? void 0 : _e.lg)
12
- vars["--bp-lg"] = theme.breakpoints.lg;
13
- if ((_f = theme.breakpoints) === null || _f === void 0 ? void 0 : _f.xl)
14
- vars["--bp-xl"] = theme.breakpoints.xl;
15
- if ((_h = (_g = theme.typography) === null || _g === void 0 ? void 0 : _g.h1) === null || _h === void 0 ? void 0 : _h.fontSize)
16
- vars["--fontsize-h1"] = `${theme.typography.h1.fontSize}px`;
17
- if ((_k = (_j = theme.typography) === null || _j === void 0 ? void 0 : _j.h2) === null || _k === void 0 ? void 0 : _k.fontSize)
18
- vars["--fontsize-h2"] = `${theme.typography.h2.fontSize}px`;
19
- if ((_m = (_l = theme.typography) === null || _l === void 0 ? void 0 : _l.h3) === null || _m === void 0 ? void 0 : _m.fontSize)
20
- vars["--fontsize-h3"] = `${theme.typography.h3.fontSize}px`;
21
- if ((_p = (_o = theme.typography) === null || _o === void 0 ? void 0 : _o.h4) === null || _p === void 0 ? void 0 : _p.fontSize)
22
- vars["--fontsize-h4"] = `${theme.typography.h4.fontSize}px`;
23
- if ((_r = (_q = theme.typography) === null || _q === void 0 ? void 0 : _q.h5) === null || _r === void 0 ? void 0 : _r.fontSize)
24
- vars["--fontsize-h5"] = `${theme.typography.h5.fontSize}px`;
25
- if ((_t = (_s = theme.typography) === null || _s === void 0 ? void 0 : _s.h6) === null || _t === void 0 ? void 0 : _t.fontSize)
26
- vars["--fontsize-h6"] = `${theme.typography.h6.fontSize}px`;
27
- if ((_v = (_u = theme.typography) === null || _u === void 0 ? void 0 : _u.big) === null || _v === void 0 ? void 0 : _v.fontSize)
28
- vars["--fontsize-big"] = `${theme.typography.big.fontSize}px`;
29
- if ((_x = (_w = theme.typography) === null || _w === void 0 ? void 0 : _w.text) === null || _x === void 0 ? void 0 : _x.fontSize)
30
- vars["--fontsize-text"] = `${theme.typography.text.fontSize}px`;
31
- if ((_z = (_y = theme.typography) === null || _y === void 0 ? void 0 : _y.button) === null || _z === void 0 ? void 0 : _z.fontSize)
32
- vars["--fontsize-button"] = `${theme.typography.button.fontSize}px`;
33
- if ((_1 = (_0 = theme.typography) === null || _0 === void 0 ? void 0 : _0.small) === null || _1 === void 0 ? void 0 : _1.fontSize)
34
- vars["--fontsize-small"] = `${theme.typography.small.fontSize}px`;
35
- if ((_3 = (_2 = theme.typography) === null || _2 === void 0 ? void 0 : _2.h1) === null || _3 === void 0 ? void 0 : _3.fontWeight)
36
- vars["--fontweight-h1"] = theme.typography.h1.fontWeight + "";
37
- if ((_5 = (_4 = theme.typography) === null || _4 === void 0 ? void 0 : _4.h2) === null || _5 === void 0 ? void 0 : _5.fontWeight)
38
- vars["--fontweight-h2"] = theme.typography.h2.fontWeight + "";
39
- if ((_7 = (_6 = theme.typography) === null || _6 === void 0 ? void 0 : _6.h3) === null || _7 === void 0 ? void 0 : _7.fontWeight)
40
- vars["--fontweight-h3"] = theme.typography.h3.fontWeight + "";
41
- if ((_9 = (_8 = theme.typography) === null || _8 === void 0 ? void 0 : _8.h4) === null || _9 === void 0 ? void 0 : _9.fontWeight)
42
- vars["--fontweight-h4"] = theme.typography.h4.fontWeight + "";
43
- if ((_11 = (_10 = theme.typography) === null || _10 === void 0 ? void 0 : _10.h5) === null || _11 === void 0 ? void 0 : _11.fontWeight)
44
- vars["--fontweight-h5"] = theme.typography.h5.fontWeight + "";
45
- if ((_13 = (_12 = theme.typography) === null || _12 === void 0 ? void 0 : _12.h6) === null || _13 === void 0 ? void 0 : _13.fontWeight)
46
- vars["--fontweight-h6"] = theme.typography.h6.fontWeight + "";
47
- if ((_15 = (_14 = theme.typography) === null || _14 === void 0 ? void 0 : _14.big) === null || _15 === void 0 ? void 0 : _15.fontWeight)
48
- vars["--fontweight-big"] = theme.typography.big.fontWeight + "";
49
- if ((_17 = (_16 = theme.typography) === null || _16 === void 0 ? void 0 : _16.text) === null || _17 === void 0 ? void 0 : _17.fontWeight)
50
- vars["--fontweight-text"] = theme.typography.text.fontWeight + "";
51
- if ((_19 = (_18 = theme.typography) === null || _18 === void 0 ? void 0 : _18.button) === null || _19 === void 0 ? void 0 : _19.fontWeight)
52
- vars["--fontweight-button"] = theme.typography.button.fontWeight + "";
53
- if ((_21 = (_20 = theme.typography) === null || _20 === void 0 ? void 0 : _20.small) === null || _21 === void 0 ? void 0 : _21.fontWeight)
54
- vars["--fontweight-small"] = theme.typography.small.fontWeight + "";
55
- if ((_23 = (_22 = theme.typography) === null || _22 === void 0 ? void 0 : _22.h1) === null || _23 === void 0 ? void 0 : _23.lineHeight)
56
- vars["--lineheight-h1"] = theme.typography.h1.lineHeight + "";
57
- if ((_25 = (_24 = theme.typography) === null || _24 === void 0 ? void 0 : _24.h2) === null || _25 === void 0 ? void 0 : _25.lineHeight)
58
- vars["--lineheight-h2"] = theme.typography.h2.lineHeight + "";
59
- if ((_27 = (_26 = theme.typography) === null || _26 === void 0 ? void 0 : _26.h3) === null || _27 === void 0 ? void 0 : _27.lineHeight)
60
- vars["--lineheight-h3"] = theme.typography.h3.lineHeight + "";
61
- if ((_29 = (_28 = theme.typography) === null || _28 === void 0 ? void 0 : _28.h4) === null || _29 === void 0 ? void 0 : _29.lineHeight)
62
- vars["--lineheight-h4"] = theme.typography.h4.lineHeight + "";
63
- if ((_31 = (_30 = theme.typography) === null || _30 === void 0 ? void 0 : _30.h5) === null || _31 === void 0 ? void 0 : _31.lineHeight)
64
- vars["--lineheight-h5"] = theme.typography.h5.lineHeight + "";
65
- if ((_33 = (_32 = theme.typography) === null || _32 === void 0 ? void 0 : _32.h6) === null || _33 === void 0 ? void 0 : _33.lineHeight)
66
- vars["--lineheight-h6"] = theme.typography.h6.lineHeight + "";
67
- if ((_35 = (_34 = theme.typography) === null || _34 === void 0 ? void 0 : _34.big) === null || _35 === void 0 ? void 0 : _35.lineHeight)
68
- vars["--lineheight-big"] = theme.typography.big.lineHeight + "";
69
- if ((_37 = (_36 = theme.typography) === null || _36 === void 0 ? void 0 : _36.text) === null || _37 === void 0 ? void 0 : _37.lineHeight)
70
- vars["--lineheight-text"] = theme.typography.text.lineHeight + "";
71
- if ((_39 = (_38 = theme.typography) === null || _38 === void 0 ? void 0 : _38.button) === null || _39 === void 0 ? void 0 : _39.lineHeight)
72
- vars["--lineheight-button"] = theme.typography.button.lineHeight + "";
73
- if ((_41 = (_40 = theme.typography) === null || _40 === void 0 ? void 0 : _40.small) === null || _41 === void 0 ? void 0 : _41.lineHeight)
74
- vars["--lineheight-small"] = theme.typography.small.lineHeight + "";
75
- if ((_43 = (_42 = theme.colors) === null || _42 === void 0 ? void 0 : _42.background) === null || _43 === void 0 ? void 0 : _43.primary)
76
- vars["--color-background-primary"] = theme.colors.background.primary;
77
- if ((_45 = (_44 = theme.colors) === null || _44 === void 0 ? void 0 : _44.background) === null || _45 === void 0 ? void 0 : _45.secondary)
78
- vars["--color-background-secondary"] = theme.colors.background.secondary;
79
- if ((_47 = (_46 = theme.colors) === null || _46 === void 0 ? void 0 : _46.text) === null || _47 === void 0 ? void 0 : _47.primary)
80
- vars["--color-text-primary"] = theme.colors.text.primary;
81
- if ((_49 = (_48 = theme.colors) === null || _48 === void 0 ? void 0 : _48.text) === null || _49 === void 0 ? void 0 : _49.secondary)
82
- vars["--color-text-secondary"] = theme.colors.text.secondary;
83
- if ((_51 = (_50 = theme.colors) === null || _50 === void 0 ? void 0 : _50.divider) === null || _51 === void 0 ? void 0 : _51.primary)
84
- vars["--color-divider-primary"] = theme.colors.divider.primary;
85
- if ((_53 = (_52 = theme.colors) === null || _52 === void 0 ? void 0 : _52.divider) === null || _53 === void 0 ? void 0 : _53.secondary)
86
- vars["--color-divider-secondary"] = theme.colors.divider.secondary;
87
- if ((_56 = (_55 = (_54 = theme.colors) === null || _54 === void 0 ? void 0 : _54.divider) === null || _55 === void 0 ? void 0 : _55.soft) === null || _56 === void 0 ? void 0 : _56.primary)
88
- vars["--color-divider-soft-primary"] = theme.colors.divider.soft.primary;
89
- if ((_59 = (_58 = (_57 = theme.colors) === null || _57 === void 0 ? void 0 : _57.divider) === null || _58 === void 0 ? void 0 : _58.soft) === null || _59 === void 0 ? void 0 : _59.secondary)
90
- vars["--color-divider-soft-secondary"] = theme.colors.divider.soft.secondary;
91
- if ((_61 = (_60 = theme.colors) === null || _60 === void 0 ? void 0 : _60.brand) === null || _61 === void 0 ? void 0 : _61.primary)
92
- vars["--color-brand-primary"] = theme.colors.brand.primary;
93
- if ((_63 = (_62 = theme.colors) === null || _62 === void 0 ? void 0 : _62.brand) === null || _63 === void 0 ? void 0 : _63.secondary)
94
- vars["--color-brand-secondary"] = theme.colors.brand.secondary;
95
- if ((_65 = (_64 = theme.colors) === null || _64 === void 0 ? void 0 : _64.brand) === null || _65 === void 0 ? void 0 : _65.text)
96
- vars["--color-brand-text"] = theme.colors.brand.text;
97
- if ((_68 = (_67 = (_66 = theme.colors) === null || _66 === void 0 ? void 0 : _66.brand) === null || _67 === void 0 ? void 0 : _67.soft) === null || _68 === void 0 ? void 0 : _68.primary)
98
- vars["--color-brand-soft-primary"] = theme.colors.brand.soft.primary;
99
- if ((_71 = (_70 = (_69 = theme.colors) === null || _69 === void 0 ? void 0 : _69.brand) === null || _70 === void 0 ? void 0 : _70.soft) === null || _71 === void 0 ? void 0 : _71.secondary)
100
- vars["--color-brand-soft-secondary"] = theme.colors.brand.soft.secondary;
101
- if ((_73 = (_72 = theme.colors) === null || _72 === void 0 ? void 0 : _72.accent) === null || _73 === void 0 ? void 0 : _73.primary)
102
- vars["--color-accent-primary"] = theme.colors.accent.primary;
103
- if ((_75 = (_74 = theme.colors) === null || _74 === void 0 ? void 0 : _74.accent) === null || _75 === void 0 ? void 0 : _75.secondary)
104
- vars["--color-accent-secondary"] = theme.colors.accent.secondary;
105
- if ((_77 = (_76 = theme.colors) === null || _76 === void 0 ? void 0 : _76.accent) === null || _77 === void 0 ? void 0 : _77.text)
106
- vars["--color-accent-text"] = theme.colors.accent.text;
107
- if ((_80 = (_79 = (_78 = theme.colors) === null || _78 === void 0 ? void 0 : _78.accent) === null || _79 === void 0 ? void 0 : _79.soft) === null || _80 === void 0 ? void 0 : _80.primary)
108
- vars["--color-accent-soft-primary"] = theme.colors.accent.soft.primary;
109
- if ((_83 = (_82 = (_81 = theme.colors) === null || _81 === void 0 ? void 0 : _81.accent) === null || _82 === void 0 ? void 0 : _82.soft) === null || _83 === void 0 ? void 0 : _83.secondary)
110
- vars["--color-accent-soft-secondary"] = theme.colors.accent.soft.secondary;
111
- if ((_85 = (_84 = theme.colors) === null || _84 === void 0 ? void 0 : _84.info) === null || _85 === void 0 ? void 0 : _85.primary)
112
- vars["--color-info-primary"] = theme.colors.info.primary;
113
- if ((_87 = (_86 = theme.colors) === null || _86 === void 0 ? void 0 : _86.info) === null || _87 === void 0 ? void 0 : _87.secondary)
114
- vars["--color-info-secondary"] = theme.colors.info.secondary;
115
- if ((_89 = (_88 = theme.colors) === null || _88 === void 0 ? void 0 : _88.info) === null || _89 === void 0 ? void 0 : _89.text)
116
- vars["--color-info-text"] = theme.colors.info.text;
117
- if ((_92 = (_91 = (_90 = theme.colors) === null || _90 === void 0 ? void 0 : _90.info) === null || _91 === void 0 ? void 0 : _91.soft) === null || _92 === void 0 ? void 0 : _92.primary)
118
- vars["--color-info-soft-primary"] = theme.colors.info.soft.primary;
119
- if ((_95 = (_94 = (_93 = theme.colors) === null || _93 === void 0 ? void 0 : _93.info) === null || _94 === void 0 ? void 0 : _94.soft) === null || _95 === void 0 ? void 0 : _95.secondary)
120
- vars["--color-info-soft-secondary"] = theme.colors.info.soft.secondary;
121
- if ((_97 = (_96 = theme.colors) === null || _96 === void 0 ? void 0 : _96.success) === null || _97 === void 0 ? void 0 : _97.primary)
122
- vars["--color-success-primary"] = theme.colors.success.primary;
123
- if ((_99 = (_98 = theme.colors) === null || _98 === void 0 ? void 0 : _98.success) === null || _99 === void 0 ? void 0 : _99.secondary)
124
- vars["--color-success-secondary"] = theme.colors.success.secondary;
125
- if ((_101 = (_100 = theme.colors) === null || _100 === void 0 ? void 0 : _100.success) === null || _101 === void 0 ? void 0 : _101.text)
126
- vars["--color-success-text"] = theme.colors.success.text;
127
- if ((_104 = (_103 = (_102 = theme.colors) === null || _102 === void 0 ? void 0 : _102.success) === null || _103 === void 0 ? void 0 : _103.soft) === null || _104 === void 0 ? void 0 : _104.primary)
128
- vars["--color-success-soft-primary"] = theme.colors.success.soft.primary;
129
- if ((_107 = (_106 = (_105 = theme.colors) === null || _105 === void 0 ? void 0 : _105.success) === null || _106 === void 0 ? void 0 : _106.soft) === null || _107 === void 0 ? void 0 : _107.secondary)
130
- vars["--color-success-soft-secondary"] = theme.colors.success.soft.secondary;
131
- if ((_109 = (_108 = theme.colors) === null || _108 === void 0 ? void 0 : _108.warning) === null || _109 === void 0 ? void 0 : _109.primary)
132
- vars["--color-warning-primary"] = theme.colors.warning.primary;
133
- if ((_111 = (_110 = theme.colors) === null || _110 === void 0 ? void 0 : _110.warning) === null || _111 === void 0 ? void 0 : _111.secondary)
134
- vars["--color-warning-secondary"] = theme.colors.warning.secondary;
135
- if ((_113 = (_112 = theme.colors) === null || _112 === void 0 ? void 0 : _112.warning) === null || _113 === void 0 ? void 0 : _113.text)
136
- vars["--color-warning-text"] = theme.colors.warning.text;
137
- if ((_116 = (_115 = (_114 = theme.colors) === null || _114 === void 0 ? void 0 : _114.warning) === null || _115 === void 0 ? void 0 : _115.soft) === null || _116 === void 0 ? void 0 : _116.primary)
138
- vars["--color-warning-soft-primary"] = theme.colors.warning.soft.primary;
139
- if ((_119 = (_118 = (_117 = theme.colors) === null || _117 === void 0 ? void 0 : _117.warning) === null || _118 === void 0 ? void 0 : _118.soft) === null || _119 === void 0 ? void 0 : _119.secondary)
140
- vars["--color-warning-soft-secondary"] = theme.colors.warning.soft.secondary;
141
- if ((_121 = (_120 = theme.colors) === null || _120 === void 0 ? void 0 : _120.danger) === null || _121 === void 0 ? void 0 : _121.primary)
142
- vars["--color-danger-primary"] = theme.colors.danger.primary;
143
- if ((_123 = (_122 = theme.colors) === null || _122 === void 0 ? void 0 : _122.danger) === null || _123 === void 0 ? void 0 : _123.secondary)
144
- vars["--color-danger-secondary"] = theme.colors.danger.secondary;
145
- if ((_125 = (_124 = theme.colors) === null || _124 === void 0 ? void 0 : _124.danger) === null || _125 === void 0 ? void 0 : _125.text)
146
- vars["--color-danger-text"] = theme.colors.danger.text;
147
- if ((_128 = (_127 = (_126 = theme.colors) === null || _126 === void 0 ? void 0 : _126.danger) === null || _127 === void 0 ? void 0 : _127.soft) === null || _128 === void 0 ? void 0 : _128.primary)
148
- vars["--color-danger-soft-primary"] = theme.colors.danger.soft.primary;
149
- if ((_131 = (_130 = (_129 = theme.colors) === null || _129 === void 0 ? void 0 : _129.danger) === null || _130 === void 0 ? void 0 : _130.soft) === null || _131 === void 0 ? void 0 : _131.secondary)
150
- vars["--color-danger-soft-secondary"] = theme.colors.danger.soft.secondary;
151
40
  return vars;
152
41
  };
153
42
 
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeCssVars.js","sources":["../../src/theme/ThemeCssVars.ts"],"sourcesContent":["import { ThemeOptions } from \"./types\";\n\nconst ThemeCssVars = (theme: ThemeOptions) => {\n const vars: any = {}\n theme.shadow?.forEach((s, i) => vars[`--shadow-${i}`] = s)\n\n if (theme.breakpoints?.xs) vars[\"--bp-xs\"] = theme.breakpoints.xs\n if (theme.breakpoints?.sm) vars[\"--bp-sm\"] = theme.breakpoints.sm\n if (theme.breakpoints?.md) vars[\"--bp-md\"] = theme.breakpoints.md\n if (theme.breakpoints?.lg) vars[\"--bp-lg\"] = theme.breakpoints.lg\n if (theme.breakpoints?.xl) vars[\"--bp-xl\"] = theme.breakpoints.xl\n\n if (theme.typography?.h1?.fontSize) vars[\"--fontsize-h1\"] = `${theme.typography.h1.fontSize}px`\n if (theme.typography?.h2?.fontSize) vars[\"--fontsize-h2\"] = `${theme.typography.h2.fontSize}px`\n if (theme.typography?.h3?.fontSize) vars[\"--fontsize-h3\"] = `${theme.typography.h3.fontSize}px`\n if (theme.typography?.h4?.fontSize) vars[\"--fontsize-h4\"] = `${theme.typography.h4.fontSize}px`\n if (theme.typography?.h5?.fontSize) vars[\"--fontsize-h5\"] = `${theme.typography.h5.fontSize}px`\n if (theme.typography?.h6?.fontSize) vars[\"--fontsize-h6\"] = `${theme.typography.h6.fontSize}px`\n if (theme.typography?.big?.fontSize) vars[\"--fontsize-big\"] = `${theme.typography.big.fontSize}px`\n if (theme.typography?.text?.fontSize) vars[\"--fontsize-text\"] = `${theme.typography.text.fontSize}px`\n if (theme.typography?.button?.fontSize) vars[\"--fontsize-button\"] = `${theme.typography.button.fontSize}px`\n if (theme.typography?.small?.fontSize) vars[\"--fontsize-small\"] = `${theme.typography.small.fontSize}px`\n\n if (theme.typography?.h1?.fontWeight) vars[\"--fontweight-h1\"] = theme.typography.h1.fontWeight + \"\"\n if (theme.typography?.h2?.fontWeight) vars[\"--fontweight-h2\"] = theme.typography.h2.fontWeight + \"\"\n if (theme.typography?.h3?.fontWeight) vars[\"--fontweight-h3\"] = theme.typography.h3.fontWeight + \"\"\n if (theme.typography?.h4?.fontWeight) vars[\"--fontweight-h4\"] = theme.typography.h4.fontWeight + \"\"\n if (theme.typography?.h5?.fontWeight) vars[\"--fontweight-h5\"] = theme.typography.h5.fontWeight + \"\"\n if (theme.typography?.h6?.fontWeight) vars[\"--fontweight-h6\"] = theme.typography.h6.fontWeight + \"\"\n if (theme.typography?.big?.fontWeight) vars[\"--fontweight-big\"] = theme.typography.big.fontWeight + \"\"\n if (theme.typography?.text?.fontWeight) vars[\"--fontweight-text\"] = theme.typography.text.fontWeight + \"\"\n if (theme.typography?.button?.fontWeight) vars[\"--fontweight-button\"] = theme.typography.button.fontWeight + \"\"\n if (theme.typography?.small?.fontWeight) vars[\"--fontweight-small\"] = theme.typography.small.fontWeight + \"\"\n\n\n if (theme.typography?.h1?.lineHeight) vars[\"--lineheight-h1\"] = theme.typography.h1.lineHeight + \"\"\n if (theme.typography?.h2?.lineHeight) vars[\"--lineheight-h2\"] = theme.typography.h2.lineHeight + \"\"\n if (theme.typography?.h3?.lineHeight) vars[\"--lineheight-h3\"] = theme.typography.h3.lineHeight + \"\"\n if (theme.typography?.h4?.lineHeight) vars[\"--lineheight-h4\"] = theme.typography.h4.lineHeight + \"\"\n if (theme.typography?.h5?.lineHeight) vars[\"--lineheight-h5\"] = theme.typography.h5.lineHeight + \"\"\n if (theme.typography?.h6?.lineHeight) vars[\"--lineheight-h6\"] = theme.typography.h6.lineHeight + \"\"\n if (theme.typography?.big?.lineHeight) vars[\"--lineheight-big\"] = theme.typography.big.lineHeight + \"\"\n if (theme.typography?.text?.lineHeight) vars[\"--lineheight-text\"] = theme.typography.text.lineHeight + \"\"\n if (theme.typography?.button?.lineHeight) vars[\"--lineheight-button\"] = theme.typography.button.lineHeight + \"\"\n if (theme.typography?.small?.lineHeight) vars[\"--lineheight-small\"] = theme.typography.small.lineHeight + \"\"\n\n if (theme.colors?.background?.primary) vars[\"--color-background-primary\"] = theme.colors.background.primary\n if (theme.colors?.background?.secondary) vars[\"--color-background-secondary\"] = theme.colors.background.secondary\n\n if (theme.colors?.text?.primary) vars[\"--color-text-primary\"] = theme.colors.text.primary\n if (theme.colors?.text?.secondary) vars[\"--color-text-secondary\"] = theme.colors.text.secondary\n\n if (theme.colors?.divider?.primary) vars[\"--color-divider-primary\"] = theme.colors.divider.primary\n if (theme.colors?.divider?.secondary) vars[\"--color-divider-secondary\"] = theme.colors.divider.secondary\n\n if (theme.colors?.divider?.soft?.primary) vars[\"--color-divider-soft-primary\"] = theme.colors.divider.soft.primary\n if (theme.colors?.divider?.soft?.secondary) vars[\"--color-divider-soft-secondary\"] = theme.colors.divider.soft.secondary\n\n if (theme.colors?.brand?.primary) vars[\"--color-brand-primary\"] = theme.colors.brand.primary\n if (theme.colors?.brand?.secondary) vars[\"--color-brand-secondary\"] = theme.colors.brand.secondary\n if (theme.colors?.brand?.text) vars[\"--color-brand-text\"] = theme.colors.brand.text\n if (theme.colors?.brand?.soft?.primary) vars[\"--color-brand-soft-primary\"] = theme.colors.brand.soft.primary\n if (theme.colors?.brand?.soft?.secondary) vars[\"--color-brand-soft-secondary\"] = theme.colors.brand.soft.secondary\n\n if (theme.colors?.accent?.primary) vars[\"--color-accent-primary\"] = theme.colors.accent.primary\n if (theme.colors?.accent?.secondary) vars[\"--color-accent-secondary\"] = theme.colors.accent.secondary\n if (theme.colors?.accent?.text) vars[\"--color-accent-text\"] = theme.colors.accent.text\n if (theme.colors?.accent?.soft?.primary) vars[\"--color-accent-soft-primary\"] = theme.colors.accent.soft.primary\n if (theme.colors?.accent?.soft?.secondary) vars[\"--color-accent-soft-secondary\"] = theme.colors.accent.soft.secondary\n\n if (theme.colors?.info?.primary) vars[\"--color-info-primary\"] = theme.colors.info.primary\n if (theme.colors?.info?.secondary) vars[\"--color-info-secondary\"] = theme.colors.info.secondary\n if (theme.colors?.info?.text) vars[\"--color-info-text\"] = theme.colors.info.text\n if (theme.colors?.info?.soft?.primary) vars[\"--color-info-soft-primary\"] = theme.colors.info.soft.primary\n if (theme.colors?.info?.soft?.secondary) vars[\"--color-info-soft-secondary\"] = theme.colors.info.soft.secondary\n\n if (theme.colors?.success?.primary) vars[\"--color-success-primary\"] = theme.colors.success.primary\n if (theme.colors?.success?.secondary) vars[\"--color-success-secondary\"] = theme.colors.success.secondary\n if (theme.colors?.success?.text) vars[\"--color-success-text\"] = theme.colors.success.text\n if (theme.colors?.success?.soft?.primary) vars[\"--color-success-soft-primary\"] = theme.colors.success.soft.primary\n if (theme.colors?.success?.soft?.secondary) vars[\"--color-success-soft-secondary\"] = theme.colors.success.soft.secondary\n\n if (theme.colors?.warning?.primary) vars[\"--color-warning-primary\"] = theme.colors.warning.primary\n if (theme.colors?.warning?.secondary) vars[\"--color-warning-secondary\"] = theme.colors.warning.secondary\n if (theme.colors?.warning?.text) vars[\"--color-warning-text\"] = theme.colors.warning.text\n if (theme.colors?.warning?.soft?.primary) vars[\"--color-warning-soft-primary\"] = theme.colors.warning.soft.primary\n if (theme.colors?.warning?.soft?.secondary) vars[\"--color-warning-soft-secondary\"] = theme.colors.warning.soft.secondary\n\n if (theme.colors?.danger?.primary) vars[\"--color-danger-primary\"] = theme.colors.danger.primary\n if (theme.colors?.danger?.secondary) vars[\"--color-danger-secondary\"] = theme.colors.danger.secondary\n if (theme.colors?.danger?.text) vars[\"--color-danger-text\"] = theme.colors.danger.text\n if (theme.colors?.danger?.soft?.primary) vars[\"--color-danger-soft-primary\"] = theme.colors.danger.soft.primary\n if (theme.colors?.danger?.soft?.secondary) vars[\"--color-danger-soft-secondary\"] = theme.colors.danger.soft.secondary\n return vars\n}\n\nexport default ThemeCssVars"],"names":[],"mappings":"AAEA,MAAM,YAAY,GAAG,CAAC,KAAmB,KAAI;;IACzC,MAAM,IAAI,GAAQ,EAAE;IACpB,CAAA,EAAA,GAAA,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,EAAA,KAAA,MAAA,GAAA,MAAA,GAAA,EAAA,CAAE,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,IAAI,CAAC,CAAA,SAAA,EAAY,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAE1D,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,CAAA,EAAA,GAAA,KAAK,CAAC,WAAW,0CAAE,EAAE;QAAE,IAAI,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,EAAE;AACjE,IAAA,IAAI,C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A,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,MAAM,8CAAE,IAAI;QAAE,IAAI,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI;IACtF,IAAI,CAAA,IAAA,GAAA,CAAA,IAAA,GAAA,CAAA,IAAA,GAAA,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,MAAM,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,IAAI,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,OAAO;AAAE,QAAA,IAAI,CAAC,6BAA6B,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO;IAC/G,IAAI,CAAA,IAAA,GAAA,CAAA,IAAA,GAAA,CAAA,IAAA,GAAA,KAAK,CAAC,MAAM,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,MAAM,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,IAAI,MAAA,IAAA,IAAA,IAAA,KAAA,MAAA,GAAA,MAAA,GAAA,IAAA,CAAE,SAAS;AAAE,QAAA,IAAI,CAAC,+BAA+B,CAAC,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS;AACrH,IAAA,OAAO,IAAI;AACf;;;;"}
1
+ {"version":3,"file":"ThemeCssVars.js","sources":["../../src/theme/ThemeCssVars.ts"],"sourcesContent":["import { breakpoints } from \"../css\";\nimport { ThemeOptions } from \"./types\";\n\nconst ThemeCssVars = (theme: ThemeOptions) => {\n const vars: any = {}\n\n const bnames = Object.keys(breakpoints)\n for (let name of bnames) {\n if (name in theme.breakpoints) {\n vars[`--bp-${name}`] = (theme as any).breakpoints[name]\n }\n }\n\n const typoNames = [\"h1\", \"h2\", \"h3\", \"h4\", \"h5\", \"h6\", \"big\", \"text\", \"button\", \"small\"]\n const typoKeys = [\"fontSize\", \"fontWeight\", \"lineHeight\"]\n for (let tname of typoNames) {\n if (tname in theme.typography) {\n for (let key of typoKeys) {\n const v = (theme as any).typography[tname]\n if (key in v) {\n let px = key === \"fontSize\" ? \"px\" : \"\"\n vars[`--${key.toLowerCase()}-${tname}`] = `${(theme as any).typography[tname][key]}${px}`\n }\n }\n }\n }\n\n const colorNames = [\"surface\", \"primary\", \"accent\", \"success\", \"info\", \"warning\", \"danger\"]\n const colorKeys = [\"main\", \"light\", \"dark\", \"contrast\", \"muted\", \"disabled\", \"divider\", \"ghost\"]\n for (let cname of colorNames) {\n if (cname in theme.colors) {\n if (\"main\" in (theme as any).colors[cname]) {\n vars[`--color-${cname}`] = (theme as any).colors[cname][\"main\"]\n }\n\n for (let key of colorKeys) {\n if (key in (theme as any).colors[cname]) {\n vars[`--color-${cname}-${key}`] = (theme as any).colors[cname][key]\n }\n }\n }\n }\n\n theme.shadow?.forEach((s, i) => vars[`--shadow-${i}`] = s)\n\n return vars\n}\n\nexport default ThemeCssVars"],"names":[],"mappings":";;AAGA,MAAM,YAAY,GAAG,CAAC,KAAmB,KAAI;;IACzC,MAAM,IAAI,GAAQ,EAAE;IAEpB,MAAM,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC;AACvC,IAAA,KAAK,IAAI,IAAI,IAAI,MAAM,EAAE;AACrB,QAAA,IAAI,IAAI,IAAI,KAAK,CAAC,WAAW,EAAE;AAC3B,YAAA,IAAI,CAAC,CAAA,KAAA,EAAQ,IAAI,CAAA,CAAE,CAAC,GAAI,KAAa,CAAC,WAAW,CAAC,IAAI,CAAC;QAC3D;IACJ;IAEA,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,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