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.
- package/dist/DialogueAvatar.module-uqGI3dA2.js +26 -0
- package/dist/DialogueAvatar.module-uqGI3dA2.js.map +1 -0
- package/dist/assets/Accordion.css +1 -1
- package/dist/assets/Badge.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Card.css +1 -1
- package/dist/assets/Columns.css +1 -1
- package/dist/assets/DialogueAvatar.css +1 -0
- package/dist/assets/Footer.css +1 -0
- package/dist/assets/Gingham.css +1 -1
- package/dist/assets/Header.css +1 -1
- package/dist/assets/Heading.css +1 -1
- package/dist/assets/Label.css +1 -1
- package/dist/assets/Link.css +1 -1
- package/dist/assets/Loader.css +1 -1
- package/dist/assets/Message.css +1 -1
- package/dist/assets/Minolith.css +1 -1
- package/dist/assets/MinolithCssVariableStylesProvider.css +1 -1
- package/dist/assets/Modal.css +1 -1
- package/dist/assets/Nav.css +1 -1
- package/dist/assets/Progress.css +1 -1
- package/dist/assets/Stripe.css +1 -1
- package/dist/assets/Tabula.css +1 -1
- package/dist/assets/Textarea.css +1 -1
- package/dist/backgrounds/Gingham/Gingham.d.ts.map +1 -1
- package/dist/backgrounds/Gingham/Gingham.js +24 -165
- package/dist/backgrounds/Gingham/Gingham.js.map +1 -1
- package/dist/backgrounds/Gingham/Gingham.stories.d.ts +12 -0
- package/dist/backgrounds/Gingham/Gingham.stories.d.ts.map +1 -0
- package/dist/backgrounds/Gingham/GinghamProps.d.ts +5 -8
- package/dist/backgrounds/Gingham/GinghamProps.d.ts.map +1 -1
- package/dist/backgrounds/Gingham/index.d.ts +1 -1
- package/dist/backgrounds/Gingham/index.d.ts.map +1 -1
- package/dist/backgrounds/Gingham/index.js +2 -2
- package/dist/backgrounds/Stripe/Stripe.d.ts.map +1 -1
- package/dist/backgrounds/Stripe/Stripe.js +27 -168
- package/dist/backgrounds/Stripe/Stripe.js.map +1 -1
- package/dist/backgrounds/Stripe/Stripe.stories.d.ts +13 -0
- package/dist/backgrounds/Stripe/Stripe.stories.d.ts.map +1 -0
- package/dist/backgrounds/Stripe/StripeProps.d.ts +5 -8
- package/dist/backgrounds/Stripe/StripeProps.d.ts.map +1 -1
- package/dist/backgrounds/Stripe/index.d.ts +1 -1
- package/dist/backgrounds/Stripe/index.d.ts.map +1 -1
- package/dist/backgrounds/Stripe/index.js +2 -2
- package/dist/base/MinolithStatic/MinolithStatic.stories.d.ts.map +1 -1
- package/dist/base/Tabula/Tabula.js +6 -6
- package/dist/common/models/BaseComponentProps.d.ts +30 -10
- package/dist/common/models/BaseComponentProps.d.ts.map +1 -1
- package/dist/common/models/TypographyCssVariable.d.ts +8 -0
- package/dist/common/models/TypographyCssVariable.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.d.ts.map +1 -1
- package/dist/components/Accordion/Accordion.js +27 -27
- package/dist/components/Accordion/Accordion.js.map +1 -1
- package/dist/components/Accordion/AccordionDetails.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionDetails.js +28 -28
- package/dist/components/Accordion/AccordionDetails.js.map +1 -1
- package/dist/components/Accordion/AccordionSummary.d.ts.map +1 -1
- package/dist/components/Accordion/AccordionSummary.js +27 -27
- package/dist/components/Accordion/AccordionSummary.js.map +1 -1
- package/dist/components/Badge/Badge.d.ts.map +1 -1
- package/dist/components/Badge/Badge.js +24 -24
- package/dist/components/Badge/Badge.js.map +1 -1
- package/dist/components/Button/Button.d.ts.map +1 -1
- package/dist/components/Button/Button.js +28 -28
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Card/Card.d.ts.map +1 -1
- package/dist/components/Card/Card.js +22 -22
- package/dist/components/Card/Card.js.map +1 -1
- package/dist/components/Card/CardBody.d.ts.map +1 -1
- package/dist/components/Card/CardBody.js +19 -19
- package/dist/components/Card/CardBody.js.map +1 -1
- package/dist/components/Card/CardFooter.d.ts.map +1 -1
- package/dist/components/Card/CardFooter.js +21 -21
- package/dist/components/Card/CardFooter.js.map +1 -1
- package/dist/components/Card/CardHeader.d.ts.map +1 -1
- package/dist/components/Card/CardHeader.js +21 -21
- package/dist/components/Card/CardHeader.js.map +1 -1
- package/dist/components/Dialogue/Dialogue.d.ts +3 -0
- package/dist/components/Dialogue/Dialogue.d.ts.map +1 -0
- package/dist/components/Dialogue/Dialogue.js +34 -0
- package/dist/components/Dialogue/Dialogue.js.map +1 -0
- package/dist/components/Dialogue/Dialogue.stories.d.ts +14 -0
- package/dist/components/Dialogue/Dialogue.stories.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueAvatar.d.ts +3 -0
- package/dist/components/Dialogue/DialogueAvatar.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueAvatar.js +13 -0
- package/dist/components/Dialogue/DialogueAvatar.js.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarContainer.d.ts +3 -0
- package/dist/components/Dialogue/DialogueAvatarContainer.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarContainer.js +13 -0
- package/dist/components/Dialogue/DialogueAvatarContainer.js.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarContainerProps.d.ts +7 -0
- package/dist/components/Dialogue/DialogueAvatarContainerProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarContainerProps.js +2 -0
- package/dist/components/Dialogue/DialogueAvatarContainerProps.js.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarProps.d.ts +7 -0
- package/dist/components/Dialogue/DialogueAvatarProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueAvatarProps.js +2 -0
- package/dist/components/Dialogue/DialogueAvatarProps.js.map +1 -0
- package/dist/components/Dialogue/DialogueContentContainer.d.ts +3 -0
- package/dist/components/Dialogue/DialogueContentContainer.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueContentContainer.js +34 -0
- package/dist/components/Dialogue/DialogueContentContainer.js.map +1 -0
- package/dist/components/Dialogue/DialogueContentContainerProps.d.ts +7 -0
- package/dist/components/Dialogue/DialogueContentContainerProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueContentContainerProps.js +2 -0
- package/dist/components/Dialogue/DialogueContentContainerProps.js.map +1 -0
- package/dist/components/Dialogue/DialogueMessage.d.ts +3 -0
- package/dist/components/Dialogue/DialogueMessage.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueMessage.js +34 -0
- package/dist/components/Dialogue/DialogueMessage.js.map +1 -0
- package/dist/components/Dialogue/DialogueMessageProps.d.ts +7 -0
- package/dist/components/Dialogue/DialogueMessageProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueMessageProps.js +2 -0
- package/dist/components/Dialogue/DialogueMessageProps.js.map +1 -0
- package/dist/components/Dialogue/DialogueName.d.ts +3 -0
- package/dist/components/Dialogue/DialogueName.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueName.js +34 -0
- package/dist/components/Dialogue/DialogueName.js.map +1 -0
- package/dist/components/Dialogue/DialogueNameProps.d.ts +7 -0
- package/dist/components/Dialogue/DialogueNameProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueNameProps.js +2 -0
- package/dist/components/Dialogue/DialogueNameProps.js.map +1 -0
- package/dist/components/Dialogue/DialogueProps.d.ts +10 -0
- package/dist/components/Dialogue/DialogueProps.d.ts.map +1 -0
- package/dist/components/Dialogue/DialogueProps.js +2 -0
- package/dist/components/Dialogue/DialogueProps.js.map +1 -0
- package/dist/components/Dialogue/index.d.ts +13 -0
- package/dist/components/Dialogue/index.d.ts.map +1 -0
- package/dist/components/Dialogue/index.js +15 -0
- package/dist/components/Dialogue/index.js.map +1 -0
- package/dist/components/Div/Div.d.ts.map +1 -1
- package/dist/components/Div/Div.js +6 -6
- package/dist/components/Div/Div.js.map +1 -1
- package/dist/components/Footer/Footer.d.ts +3 -0
- package/dist/components/Footer/Footer.d.ts.map +1 -0
- package/dist/components/Footer/Footer.js +24 -0
- package/dist/components/Footer/Footer.js.map +1 -0
- package/dist/components/Footer/Footer.stories.d.ts +12 -0
- package/dist/components/Footer/Footer.stories.d.ts.map +1 -0
- package/dist/components/Footer/FooterProps.d.ts +7 -0
- package/dist/components/Footer/FooterProps.d.ts.map +1 -0
- package/dist/components/Footer/FooterProps.js +2 -0
- package/dist/components/Footer/FooterProps.js.map +1 -0
- package/dist/components/Footer/index.d.ts +3 -0
- package/dist/components/Footer/index.d.ts.map +1 -0
- package/dist/components/Footer/index.js +5 -0
- package/dist/components/Footer/index.js.map +1 -0
- package/dist/components/Hamburger/Hamburger.d.ts.map +1 -1
- package/dist/components/Hamburger/Hamburger.js +7 -7
- package/dist/components/Hamburger/Hamburger.js.map +1 -1
- package/dist/components/Hamburger/HamburgerProps.d.ts +2 -0
- package/dist/components/Hamburger/HamburgerProps.d.ts.map +1 -1
- package/dist/components/Header/Header.d.ts.map +1 -1
- package/dist/components/Header/Header.js +19 -10
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/Heading/Heading.js +14 -14
- package/dist/components/Heading/Heading.js.map +1 -1
- package/dist/components/Input/Input.d.ts.map +1 -1
- package/dist/components/Input/Input.js +26 -26
- package/dist/components/Input/Input.js.map +1 -1
- package/dist/components/Label/Label.d.ts.map +1 -1
- package/dist/components/Label/Label.js +17 -6
- package/dist/components/Label/Label.js.map +1 -1
- package/dist/components/Label/LabelProps.d.ts +2 -0
- package/dist/components/Label/LabelProps.d.ts.map +1 -1
- package/dist/components/Link/Link.d.ts.map +1 -1
- package/dist/components/Link/Link.js +16 -16
- package/dist/components/Link/Link.js.map +1 -1
- package/dist/components/Link/LinkProps.d.ts +2 -0
- package/dist/components/Link/LinkProps.d.ts.map +1 -1
- package/dist/components/Loader/Loader.d.ts.map +1 -1
- package/dist/components/Loader/Loader.js +44 -44
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/Main/Main.d.ts +3 -0
- package/dist/components/Main/Main.d.ts.map +1 -0
- package/dist/components/Main/Main.js +12 -0
- package/dist/components/Main/Main.js.map +1 -0
- package/dist/components/Main/MainProps.d.ts +5 -0
- package/dist/components/Main/MainProps.d.ts.map +1 -0
- package/dist/components/Main/MainProps.js +2 -0
- package/dist/components/Main/MainProps.js.map +1 -0
- package/dist/components/Main/index.d.ts +3 -0
- package/dist/components/Main/index.d.ts.map +1 -0
- package/dist/components/Main/index.js +5 -0
- package/dist/components/Main/index.js.map +1 -0
- package/dist/components/Message/Message.d.ts.map +1 -1
- package/dist/components/Message/Message.js +20 -20
- package/dist/components/Message/Message.js.map +1 -1
- package/dist/components/Message/MessageBody.d.ts.map +1 -1
- package/dist/components/Message/MessageBody.js +19 -19
- package/dist/components/Message/MessageBody.js.map +1 -1
- package/dist/components/Message/MessageHeader.d.ts.map +1 -1
- package/dist/components/Message/MessageHeader.js +19 -19
- package/dist/components/Message/MessageHeader.js.map +1 -1
- package/dist/components/Modal/Modal.d.ts.map +1 -1
- package/dist/components/Modal/Modal.js +20 -20
- package/dist/components/Modal/Modal.js.map +1 -1
- package/dist/components/Modal/ModalContent.d.ts.map +1 -1
- package/dist/components/Modal/ModalContent.js +20 -20
- package/dist/components/Modal/ModalContent.js.map +1 -1
- package/dist/components/Nav/Nav.d.ts.map +1 -1
- package/dist/components/Nav/Nav.js +41 -41
- package/dist/components/Nav/Nav.js.map +1 -1
- package/dist/components/Nav/NavAccordion.d.ts.map +1 -1
- package/dist/components/Nav/NavAccordion.js +42 -42
- package/dist/components/Nav/NavAccordion.js.map +1 -1
- package/dist/components/Nav/NavAccordionProps.d.ts +6 -8
- package/dist/components/Nav/NavAccordionProps.d.ts.map +1 -1
- package/dist/components/Nav/NavBrand.d.ts.map +1 -1
- package/dist/components/Nav/NavBrand.js +41 -41
- package/dist/components/Nav/NavBrand.js.map +1 -1
- package/dist/components/Nav/NavBrandCenter.d.ts.map +1 -1
- package/dist/components/Nav/NavBrandCenter.js +41 -41
- package/dist/components/Nav/NavBrandCenter.js.map +1 -1
- package/dist/components/Nav/NavBrandLeft.d.ts.map +1 -1
- package/dist/components/Nav/NavBrandLeft.js +41 -41
- package/dist/components/Nav/NavBrandLeft.js.map +1 -1
- package/dist/components/Nav/NavBrandRight.d.ts.map +1 -1
- package/dist/components/Nav/NavBrandRight.js +41 -41
- package/dist/components/Nav/NavBrandRight.js.map +1 -1
- package/dist/components/Nav/NavMenu.d.ts.map +1 -1
- package/dist/components/Nav/NavMenu.js +43 -43
- package/dist/components/Nav/NavMenu.js.map +1 -1
- package/dist/components/Nav/NavMenuItem.d.ts.map +1 -1
- package/dist/components/Nav/NavMenuItem.js +42 -42
- package/dist/components/Nav/NavMenuItem.js.map +1 -1
- package/dist/components/Nav/NavStatic.d.ts.map +1 -1
- package/dist/components/Nav/NavStatic.js +42 -42
- package/dist/components/Nav/NavStatic.js.map +1 -1
- package/dist/components/Nav/NavStaticProps.d.ts +6 -8
- package/dist/components/Nav/NavStaticProps.d.ts.map +1 -1
- package/dist/components/Progress/Progress.d.ts.map +1 -1
- package/dist/components/Progress/Progress.js +137 -137
- package/dist/components/Progress/Progress.js.map +1 -1
- package/dist/components/Progress/Progress.stories.d.ts +2 -1
- package/dist/components/Progress/Progress.stories.d.ts.map +1 -1
- package/dist/components/Ruby/Ruby.d.ts.map +1 -1
- package/dist/components/Ruby/Ruby.js +12 -12
- package/dist/components/Ruby/Ruby.js.map +1 -1
- package/dist/components/Section/Section.d.ts.map +1 -1
- package/dist/components/Section/Section.js +6 -6
- package/dist/components/Section/Section.js.map +1 -1
- package/dist/components/Span/Span.d.ts.map +1 -1
- package/dist/components/Span/Span.js +7 -7
- package/dist/components/Span/Span.js.map +1 -1
- package/dist/components/Textarea/Textarea.d.ts.map +1 -1
- package/dist/components/Textarea/Textarea.js +26 -26
- package/dist/components/Textarea/Textarea.js.map +1 -1
- package/dist/layouts/Centering/Centering.d.ts.map +1 -1
- package/dist/layouts/Centering/Centering.js +6 -6
- package/dist/layouts/Centering/Centering.js.map +1 -1
- package/dist/layouts/Columns/Column.d.ts.map +1 -1
- package/dist/layouts/Columns/Column.js +218 -254
- package/dist/layouts/Columns/Column.js.map +1 -1
- package/dist/layouts/Columns/ColumnProps.d.ts +6 -8
- package/dist/layouts/Columns/ColumnProps.d.ts.map +1 -1
- package/dist/layouts/Columns/Columns.d.ts.map +1 -1
- package/dist/layouts/Columns/Columns.js +240 -272
- package/dist/layouts/Columns/Columns.js.map +1 -1
- package/dist/layouts/Columns/Columns.stories.d.ts +1 -1
- package/dist/layouts/Columns/Columns.stories.d.ts.map +1 -1
- package/dist/layouts/Columns/ColumnsProps.d.ts +32 -32
- package/dist/layouts/Columns/ColumnsProps.d.ts.map +1 -1
- package/dist/layouts/Container/Container.d.ts.map +1 -1
- package/dist/layouts/Container/Container.js +6 -6
- package/dist/layouts/Container/Container.js.map +1 -1
- package/dist/react-minolith.d.ts +3 -0
- package/dist/react-minolith.d.ts.map +1 -1
- package/dist/react-minolith.js +104 -84
- package/dist/react-minolith.js.map +1 -1
- package/dist/utilities/classNameUtility.d.ts.map +1 -1
- package/dist/utilities/classNameUtility.js +203 -105
- package/dist/utilities/classNameUtility.js.map +1 -1
- package/dist/utilities/minolithStyleUtility/minolithStyleUtility.d.ts.map +1 -1
- package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js +216 -216
- package/dist/utilities/minolithStyleUtility/minolithStyleUtility.js.map +1 -1
- package/package.json +86 -86
|
@@ -1,289 +1,289 @@
|
|
|
1
1
|
const l = "minolith-";
|
|
2
|
-
function
|
|
3
|
-
const
|
|
4
|
-
return s && (s.fore &&
|
|
5
|
-
`--${l}color-${
|
|
6
|
-
), s.back &&
|
|
7
|
-
`--${l}color-${
|
|
8
|
-
), s.border &&
|
|
9
|
-
`--${l}color-${
|
|
10
|
-
), s.shadow &&
|
|
11
|
-
`--${l}color-${
|
|
12
|
-
), s.placeholder &&
|
|
13
|
-
`--${l}color-${
|
|
14
|
-
)),
|
|
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
|
|
16
|
+
function n(h, s, i) {
|
|
17
17
|
const t = [];
|
|
18
18
|
if (s.default) {
|
|
19
|
-
const
|
|
20
|
-
|
|
19
|
+
const o = f(
|
|
20
|
+
h,
|
|
21
21
|
s.default,
|
|
22
22
|
void 0,
|
|
23
|
-
|
|
23
|
+
i
|
|
24
24
|
);
|
|
25
|
-
|
|
25
|
+
o.length > 0 && t.push(...o);
|
|
26
26
|
}
|
|
27
27
|
if (s.hover) {
|
|
28
|
-
const
|
|
29
|
-
|
|
28
|
+
const o = f(
|
|
29
|
+
h,
|
|
30
30
|
s.hover,
|
|
31
31
|
"hover",
|
|
32
|
-
|
|
32
|
+
i
|
|
33
33
|
);
|
|
34
|
-
|
|
34
|
+
o.length > 0 && t.push(...o);
|
|
35
35
|
}
|
|
36
36
|
if (s.focus) {
|
|
37
|
-
const
|
|
38
|
-
|
|
37
|
+
const o = f(
|
|
38
|
+
h,
|
|
39
39
|
s.focus,
|
|
40
40
|
"focus",
|
|
41
|
-
|
|
41
|
+
i
|
|
42
42
|
);
|
|
43
|
-
|
|
43
|
+
o.length > 0 && t.push(...o);
|
|
44
44
|
}
|
|
45
45
|
if (s.active) {
|
|
46
|
-
const
|
|
47
|
-
|
|
46
|
+
const o = f(
|
|
47
|
+
h,
|
|
48
48
|
s.active,
|
|
49
49
|
"active",
|
|
50
|
-
|
|
50
|
+
i
|
|
51
51
|
);
|
|
52
|
-
|
|
52
|
+
o.length > 0 && t.push(...o);
|
|
53
53
|
}
|
|
54
54
|
if (s.disabled) {
|
|
55
|
-
const
|
|
56
|
-
|
|
55
|
+
const o = f(
|
|
56
|
+
h,
|
|
57
57
|
s.disabled,
|
|
58
58
|
"disabled",
|
|
59
|
-
|
|
59
|
+
i
|
|
60
60
|
);
|
|
61
|
-
|
|
61
|
+
o.length > 0 && t.push(...o);
|
|
62
62
|
}
|
|
63
63
|
return t;
|
|
64
64
|
}
|
|
65
|
-
function $(
|
|
66
|
-
const s = [],
|
|
67
|
-
return
|
|
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
|
-
),
|
|
70
|
-
`[data-color-scheme="dark"]{${
|
|
69
|
+
), o.length > 0 && s.push(
|
|
70
|
+
`[data-color-scheme="dark"]{${o.join("")}}`
|
|
71
71
|
), s;
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function u(h) {
|
|
74
74
|
const s = [];
|
|
75
|
-
if (
|
|
76
|
-
if (
|
|
77
|
-
const
|
|
78
|
-
|
|
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 (
|
|
81
|
-
const
|
|
82
|
-
|
|
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 (
|
|
85
|
-
const
|
|
86
|
-
if (
|
|
87
|
-
const
|
|
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-${
|
|
89
|
+
`--${l}color-${o}-${e}-oklch: ${a};`
|
|
90
90
|
), s.push(
|
|
91
|
-
`--${l}color-${
|
|
91
|
+
`--${l}color-${o}-${e}: oklch(${a});`
|
|
92
92
|
);
|
|
93
93
|
}
|
|
94
94
|
};
|
|
95
|
-
if (
|
|
96
|
-
if (typeof
|
|
97
|
-
s.push(`--${l}color-white: ${
|
|
95
|
+
if (i.white)
|
|
96
|
+
if (typeof i.white == "string")
|
|
97
|
+
s.push(`--${l}color-white: ${i.white};`);
|
|
98
98
|
else {
|
|
99
|
-
const
|
|
99
|
+
const o = `${i.white.lightness}% ${i.white.chroma} ${i.white.hue}`;
|
|
100
100
|
s.push(
|
|
101
|
-
`--${l}color-white-oklch: ${
|
|
102
|
-
), s.push(`--${l}color-white: oklch(${
|
|
101
|
+
`--${l}color-white-oklch: ${o};`
|
|
102
|
+
), s.push(`--${l}color-white: oklch(${o});`);
|
|
103
103
|
}
|
|
104
|
-
if (
|
|
105
|
-
if (typeof
|
|
106
|
-
s.push(`--${l}color-black: ${
|
|
104
|
+
if (i.black)
|
|
105
|
+
if (typeof i.black == "string")
|
|
106
|
+
s.push(`--${l}color-black: ${i.black};`);
|
|
107
107
|
else {
|
|
108
|
-
const
|
|
108
|
+
const o = `${i.black.lightness}% ${i.black.chroma} ${i.black.hue}`;
|
|
109
109
|
s.push(
|
|
110
|
-
`--${l}color-black-oklch: ${
|
|
111
|
-
), s.push(`--${l}color-black: oklch(${
|
|
110
|
+
`--${l}color-black-oklch: ${o};`
|
|
111
|
+
), s.push(`--${l}color-black: oklch(${o});`);
|
|
112
112
|
}
|
|
113
|
-
if (
|
|
114
|
-
const
|
|
115
|
-
t(
|
|
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 (
|
|
118
|
-
const
|
|
119
|
-
t(
|
|
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 (
|
|
122
|
-
const
|
|
123
|
-
t(
|
|
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 (
|
|
126
|
-
const
|
|
127
|
-
t(
|
|
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 (
|
|
130
|
-
const
|
|
131
|
-
t(
|
|
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 (
|
|
134
|
-
const
|
|
135
|
-
t(
|
|
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 (
|
|
138
|
-
const
|
|
139
|
-
t(
|
|
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 (
|
|
142
|
-
const
|
|
143
|
-
t(
|
|
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 (
|
|
146
|
-
const
|
|
147
|
-
t(
|
|
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 (
|
|
151
|
-
const
|
|
152
|
-
|
|
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 (
|
|
155
|
-
const
|
|
156
|
-
|
|
157
|
-
`--${l}font-weight-light: ${
|
|
158
|
-
),
|
|
159
|
-
`--${l}font-weight-normal: ${
|
|
160
|
-
),
|
|
161
|
-
`--${l}font-weight-medium: ${
|
|
162
|
-
),
|
|
163
|
-
`--${l}font-weight-semibold: ${
|
|
164
|
-
),
|
|
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
|
|
169
|
+
function d(h) {
|
|
170
170
|
const s = [];
|
|
171
|
-
if (
|
|
172
|
-
const
|
|
173
|
-
if (
|
|
174
|
-
if (
|
|
175
|
-
const t =
|
|
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 (
|
|
179
|
-
const t =
|
|
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 (
|
|
183
|
-
const t =
|
|
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 (
|
|
187
|
-
const t =
|
|
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 (
|
|
191
|
-
const t =
|
|
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 (
|
|
195
|
-
const t =
|
|
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 (
|
|
199
|
-
const t =
|
|
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 (
|
|
203
|
-
const t =
|
|
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 (
|
|
207
|
-
const t =
|
|
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 (
|
|
211
|
-
if (
|
|
212
|
-
const t =
|
|
210
|
+
if (i.light.button) {
|
|
211
|
+
if (i.light.button.default) {
|
|
212
|
+
const t = n(
|
|
213
213
|
"default",
|
|
214
|
-
|
|
214
|
+
i.light.button.default,
|
|
215
215
|
"button"
|
|
216
216
|
);
|
|
217
217
|
t.length > 0 && s.push(...t);
|
|
218
218
|
}
|
|
219
|
-
if (
|
|
220
|
-
const t =
|
|
219
|
+
if (i.light.button.gray) {
|
|
220
|
+
const t = n(
|
|
221
221
|
"gray",
|
|
222
|
-
|
|
222
|
+
i.light.button.gray,
|
|
223
223
|
"button"
|
|
224
224
|
);
|
|
225
225
|
t.length > 0 && s.push(...t);
|
|
226
226
|
}
|
|
227
|
-
if (
|
|
228
|
-
const t =
|
|
227
|
+
if (i.light.button.red) {
|
|
228
|
+
const t = n(
|
|
229
229
|
"red",
|
|
230
|
-
|
|
230
|
+
i.light.button.red,
|
|
231
231
|
"button"
|
|
232
232
|
);
|
|
233
233
|
t.length > 0 && s.push(...t);
|
|
234
234
|
}
|
|
235
|
-
if (
|
|
236
|
-
const t =
|
|
235
|
+
if (i.light.button.orange) {
|
|
236
|
+
const t = n(
|
|
237
237
|
"orange",
|
|
238
|
-
|
|
238
|
+
i.light.button.orange,
|
|
239
239
|
"button"
|
|
240
240
|
);
|
|
241
241
|
t.length > 0 && s.push(...t);
|
|
242
242
|
}
|
|
243
|
-
if (
|
|
244
|
-
const t =
|
|
243
|
+
if (i.light.button.yellow) {
|
|
244
|
+
const t = n(
|
|
245
245
|
"yellow",
|
|
246
|
-
|
|
246
|
+
i.light.button.yellow,
|
|
247
247
|
"button"
|
|
248
248
|
);
|
|
249
249
|
t.length > 0 && s.push(...t);
|
|
250
250
|
}
|
|
251
|
-
if (
|
|
252
|
-
const t =
|
|
251
|
+
if (i.light.button.green) {
|
|
252
|
+
const t = n(
|
|
253
253
|
"green",
|
|
254
|
-
|
|
254
|
+
i.light.button.green,
|
|
255
255
|
"button"
|
|
256
256
|
);
|
|
257
257
|
t.length > 0 && s.push(...t);
|
|
258
258
|
}
|
|
259
|
-
if (
|
|
260
|
-
const t =
|
|
259
|
+
if (i.light.button.cyan) {
|
|
260
|
+
const t = n(
|
|
261
261
|
"cyan",
|
|
262
|
-
|
|
262
|
+
i.light.button.cyan,
|
|
263
263
|
"button"
|
|
264
264
|
);
|
|
265
265
|
t.length > 0 && s.push(...t);
|
|
266
266
|
}
|
|
267
|
-
if (
|
|
268
|
-
const t =
|
|
267
|
+
if (i.light.button.blue) {
|
|
268
|
+
const t = n(
|
|
269
269
|
"blue",
|
|
270
|
-
|
|
270
|
+
i.light.button.blue,
|
|
271
271
|
"button"
|
|
272
272
|
);
|
|
273
273
|
t.length > 0 && s.push(...t);
|
|
274
274
|
}
|
|
275
|
-
if (
|
|
276
|
-
const t =
|
|
275
|
+
if (i.light.button.violet) {
|
|
276
|
+
const t = n(
|
|
277
277
|
"violet",
|
|
278
|
-
|
|
278
|
+
i.light.button.violet,
|
|
279
279
|
"button"
|
|
280
280
|
);
|
|
281
281
|
t.length > 0 && s.push(...t);
|
|
282
282
|
}
|
|
283
|
-
if (
|
|
284
|
-
const t =
|
|
283
|
+
if (i.light.button.magenta) {
|
|
284
|
+
const t = n(
|
|
285
285
|
"magenta",
|
|
286
|
-
|
|
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(
|
|
296
|
+
function g(h) {
|
|
297
297
|
const s = [];
|
|
298
|
-
if (
|
|
299
|
-
const
|
|
300
|
-
if (
|
|
301
|
-
if (
|
|
302
|
-
const t =
|
|
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 (
|
|
306
|
-
const t =
|
|
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 (
|
|
310
|
-
const t =
|
|
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 (
|
|
314
|
-
const t =
|
|
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 (
|
|
318
|
-
const t =
|
|
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 (
|
|
322
|
-
const t =
|
|
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 (
|
|
326
|
-
const t =
|
|
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 (
|
|
330
|
-
const t =
|
|
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 (
|
|
334
|
-
const t =
|
|
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 (
|
|
338
|
-
const t =
|
|
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 (
|
|
342
|
-
if (
|
|
343
|
-
const t =
|
|
341
|
+
if (i.dark.button) {
|
|
342
|
+
if (i.dark.button.default) {
|
|
343
|
+
const t = n(
|
|
344
344
|
"default",
|
|
345
|
-
|
|
345
|
+
i.dark.button.default,
|
|
346
346
|
"button"
|
|
347
347
|
);
|
|
348
348
|
t.length > 0 && s.push(...t);
|
|
349
349
|
}
|
|
350
|
-
if (
|
|
351
|
-
const t =
|
|
350
|
+
if (i.dark.button.gray) {
|
|
351
|
+
const t = n(
|
|
352
352
|
"gray",
|
|
353
|
-
|
|
353
|
+
i.dark.button.gray,
|
|
354
354
|
"button"
|
|
355
355
|
);
|
|
356
356
|
t.length > 0 && s.push(...t);
|
|
357
357
|
}
|
|
358
|
-
if (
|
|
359
|
-
const t =
|
|
358
|
+
if (i.dark.button.red) {
|
|
359
|
+
const t = n(
|
|
360
360
|
"red",
|
|
361
|
-
|
|
361
|
+
i.dark.button.red,
|
|
362
362
|
"button"
|
|
363
363
|
);
|
|
364
364
|
t.length > 0 && s.push(...t);
|
|
365
365
|
}
|
|
366
|
-
if (
|
|
367
|
-
const t =
|
|
366
|
+
if (i.dark.button.orange) {
|
|
367
|
+
const t = n(
|
|
368
368
|
"orange",
|
|
369
|
-
|
|
369
|
+
i.dark.button.orange,
|
|
370
370
|
"button"
|
|
371
371
|
);
|
|
372
372
|
t.length > 0 && s.push(...t);
|
|
373
373
|
}
|
|
374
|
-
if (
|
|
375
|
-
const t =
|
|
374
|
+
if (i.dark.button.yellow) {
|
|
375
|
+
const t = n(
|
|
376
376
|
"yellow",
|
|
377
|
-
|
|
377
|
+
i.dark.button.yellow,
|
|
378
378
|
"button"
|
|
379
379
|
);
|
|
380
380
|
t.length > 0 && s.push(...t);
|
|
381
381
|
}
|
|
382
|
-
if (
|
|
383
|
-
const t =
|
|
382
|
+
if (i.dark.button.green) {
|
|
383
|
+
const t = n(
|
|
384
384
|
"green",
|
|
385
|
-
|
|
385
|
+
i.dark.button.green,
|
|
386
386
|
"button"
|
|
387
387
|
);
|
|
388
388
|
t.length > 0 && s.push(...t);
|
|
389
389
|
}
|
|
390
|
-
if (
|
|
391
|
-
const t =
|
|
390
|
+
if (i.dark.button.cyan) {
|
|
391
|
+
const t = n(
|
|
392
392
|
"cyan",
|
|
393
|
-
|
|
393
|
+
i.dark.button.cyan,
|
|
394
394
|
"button"
|
|
395
395
|
);
|
|
396
396
|
t.length > 0 && s.push(...t);
|
|
397
397
|
}
|
|
398
|
-
if (
|
|
399
|
-
const t =
|
|
398
|
+
if (i.dark.button.blue) {
|
|
399
|
+
const t = n(
|
|
400
400
|
"blue",
|
|
401
|
-
|
|
401
|
+
i.dark.button.blue,
|
|
402
402
|
"button"
|
|
403
403
|
);
|
|
404
404
|
t.length > 0 && s.push(...t);
|
|
405
405
|
}
|
|
406
|
-
if (
|
|
407
|
-
const t =
|
|
406
|
+
if (i.dark.button.violet) {
|
|
407
|
+
const t = n(
|
|
408
408
|
"violet",
|
|
409
|
-
|
|
409
|
+
i.dark.button.violet,
|
|
410
410
|
"button"
|
|
411
411
|
);
|
|
412
412
|
t.length > 0 && s.push(...t);
|
|
413
413
|
}
|
|
414
|
-
if (
|
|
415
|
-
const t =
|
|
414
|
+
if (i.dark.button.magenta) {
|
|
415
|
+
const t = n(
|
|
416
416
|
"magenta",
|
|
417
|
-
|
|
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:
|
|
430
|
-
getLightSchemeStyles:
|
|
429
|
+
getRootStyles: u,
|
|
430
|
+
getLightSchemeStyles: d,
|
|
431
431
|
getDarkSchemeStyles: g
|
|
432
432
|
};
|
|
433
433
|
export {
|