@newlogic-digital/ui 3.7.5 → 4.2.0
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/README.md +17 -31
- package/package.json +22 -15
- package/src/data/main.json +2 -32
- package/src/data/nav.json +12 -0
- package/src/icons.svg +0 -30
- package/src/pages/dialog/basic.json.latte +5 -0
- package/src/pages/email/index.json +12 -0
- package/src/pages/example/popover-autocomplete.json +8 -0
- package/src/pages/gdpr.json +11 -0
- package/src/pages/index.json +8 -0
- package/src/scripts/components/(ui)/+.js +13 -0
- package/src/scripts/components/(ui)/Button.js +4 -0
- package/src/scripts/components/(ui)/Carousel.js +4 -0
- package/src/scripts/components/(ui)/Compare.js +4 -0
- package/src/scripts/components/(ui)/Control.js +11 -0
- package/src/scripts/components/(ui)/ControlSelect.js +4 -0
- package/src/scripts/components/(ui)/Details.js +4 -0
- package/src/scripts/components/(ui)/Dialog.js +17 -0
- package/src/scripts/components/(ui)/Drawer.js +4 -0
- package/src/scripts/components/(ui)/Form.js +15 -0
- package/src/scripts/components/(ui)/Popover.js +4 -0
- package/src/scripts/components/(ui)/Range.js +4 -0
- package/src/scripts/components/(ui)/Tabs.js +4 -0
- package/src/scripts/components/(ui)/Toast.js +4 -0
- package/src/scripts/components/+.js +5 -0
- package/src/scripts/components/App.js +5 -0
- package/src/scripts/components/ReCaptcha.js +4 -0
- package/src/scripts/components/Reveal.js +4 -0
- package/src/scripts/components/cookieconsent/+.js +2 -0
- package/src/scripts/components/cookieconsent/CookieConsentDialog.js +4 -0
- package/src/scripts/components/cookieconsent/CookieConsentForm.js +4 -0
- package/src/scripts/composables/+.js +3 -0
- package/src/scripts/composables/naja.js +24 -0
- package/src/scripts/composables/stimulus.js +31 -0
- package/src/scripts/composables/swup.js +23 -0
- package/src/scripts/main.js +4 -6
- package/src/scripts/utils/+.js +1 -0
- package/src/scripts/utils/initAfter.js +11 -0
- package/src/styles/base/+.css +5 -0
- package/src/styles/{Utils/default.css → base/defaults.css} +17 -1
- package/src/styles/base/transitions.css +12 -0
- package/src/styles/base/variants.css +11 -0
- package/src/styles/components/(layout)/+.css +2 -0
- package/src/styles/components/(layout)/Header.css +13 -0
- package/src/styles/components/(layout)/Main.css +24 -0
- package/src/styles/components/(ui)/+.css +25 -0
- package/src/styles/components/(ui)/Badge.css +8 -0
- package/src/styles/components/(ui)/Button.css +12 -0
- package/src/styles/components/(ui)/Carousel.css +2 -0
- package/src/styles/components/(ui)/Check.css +4 -0
- package/src/styles/components/(ui)/Compare.css +1 -0
- package/src/styles/components/(ui)/Control.css +31 -0
- package/src/styles/components/(ui)/ControlSelect.css +1 -0
- package/src/styles/components/(ui)/Drawer.css +16 -0
- package/src/styles/components/(ui)/Field.css +1 -0
- package/src/styles/components/(ui)/Group.css +2 -0
- package/src/styles/components/(ui)/Heading.css +14 -0
- package/src/styles/components/(ui)/Image.css +2 -0
- package/src/styles/components/(ui)/Info.css +2 -0
- package/src/styles/components/(ui)/Label.css +2 -0
- package/src/styles/components/(ui)/Link.css +2 -0
- package/src/styles/components/(ui)/Notice.css +2 -0
- package/src/styles/components/(ui)/Popover.css +13 -0
- package/src/styles/components/(ui)/Progress.css +6 -0
- package/src/styles/components/(ui)/Range.css +4 -0
- package/src/styles/components/(ui)/Switch.css +4 -0
- package/src/styles/components/(ui)/Text.css +2 -0
- package/src/styles/components/(ui)/Title.css +14 -0
- package/src/styles/components/(ui)/Toast.css +4 -0
- package/src/styles/components/(ui)/Toaster.css +2 -0
- package/src/styles/components/(ui)/dialog/+.css +2 -0
- package/src/styles/components/(ui)/dialog/Dialog.css +2 -0
- package/src/styles/components/(ui)/dialog/DialogContent.css +2 -0
- package/src/styles/components/+.css +3 -0
- package/src/styles/components/cookieconsent/+.css +1 -0
- package/src/styles/components/cookieconsent/CookieConsentDialog.css +19 -0
- package/src/styles/emails/base/+.css +2 -0
- package/src/styles/emails/base/defaults.css +23 -0
- package/src/styles/emails/components/+.css +4 -0
- package/src/styles/emails/components/Button.css +32 -0
- package/src/styles/emails/components/Heading.css +7 -0
- package/src/styles/emails/components/Main.css +13 -0
- package/src/{emails/styles/main/Ui → styles/emails/components}/Text.css +8 -5
- package/src/styles/emails/main.css +8 -0
- package/src/styles/emails/theme/+.css +2 -0
- package/src/styles/emails/theme/config.css +16 -0
- package/src/styles/emails/theme/default.css +13 -0
- package/src/styles/emails/utils/+.css +1 -0
- package/src/styles/emails/utils/common.css +29 -0
- package/src/styles/main.css +17 -16
- package/src/styles/theme/+.css +2 -0
- package/src/styles/theme/dark.css +6 -0
- package/src/styles/{Utils/theme → theme}/main.css +11 -14
- package/src/styles/tinymce.css +2 -34
- package/src/styles/utils/+.css +3 -0
- package/src/styles/utils/index.css +5 -0
- package/src/styles/utils/reveal.css +21 -0
- package/src/styles/utils/scrollbar.css +23 -0
- package/src/templates/components/(example)/PopoverAutocomplete.latte +27 -0
- package/src/templates/components/(layout)/Footer.latte +1 -0
- package/src/templates/components/(layout)/Header.latte +7 -0
- package/src/templates/components/(ui)/Toast.latte +9 -0
- package/src/templates/{Sections/Text.latte → components/Content.latte} +3 -3
- package/src/templates/components/Example.latte +17 -0
- package/src/templates/{Sections/CookieConsent.latte → components/cookieconsent/CookieConsentContent.latte} +4 -4
- package/src/templates/components/cookieconsent/CookieConsentDialog.latte +27 -0
- package/src/templates/{Components/Form/CookieConsent.latte → components/cookieconsent/CookieConsentForm.latte} +9 -9
- package/src/templates/components/dialog/DialogBasic.latte +18 -0
- package/src/templates/emails/components/Content.latte +29 -0
- package/src/templates/emails/components/Footer.latte +13 -0
- package/src/templates/emails/components/Header.latte +8 -0
- package/src/templates/emails/layouts/default.latte +44 -0
- package/src/templates/{Layout/Main.latte → layouts/default.latte} +26 -28
- package/vite.config.js +3 -18
- package/src/emails/styles/main/+.css +0 -3
- package/src/emails/styles/main/Base/+.css +0 -2
- package/src/emails/styles/main/Base/config.css +0 -22
- package/src/emails/styles/main/Components/+.css +0 -1
- package/src/emails/styles/main/Components/Card.css +0 -12
- package/src/emails/styles/main/Ui/+.css +0 -3
- package/src/emails/styles/main/Ui/Btn.css +0 -78
- package/src/emails/styles/main/Ui/Heading.css +0 -8
- package/src/emails/styles/main.css +0 -92
- package/src/emails/templates/.gitkeep +0 -0
- package/src/emails/templates.test/Layout.latte +0 -35
- package/src/emails/templates.test/Sections/Footer.latte +0 -22
- package/src/emails/templates.test/Sections/Header.latte +0 -37
- package/src/emails/templates.test/Sections/Text.latte +0 -24
- package/src/scripts/Components/+.js +0 -2
- package/src/scripts/Components/Drawer.js +0 -60
- package/src/scripts/Components/Popover.js +0 -65
- package/src/scripts/Layout/+.js +0 -1
- package/src/scripts/Layout/Header.js +0 -20
- package/src/scripts/Libraries/+.js +0 -10
- package/src/scripts/Libraries/CookieConsent.js +0 -80
- package/src/scripts/Libraries/Dialog.js +0 -28
- package/src/scripts/Libraries/Form.js +0 -13
- package/src/scripts/Libraries/Naja.js +0 -37
- package/src/scripts/Libraries/ReCaptcha.js +0 -25
- package/src/scripts/Libraries/Reveal.js +0 -32
- package/src/scripts/Libraries/Ripple.js +0 -8
- package/src/scripts/Libraries/Stimulus.js +0 -56
- package/src/scripts/Libraries/Swup.js +0 -77
- package/src/scripts/Libraries/Toaster.js +0 -55
- package/src/scripts/Sections/+.js +0 -0
- package/src/scripts/Ui/+.js +0 -4
- package/src/scripts/Ui/Check.js +0 -8
- package/src/scripts/Ui/Control.js +0 -194
- package/src/scripts/Ui/ControlSelect.js +0 -25
- package/src/scripts/Ui/Text.js +0 -21
- package/src/scripts/Utils/+.js +0 -3
- package/src/scripts/Utils/cdn.js +0 -5
- package/src/scripts/Utils/initAfter.js +0 -11
- package/src/scripts/Utils/naja.js +0 -41
- package/src/scripts/Utils/utilities.js +0 -8
- package/src/styles/Components/+.css +0 -5
- package/src/styles/Components/Dialog/+.css +0 -3
- package/src/styles/Components/Dialog/Content.css +0 -2
- package/src/styles/Components/Dialog/CookieConsent.css +0 -17
- package/src/styles/Components/Dialog/Default.css +0 -2
- package/src/styles/Components/Drawer.css +0 -18
- package/src/styles/Components/Field.css +0 -1
- package/src/styles/Components/Popover.css +0 -1
- package/src/styles/Components/Toaster.css +0 -2
- package/src/styles/Layout/+.css +0 -3
- package/src/styles/Layout/Header.css +0 -18
- package/src/styles/Layout/Main.css +0 -31
- package/src/styles/Layout/Nav.css +0 -23
- package/src/styles/Libraries/+.css +0 -2
- package/src/styles/Libraries/Datepicker.css +0 -54
- package/src/styles/Libraries/Pickr.css +0 -13
- package/src/styles/Sections/+.css +0 -1
- package/src/styles/Ui/+.css +0 -16
- package/src/styles/Ui/Badge.css +0 -8
- package/src/styles/Ui/Btn.css +0 -14
- package/src/styles/Ui/Check.css +0 -1
- package/src/styles/Ui/Control.css +0 -57
- package/src/styles/Ui/ControlSelect.css +0 -57
- package/src/styles/Ui/Group.css +0 -1
- package/src/styles/Ui/Heading.css +0 -4
- package/src/styles/Ui/Image.css +0 -1
- package/src/styles/Ui/Info.css +0 -1
- package/src/styles/Ui/Label.css +0 -1
- package/src/styles/Ui/Link.css +0 -8
- package/src/styles/Ui/Notice.css +0 -9
- package/src/styles/Ui/Progress.css +0 -1
- package/src/styles/Ui/Switch.css +0 -1
- package/src/styles/Ui/Text.css +0 -1
- package/src/styles/Ui/Title.css +0 -4
- package/src/styles/Utils/+.css +0 -6
- package/src/styles/Utils/config.css +0 -16
- package/src/styles/Utils/theme/+.css +0 -1
- package/src/styles/Utils/utilities.css +0 -42
- package/src/templates/Components/Dialog/Basic.latte +0 -24
- package/src/templates/Components/Dialog/CookieConsent.latte +0 -27
- package/src/templates/Layout/Footer.latte +0 -0
- package/src/templates/Layout/Header.latte +0 -38
- package/src/templates/Sections/Site.latte +0 -213
- package/src/templates/Sections/Ui/Docs/@intro.html +0 -48
- package/src/templates/Sections/Ui/Docs/@nav.html +0 -134
- package/src/templates/Sections/Ui/Docs/@styles.html +0 -96
- package/src/templates/Sections/Ui/Docs/Default.latte +0 -979
- package/src/templates/Sections/Ui/Icons.html +0 -30
- package/src/templates/Sections/Ui/Intro.html +0 -119
- package/src/templates/Sections/Ui.latte +0 -8
- package/src/templates/Ui/+.latte +0 -5
- package/src/templates/Ui/Check.latte +0 -7
- package/src/templates/Ui/Control.latte +0 -9
- package/src/templates/Ui/ControlDate.latte +0 -14
- package/src/templates/Ui/ControlSelect.latte +0 -9
- package/src/templates/Ui/ControlTime.latte +0 -14
- package/src/views/dialog/basic.json.latte +0 -5
- package/src/views/email/email.latte +0 -6
- package/src/views/email/email.test.latte +0 -6
- package/src/views/gdpr.json +0 -14
- package/src/views/index.json +0 -12
- package/src/views/popover/info.json.latte +0 -15
- package/src/views/site.json +0 -11
- package/src/views/ui-icons.json +0 -12
- package/src/views/ui.json +0 -11
- /package/src/styles/{Utils → base}/breakpoints.css +0 -0
- /package/src/styles/{Utils → base}/keyframes.css +0 -0
- /package/src/{emails/styles/main/Base/font.css → styles/emails/base/fonts.css} +0 -0
- /package/src/templates/{Utils → utils}/sections.latte +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@layer base {
|
|
2
|
+
html {
|
|
3
|
+
scroll-padding-top: var(--scroll-padding-top);
|
|
4
|
+
|
|
5
|
+
@media (min-width: 60em) and (max-width: 75.9375rem) {
|
|
6
|
+
font-size: 87.5%;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
background-color: var(--color-body);
|
|
12
|
+
display: flex;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
overflow-x: clip;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
@layer utilities {
|
|
19
|
+
.x-main {
|
|
20
|
+
flex-grow: 1;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-direction: column;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@import "./Badge.css";
|
|
2
|
+
@import "./Button.css";
|
|
3
|
+
@import "./Carousel.css";
|
|
4
|
+
@import "./Check.css";
|
|
5
|
+
@import "./Compare.css";
|
|
6
|
+
@import "./Control.css";
|
|
7
|
+
@import "./ControlSelect.css";
|
|
8
|
+
@import "./Drawer.css";
|
|
9
|
+
@import "./Field.css";
|
|
10
|
+
@import "./Group.css";
|
|
11
|
+
@import "./Heading.css";
|
|
12
|
+
@import "./Image.css";
|
|
13
|
+
@import "./Info.css";
|
|
14
|
+
@import "./Label.css";
|
|
15
|
+
@import "./Link.css";
|
|
16
|
+
@import "./Notice.css";
|
|
17
|
+
@import "./Popover.css";
|
|
18
|
+
@import "./Progress.css";
|
|
19
|
+
@import "./Range.css";
|
|
20
|
+
@import "./Switch.css";
|
|
21
|
+
@import "./Text.css";
|
|
22
|
+
@import "./Title.css";
|
|
23
|
+
@import "./Toast.css";
|
|
24
|
+
@import "./Toaster.css";
|
|
25
|
+
@import "./dialog/+.css";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@import "winduum/src/components/badge/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/badge/default.css" layer(utilities);
|
|
3
|
+
@import "winduum/src/components/badge/sm.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/badge/lg.css" layer(utilities);
|
|
5
|
+
@import "winduum/src/components/badge/bordered.css" layer(utilities);
|
|
6
|
+
@import "winduum/src/components/badge/muted.css" layer(utilities);
|
|
7
|
+
@import "winduum/src/components/badge/square.css" layer(utilities);
|
|
8
|
+
@import "winduum/src/components/badge/circle.css" layer(utilities);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
@import "winduum/src/components/button/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/button/props/interactive.css" layer(theme);
|
|
3
|
+
@import "winduum/src/components/button/default.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/button/lg.css" layer(utilities);
|
|
5
|
+
@import "winduum/src/components/button/sm.css" layer(utilities);
|
|
6
|
+
@import "winduum/src/components/button/interactive.css" layer(utilities);
|
|
7
|
+
@import "winduum/src/components/button/bordered.css" layer(utilities);
|
|
8
|
+
@import "winduum/src/components/button/ghosted.css" layer(utilities);
|
|
9
|
+
@import "winduum/src/components/button/muted.css" layer(utilities);
|
|
10
|
+
@import "winduum/src/components/button/square.css" layer(utilities);
|
|
11
|
+
@import "winduum/src/components/button/circle.css" layer(utilities);
|
|
12
|
+
@import "winduum/src/components/button/spinner.css" layer(utilities);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
@import "winduum/src/components/check/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/check/default.css" layer(utilities);
|
|
3
|
+
@import "winduum/src/components/check/interactive.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/check/invalid.css" layer(utilities);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "winduum/src/components/compare/default.css" layer(utilities);
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@import "winduum/src/components/control/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/control/props/floating.css" layer(theme);
|
|
3
|
+
@import "winduum/src/components/control/props/select.css" layer(theme);
|
|
4
|
+
@import "winduum/src/components/control/props/icon.css" layer(theme);
|
|
5
|
+
@import "winduum/src/components/control/default.css" layer(utilities);
|
|
6
|
+
@import "winduum/src/components/control/interactive.css" layer(utilities);
|
|
7
|
+
@import "winduum/src/components/control/file.css" layer(utilities);
|
|
8
|
+
@import "winduum/src/components/control/select.css" layer(utilities);
|
|
9
|
+
@import "winduum/src/components/control/icon.css" layer(utilities);
|
|
10
|
+
@import "winduum/src/components/control/floating.css" layer(utilities);
|
|
11
|
+
@import "winduum/src/components/control/invalid.css" layer(utilities);
|
|
12
|
+
|
|
13
|
+
@layer utilities {
|
|
14
|
+
.x-control {
|
|
15
|
+
&[data-active] label,
|
|
16
|
+
:where(input, textarea):is(:focus, [placeholder]) ~ label,
|
|
17
|
+
:where(select):is([data-placeholder]) ~ label {
|
|
18
|
+
transform: translateY(calc(var(--x-control-label-translate-y) * -1)) scale(var(--x-control-label-scale));
|
|
19
|
+
opacity: var(--x-control-label-focus-opacity, 0.5);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&:has(label):not([data-active]) select:not([data-placeholder]) {
|
|
23
|
+
font-size: 0;
|
|
24
|
+
height: inherit;
|
|
25
|
+
|
|
26
|
+
& option {
|
|
27
|
+
font-size: var(--x-control-font-size);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "@newlogic-digital/stimulus-components/src/control-select/index.css" layer(utilities);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import "winduum/src/components/drawer/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/drawer/props/content.css" layer(theme);
|
|
3
|
+
@import "winduum/src/components/drawer/default.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/drawer/content.css" layer(utilities);
|
|
5
|
+
|
|
6
|
+
@layer utilities {
|
|
7
|
+
.x-drawer {
|
|
8
|
+
--x-drawer-content-inline-size: min(calc(100vw - 2rem), 22rem);
|
|
9
|
+
--x-drawer-content-block-size: 100dvh;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.x-drawer-content {
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
overscroll-behavior: contain;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "winduum/src/components/field/default.css" layer(utilities);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import "winduum/src/components/heading/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/heading/default.css" layer(utilities);
|
|
3
|
+
|
|
4
|
+
@utility sm {
|
|
5
|
+
.x-heading:is(&) {
|
|
6
|
+
--x-heading-font-size: var(--text-lg);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@utility lg {
|
|
11
|
+
.x-heading:is(&) {
|
|
12
|
+
--x-heading-font-size: var(--text-3xl);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import "winduum/src/components/popover/props/content.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/popover/default.css" layer(utilities);
|
|
3
|
+
@import "winduum/src/components/popover/content.css" layer(utilities);
|
|
4
|
+
|
|
5
|
+
@utility closed {
|
|
6
|
+
.x-popover-content:is(&) {
|
|
7
|
+
--tw-scale-x: var(--x-popover-content-scale-x);
|
|
8
|
+
--tw-scale-y: var(--x-popover-content-scale-y);
|
|
9
|
+
|
|
10
|
+
opacity: 0;
|
|
11
|
+
visibility: hidden;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
@import "winduum/src/components/progress/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/progress/keyframes/default.css";
|
|
3
|
+
@import "winduum/src/components/progress/default.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/progress/meter.css" layer(utilities);
|
|
5
|
+
@import "winduum/src/components/progress/sm.css" layer(utilities);
|
|
6
|
+
@import "winduum/src/components/progress/lg.css" layer(utilities);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
@import "winduum/src/components/range/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/range/default.css" layer(utilities);
|
|
3
|
+
@import "winduum/src/components/range/multi.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/range/vertical.css" layer(utilities);
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
@import "winduum/src/components/switch/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/switch/default.css" layer(utilities);
|
|
3
|
+
@import "winduum/src/components/switch/interactive.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/switch/invalid.css" layer(utilities);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
@import "winduum/src/components/title/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/title/default.css" layer(utilities);
|
|
3
|
+
|
|
4
|
+
@utility sm {
|
|
5
|
+
.x-title:is(&) {
|
|
6
|
+
--x-title-font-size: var(--text-xs);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@utility lg {
|
|
11
|
+
.x-title:is(&) {
|
|
12
|
+
--x-title-font-size: var(--text-base);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
@import "winduum/src/components/toast/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/toast/props/content.css" layer(theme);
|
|
3
|
+
@import "winduum/src/components/toast/default.css" layer(utilities);
|
|
4
|
+
@import "winduum/src/components/toast/content.css" layer(utilities);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./CookieConsentDialog.css";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.x-cookieconsent-dialog {
|
|
3
|
+
.x-dialog-content {
|
|
4
|
+
max-width: 32rem;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
&.center {
|
|
8
|
+
.x-dialog-content {
|
|
9
|
+
max-width: 26rem;
|
|
10
|
+
text-align: center;
|
|
11
|
+
|
|
12
|
+
& .x-image {
|
|
13
|
+
margin-left: auto;
|
|
14
|
+
margin-right: auto;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
padding: 0;
|
|
4
|
+
background-color: var(--color-body);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
img {
|
|
8
|
+
max-width: 100%;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
a {
|
|
12
|
+
transition: color 0.15s;
|
|
13
|
+
|
|
14
|
+
&,
|
|
15
|
+
img {
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
color: var(--color-main);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
& img {
|
|
21
|
+
font-weight: 700;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.x-button {
|
|
2
|
+
a {
|
|
3
|
+
line-height: 24px;
|
|
4
|
+
mso-line-height-rule: exactly;
|
|
5
|
+
border-radius: var(--radius);
|
|
6
|
+
display: inline-block;
|
|
7
|
+
border: 1px solid var(--color-primary);
|
|
8
|
+
padding: 5px 12px;
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
font-weight: 700;
|
|
11
|
+
|
|
12
|
+
&,
|
|
13
|
+
span {
|
|
14
|
+
text-decoration: none;
|
|
15
|
+
color: var(--color-primary-foreground);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.x-button-content {
|
|
20
|
+
border-radius: var(--radius);
|
|
21
|
+
transition: background-color 0.15s;
|
|
22
|
+
background-color: var(--color-primary);
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
background-color: var(--color-primary-hover) !important;
|
|
26
|
+
|
|
27
|
+
a {
|
|
28
|
+
border: 1px solid var(--color-primary-hover) !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.x-main {
|
|
2
|
+
font-family: var(--default-font-family);
|
|
3
|
+
background-color: var(--color-body);
|
|
4
|
+
color: var(--color-main);
|
|
5
|
+
color-scheme: light;
|
|
6
|
+
min-width: 320px;
|
|
7
|
+
box-sizing: content-box;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.x-main-body {
|
|
11
|
+
background-color: var(--color-body-primary);
|
|
12
|
+
border-radius: var(--radius);
|
|
13
|
+
}
|
|
@@ -1,12 +1,15 @@
|
|
|
1
|
-
.
|
|
2
|
-
font-size:
|
|
3
|
-
font-weight: 400;
|
|
1
|
+
.x-text {
|
|
2
|
+
font-size: 16px;
|
|
4
3
|
line-height: 24px;
|
|
5
4
|
mso-line-height-rule: exactly;
|
|
6
5
|
|
|
6
|
+
b,
|
|
7
|
+
strong {
|
|
8
|
+
font-weight: 700;
|
|
9
|
+
}
|
|
10
|
+
|
|
7
11
|
&.sm {
|
|
8
|
-
font-size:
|
|
9
|
-
font-weight: 400;
|
|
12
|
+
font-size: 14px;
|
|
10
13
|
line-height: 20px;
|
|
11
14
|
}
|
|
12
15
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
--default-font-family:
|
|
3
|
+
"Roboto",
|
|
4
|
+
-apple-system,
|
|
5
|
+
"BlinkMacSystemFont",
|
|
6
|
+
"Segoe UI",
|
|
7
|
+
"Helvetica",
|
|
8
|
+
"Arial",
|
|
9
|
+
sans-serif,
|
|
10
|
+
"Apple Color Emoji",
|
|
11
|
+
"Segoe UI Emoji",
|
|
12
|
+
"Segoe UI Symbol";
|
|
13
|
+
--spacing-container: 24px;
|
|
14
|
+
--radius: 12px;
|
|
15
|
+
--container: 600px;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@theme {
|
|
2
|
+
--color-primary: #83cd4f;
|
|
3
|
+
--color-primary-hover: #73b346;
|
|
4
|
+
--color-primary-foreground: #000;
|
|
5
|
+
--color-main: var(--color-main-primary);
|
|
6
|
+
--color-main-primary: #000;
|
|
7
|
+
--color-body: var(--color-body-secondary);
|
|
8
|
+
--color-body-primary: #fff;
|
|
9
|
+
--color-body-secondary: #f3f2f6;
|
|
10
|
+
--color-body-tertiary: #fcfcfd;
|
|
11
|
+
--color-light: #fff;
|
|
12
|
+
--color-dark: #000;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import "./common.css";
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@utility container {
|
|
2
|
+
min-width: var(--container);
|
|
3
|
+
width: var(--container);
|
|
4
|
+
|
|
5
|
+
@media (max-width: 647px) {
|
|
6
|
+
min-width: 100% !important;
|
|
7
|
+
width: 100% !important;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@utility underline {
|
|
12
|
+
text-decoration: underline;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@utility border-r {
|
|
16
|
+
border-right: 1px solid;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@utility border-l {
|
|
20
|
+
border-left: 1px solid;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@utility border-b {
|
|
24
|
+
border-bottom: 1px solid;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@utility border-t {
|
|
28
|
+
border-top: 1px solid;
|
|
29
|
+
}
|
package/src/styles/main.css
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "
|
|
3
|
-
@import "./
|
|
4
|
-
@import "
|
|
5
|
-
@import "./
|
|
6
|
-
@import "./
|
|
7
|
-
@import "./
|
|
8
|
-
@import "
|
|
9
|
-
@import "
|
|
10
|
-
@import "./
|
|
11
|
-
@import "./
|
|
12
|
-
@import "./
|
|
13
|
-
@import "
|
|
14
|
-
|
|
15
|
-
@
|
|
16
|
-
@
|
|
1
|
+
@import "tailwindcss/theme.css" layer(theme);
|
|
2
|
+
@import "winduum/tailwindcss/theme/config/index.css" layer(theme);
|
|
3
|
+
@import "./theme/main.css" layer(theme);
|
|
4
|
+
@import "winduum/src/base/reset.css" layer(base);
|
|
5
|
+
@import "./base/defaults.css" layer(base);
|
|
6
|
+
@import "./components/+.css";
|
|
7
|
+
@import "./utils/+.css";
|
|
8
|
+
@import "tailwindcss/utilities" layer(utilities);
|
|
9
|
+
@import "winduum/tailwindcss/variants/dark.css";
|
|
10
|
+
@import "./base/breakpoints.css";
|
|
11
|
+
@import "./base/keyframes.css";
|
|
12
|
+
@import "./base/transitions.css";
|
|
13
|
+
@import "./base/variants.css";
|
|
14
|
+
|
|
15
|
+
@source "../../node_modules/winduum/src";
|
|
16
|
+
@source not "../templates/emails";
|
|
17
|
+
@source not "../views/emails";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
--
|
|
5
|
-
--
|
|
1
|
+
@import "./dark.css";
|
|
2
|
+
|
|
3
|
+
@theme {
|
|
4
|
+
--default-font-family: "Poppins", sans-serif;
|
|
5
|
+
--default-color-space: srgb;
|
|
6
|
+
--default-color-scheme: inherit;
|
|
6
7
|
--color-accent: var(--color-primary);
|
|
7
8
|
--color-accent-foreground: var(--color-primary-foreground);
|
|
8
9
|
--color-primary: #83cd4f;
|
|
@@ -10,13 +11,13 @@
|
|
|
10
11
|
--color-main: #111315;
|
|
11
12
|
--color-main-foreground: var(--color-body);
|
|
12
13
|
--color-main-primary: var(--color-main);
|
|
13
|
-
--color-main-secondary: color-mix(in var(--space), var(--color-main) 75%, var(--color-main-foreground));
|
|
14
|
-
--color-main-tertiary: color-mix(in var(--space), var(--color-main) 50%, var(--color-main-foreground));
|
|
14
|
+
--color-main-secondary: color-mix(in var(--default-color-space), var(--color-main) 75%, var(--color-main-foreground));
|
|
15
|
+
--color-main-tertiary: color-mix(in var(--default-color-space), var(--color-main) 50%, var(--color-main-foreground));
|
|
15
16
|
--color-body: #fff;
|
|
16
17
|
--color-body-foreground: var(--color-main);
|
|
17
18
|
--color-body-primary: var(--color-body);
|
|
18
|
-
--color-body-secondary: color-mix(in var(--space), var(--color-body) 95%, var(--color-body-foreground));
|
|
19
|
-
--color-body-tertiary: color-mix(in var(--space), var(--color-body) 90%, var(--color-body-foreground));
|
|
19
|
+
--color-body-secondary: color-mix(in var(--default-color-space), var(--color-body) 95%, var(--color-body-foreground));
|
|
20
|
+
--color-body-tertiary: color-mix(in var(--default-color-space), var(--color-body) 90%, var(--color-body-foreground));
|
|
20
21
|
--color-light: #fff;
|
|
21
22
|
--color-light-foreground: var(--color-dark);
|
|
22
23
|
--color-dark: #111315;
|
|
@@ -25,9 +26,5 @@
|
|
|
25
26
|
--color-error: #dc2626;
|
|
26
27
|
--color-warning: #eab308;
|
|
27
28
|
--color-info: #0ea5e9;
|
|
28
|
-
|
|
29
|
-
&.dark {
|
|
30
|
-
--color-main: #c9d1d9;
|
|
31
|
-
--color-body: #0e1116;
|
|
32
|
-
}
|
|
29
|
+
--container-width: 80rem;
|
|
33
30
|
}
|