@newlogic-digital/ui 4.0.0 → 4.3.0-next.1
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/package.json +25 -25
- package/src/+.css +1 -0
- package/src/data/main.json +19 -9
- package/src/data/socials.json +24 -0
- package/src/icons/simpleicons/apple.svg +3 -0
- package/src/icons/simpleicons/facebook.svg +3 -0
- package/src/icons/simpleicons/google.svg +3 -0
- package/src/icons/simpleicons/instagram.svg +3 -0
- package/src/icons/simpleicons/linkedin.svg +1 -0
- package/src/icons/simpleicons/messenger.svg +3 -0
- package/src/icons/simpleicons/threads.svg +3 -0
- package/src/icons/simpleicons/whatsapp.svg +3 -0
- package/src/icons/simpleicons/x.svg +3 -0
- package/src/icons/simpleicons/youtube.svg +3 -0
- package/src/icons/solid/newlogic-logomark.svg +3 -0
- package/src/icons/solid/newlogic-logotype.svg +11 -0
- package/src/pages/example/control-select.json +8 -0
- package/src/pages/example/popover-autocomplete.json +8 -0
- package/src/scripts/components/(ui)/+.js +2 -0
- package/src/scripts/components/(ui)/Carousel.js +4 -0
- package/src/scripts/components/(ui)/Control.js +4 -4
- package/src/scripts/components/(ui)/Dialog.js +9 -9
- package/src/scripts/components/(ui)/Form.js +7 -7
- package/src/scripts/components/(ui)/Image.js +4 -0
- package/src/scripts/components/(ui)/Popover.js +1 -1
- package/src/scripts/components/App.js +1 -1
- package/src/scripts/composables/naja.js +7 -7
- package/src/scripts/composables/stimulus.js +12 -12
- package/src/scripts/composables/swup.js +9 -9
- package/src/scripts/main.js +1 -0
- package/src/scripts/utils/initAfter.js +4 -4
- package/src/styles/base/+.css +1 -0
- package/src/styles/base/defaults.css +10 -6
- package/src/styles/base/transitions.css +1 -1
- package/src/styles/base/variants.css +11 -0
- package/src/styles/components/(layout)/Header.css +8 -6
- package/src/styles/components/(layout)/Main.css +18 -14
- package/src/styles/components/(ui)/+.css +3 -0
- package/src/styles/components/(ui)/Badge.css +8 -8
- package/src/styles/components/(ui)/Button.css +24 -12
- package/src/styles/components/(ui)/Carousel.css +2 -0
- package/src/styles/components/(ui)/Check.css +11 -1
- package/src/styles/components/(ui)/Compare.css +1 -1
- package/src/styles/components/(ui)/Control.css +27 -23
- package/src/styles/components/(ui)/ControlSelect.css +8 -1
- package/src/styles/components/(ui)/Drawer.css +13 -11
- package/src/styles/components/(ui)/Field.css +1 -1
- package/src/styles/components/(ui)/Group.css +2 -1
- package/src/styles/components/(ui)/Heading.css +35 -4
- package/src/styles/components/(ui)/Image.css +2 -1
- package/src/styles/components/(ui)/Info.css +2 -1
- package/src/styles/components/(ui)/Label.css +11 -1
- package/src/styles/components/(ui)/Link.css +2 -2
- package/src/styles/components/(ui)/Marquee.css +2 -0
- package/src/styles/components/(ui)/Notice.css +2 -1
- package/src/styles/components/(ui)/Popover.css +13 -1
- package/src/styles/components/(ui)/Progress.css +6 -1
- package/src/styles/components/(ui)/Range.css +4 -1
- package/src/styles/components/(ui)/Switch.css +4 -1
- package/src/styles/components/(ui)/Text.css +51 -1
- package/src/styles/components/(ui)/Title.css +14 -4
- package/src/styles/components/(ui)/Toast.css +4 -0
- package/src/styles/components/(ui)/Toaster.css +2 -2
- package/src/styles/components/(ui)/dialog/Dialog.css +2 -2
- package/src/styles/components/(ui)/dialog/DialogContent.css +2 -2
- package/src/styles/components/+.css +0 -1
- package/src/styles/emails/base/defaults.css +2 -1
- package/src/styles/emails/components/Button.css +2 -1
- package/src/styles/emails/components/Heading.css +1 -1
- package/src/styles/emails/components/Main.css +1 -1
- package/src/styles/emails/components/Text.css +2 -1
- package/src/styles/emails/main.css +3 -4
- package/src/styles/emails/theme/config.css +15 -2
- package/src/styles/emails/theme/default.css +1 -1
- package/src/styles/emails/utils/common.css +7 -7
- package/src/styles/main.css +17 -10
- package/src/styles/theme/dark.css +2 -1
- package/src/styles/theme/main.css +15 -20
- package/src/styles/tinymce.css +1 -0
- package/src/styles/utils/+.css +0 -1
- package/src/styles/utils/index.css +27 -8
- package/src/styles/utils/reveal.css +9 -10
- package/src/styles/utils/scrollbar.css +2 -2
- package/src/templates/components/(example)/ControlSelect.latte +26 -0
- package/src/templates/components/(example)/PopoverAutocomplete.latte +27 -0
- package/src/templates/components/(ui)/Pagination.latte +19 -0
- package/src/templates/components/Example.latte +4 -5
- package/src/templates/components/cookieconsent/CookieConsentDialog.latte +7 -16
- package/src/templates/components/dialog/DialogBasic.latte +1 -1
- package/src/templates/emails/layouts/default.latte +13 -4
- package/src/templates/layouts/default.latte +9 -9
- package/vite.config.js +7 -3
- package/src/icons.svg +0 -8
- package/src/styles/components/cookieconsent/+.css +0 -1
- package/src/styles/components/cookieconsent/CookieConsentDialog.css +0 -17
- package/src/styles/emails/+.css +0 -5
- package/src/styles/utils/container.css +0 -5
- /package/src/templates/components/{(layout) → footer}/Footer.latte +0 -0
- /package/src/templates/components/{(layout) → header}/Header.latte +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import "./Badge.css";
|
|
2
2
|
@import "./Button.css";
|
|
3
|
+
@import "./Carousel.css";
|
|
3
4
|
@import "./Check.css";
|
|
4
5
|
@import "./Compare.css";
|
|
5
6
|
@import "./Control.css";
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
@import "./Info.css";
|
|
13
14
|
@import "./Label.css";
|
|
14
15
|
@import "./Link.css";
|
|
16
|
+
@import "./Marquee.css";
|
|
15
17
|
@import "./Notice.css";
|
|
16
18
|
@import "./Popover.css";
|
|
17
19
|
@import "./Progress.css";
|
|
@@ -19,5 +21,6 @@
|
|
|
19
21
|
@import "./Switch.css";
|
|
20
22
|
@import "./Text.css";
|
|
21
23
|
@import "./Title.css";
|
|
24
|
+
@import "./Toast.css";
|
|
22
25
|
@import "./Toaster.css";
|
|
23
26
|
@import "./dialog/+.css";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
@import "winduum/src/components/badge/props/default.css";
|
|
2
|
-
@import "winduum/src/components/badge/default.css";
|
|
3
|
-
@import "winduum/src/components/badge/sm.css";
|
|
4
|
-
@import "winduum/src/components/badge/lg.css";
|
|
5
|
-
@import "winduum/src/components/badge/bordered.css";
|
|
6
|
-
@import "winduum/src/components/badge/muted.css";
|
|
7
|
-
@import "winduum/src/components/badge/square.css";
|
|
8
|
-
@import "winduum/src/components/badge/circle.css";
|
|
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);
|
|
@@ -1,12 +1,24 @@
|
|
|
1
|
-
@import "winduum/src/components/button/props/default.css";
|
|
2
|
-
@import "winduum/src/components/button/props/interactive.css";
|
|
3
|
-
@import "winduum/src/components/button/default.css";
|
|
4
|
-
@import "winduum/src/components/button/
|
|
5
|
-
@import "winduum/src/components/button/
|
|
6
|
-
@import "winduum/src/components/button/
|
|
7
|
-
@import "winduum/src/components/button/
|
|
8
|
-
@import "winduum/src/components/button/
|
|
9
|
-
@import "winduum/src/components/button/
|
|
10
|
-
@import "winduum/src/components/button/
|
|
11
|
-
|
|
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/interactive.css" layer(utilities);
|
|
5
|
+
@import "winduum/src/components/button/bordered.css" layer(utilities);
|
|
6
|
+
@import "winduum/src/components/button/ghosted.css" layer(utilities);
|
|
7
|
+
@import "winduum/src/components/button/muted.css" layer(utilities);
|
|
8
|
+
@import "winduum/src/components/button/square.css" layer(utilities);
|
|
9
|
+
@import "winduum/src/components/button/circle.css" layer(utilities);
|
|
10
|
+
@import "winduum/src/components/button/spinner.css" layer(utilities);
|
|
11
|
+
|
|
12
|
+
@utility lg {
|
|
13
|
+
.x-button:is(&) {
|
|
14
|
+
--x-button-block-size: 3rem;
|
|
15
|
+
--x-button-padding-inline: 1.5rem;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@utility sm {
|
|
20
|
+
.x-button:is(&) {
|
|
21
|
+
--x-button-block-size: 2rem;
|
|
22
|
+
--x-button-padding-inline: 1rem;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
@import "winduum/src/components/check/
|
|
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);
|
|
5
|
+
|
|
6
|
+
@layer theme {
|
|
7
|
+
:root,
|
|
8
|
+
:host {
|
|
9
|
+
--x-check-line-height: var(--x-check-size);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "winduum/src/components/compare/
|
|
1
|
+
@import "winduum/src/components/compare/default.css" layer(utilities);
|
|
@@ -1,29 +1,33 @@
|
|
|
1
|
-
@import "winduum/src/components/control/props/default.css";
|
|
2
|
-
@import "winduum/src/components/control/props/floating.css";
|
|
3
|
-
@import "winduum/src/components/control/props/select.css";
|
|
4
|
-
@import "winduum/src/components/control/props/
|
|
5
|
-
@import "winduum/src/components/control/
|
|
6
|
-
@import "winduum/src/components/control/
|
|
7
|
-
@import "winduum/src/components/control/
|
|
8
|
-
@import "winduum/src/components/control/
|
|
9
|
-
@import "winduum/src/components/control/
|
|
10
|
-
@import "winduum/src/components/control/
|
|
11
|
-
@import "winduum/src/components/control/
|
|
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/select-picker.css" layer(theme);
|
|
5
|
+
@import "winduum/src/components/control/props/icon.css" layer(theme);
|
|
6
|
+
@import "winduum/src/components/control/default.css" layer(utilities);
|
|
7
|
+
@import "winduum/src/components/control/interactive.css" layer(utilities);
|
|
8
|
+
@import "winduum/src/components/control/file.css" layer(utilities);
|
|
9
|
+
@import "winduum/src/components/control/select.css" layer(utilities);
|
|
10
|
+
@import "winduum/src/components/control/select-picker.css" layer(utilities);
|
|
11
|
+
@import "winduum/src/components/control/icon.css" layer(utilities);
|
|
12
|
+
@import "winduum/src/components/control/floating.css" layer(utilities);
|
|
13
|
+
@import "winduum/src/components/control/invalid.css" layer(utilities);
|
|
12
14
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
@layer utilities {
|
|
16
|
+
.x-control {
|
|
17
|
+
&[data-active] label,
|
|
18
|
+
:where(input, textarea):is(:focus, [placeholder]) ~ label,
|
|
19
|
+
:where(select):is([data-placeholder]) ~ label {
|
|
20
|
+
transform: translateY(calc(var(--x-control-label-translate-y) * -1)) scale(var(--x-control-label-scale));
|
|
21
|
+
opacity: var(--x-control-label-focus-opacity, 0.5);
|
|
22
|
+
}
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
&:has(label):not([data-active]) select:not([data-placeholder]) {
|
|
25
|
+
font-size: 0;
|
|
26
|
+
height: inherit;
|
|
24
27
|
|
|
25
|
-
|
|
26
|
-
|
|
28
|
+
& option {
|
|
29
|
+
font-size: var(--x-control-font-size);
|
|
30
|
+
}
|
|
27
31
|
}
|
|
28
32
|
}
|
|
29
33
|
}
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
@import "@newlogic-digital/stimulus-components/src/control-select/index.css";
|
|
1
|
+
@import "@newlogic-digital/stimulus-components/src/control-select/index.css" layer(utilities);
|
|
2
|
+
|
|
3
|
+
@layer theme {
|
|
4
|
+
:root,
|
|
5
|
+
:host {
|
|
6
|
+
--x-control-select-icon-mask: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M12.53 16.28a.75.75 0 0 1-1.06 0l-7.5-7.5a.75.75 0 0 1 1.06-1.06L12 14.69l6.97-6.97a.75.75 0 1 1 1.06 1.06l-7.5 7.5Z" clip-rule="evenodd" /></svg>');
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
@import "winduum/src/components/drawer/props/default.css";
|
|
2
|
-
@import "winduum/src/components/drawer/props/content.css";
|
|
3
|
-
@import "winduum/src/components/drawer/default.css";
|
|
4
|
-
@import "winduum/src/components/drawer/content.css";
|
|
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
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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
|
+
}
|
|
10
11
|
|
|
11
|
-
.x-drawer-content {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
.x-drawer-content {
|
|
13
|
+
overflow-y: auto;
|
|
14
|
+
overscroll-behavior: contain;
|
|
15
|
+
}
|
|
14
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "winduum/src/components/field/
|
|
1
|
+
@import "winduum/src/components/field/default.css" layer(utilities);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/group/
|
|
1
|
+
@import "winduum/src/components/group/default.css" layer(utilities);
|
|
2
|
+
@import "winduum/src/components/group/vertical.css" layer(utilities);
|
|
@@ -1,4 +1,35 @@
|
|
|
1
|
-
@import "winduum/src/components/heading/props/default.css";
|
|
2
|
-
@import "winduum/src/components/heading/default.css";
|
|
3
|
-
|
|
4
|
-
@
|
|
1
|
+
@import "winduum/src/components/heading/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/heading/default.css" layer(utilities);
|
|
3
|
+
|
|
4
|
+
@layer theme {
|
|
5
|
+
:root,
|
|
6
|
+
:host {
|
|
7
|
+
--x-heading-font-size: var(--text-4xl);
|
|
8
|
+
--x-heading-font-weight: var(--font-weight-medium);
|
|
9
|
+
--x-heading-line-height: 1.2;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@utility xs {
|
|
14
|
+
.x-heading:is(&) {
|
|
15
|
+
--x-heading-font-size: var(--text-2xl);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@utility sm {
|
|
20
|
+
.x-heading:is(&) {
|
|
21
|
+
--x-heading-font-size: var(--text-3xl);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
@utility lg {
|
|
26
|
+
.x-heading:is(&) {
|
|
27
|
+
--x-heading-font-size: var(--text-5xl);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@utility xl {
|
|
32
|
+
.x-heading:is(&) {
|
|
33
|
+
--x-heading-font-size: var(--text-6xl);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/image/
|
|
1
|
+
@import "winduum/src/components/image/default.css" layer(utilities);
|
|
2
|
+
@import "winduum/src/components/image/avatar.css" layer(utilities);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/info/
|
|
1
|
+
@import "winduum/src/components/info/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/info/default.css" layer(utilities);
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
@import "winduum/src/components/label/
|
|
1
|
+
@import "winduum/src/components/label/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/label/default.css" layer(utilities);
|
|
3
|
+
|
|
4
|
+
@layer theme {
|
|
5
|
+
:root,
|
|
6
|
+
:host {
|
|
7
|
+
--x-label-font-size: var(--text-2xs);
|
|
8
|
+
--x-label-line-height: calc(1em + 0.125rem);
|
|
9
|
+
--x-label-font-weight: var(--font-weight-medium);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/link/default.css";
|
|
2
|
-
@import "winduum/src/components/link/interactive.css";
|
|
1
|
+
@import "winduum/src/components/link/default.css" layer(utilities);
|
|
2
|
+
@import "winduum/src/components/link/interactive.css" layer(utilities);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/notice/
|
|
1
|
+
@import "winduum/src/components/notice/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/notice/default.css" layer(utilities);
|
|
@@ -1 +1,13 @@
|
|
|
1
|
-
@import "winduum/src/components/popover/
|
|
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
|
+
}
|
|
@@ -1 +1,6 @@
|
|
|
1
|
-
@import "winduum/src/components/progress/
|
|
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);
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
@import "winduum/src/components/range/
|
|
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);
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
@import "winduum/src/components/switch/
|
|
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);
|
|
@@ -1 +1,51 @@
|
|
|
1
|
-
@import "winduum/src/components/text/
|
|
1
|
+
@import "winduum/src/components/text/default.css" layer(utilities);
|
|
2
|
+
|
|
3
|
+
@layer theme {
|
|
4
|
+
:root,
|
|
5
|
+
:host {
|
|
6
|
+
--x-text-font-size: var(--text-base);
|
|
7
|
+
--x-text-line-height: 1.5;
|
|
8
|
+
--x-text-letter-spacing: -0.02em;
|
|
9
|
+
--x-text-content-bold: var(--font-weight-semibold);
|
|
10
|
+
--x-text-content-margin-block: calc(var(--spacing) * 4);
|
|
11
|
+
--x-text-heading-font-weight: var(--font-weight-medium);
|
|
12
|
+
--x-text-heading-line-height: 1.2;
|
|
13
|
+
--x-text-heading-margin-block: calc(var(--spacing) * 6) calc(var(--spacing) * 4);
|
|
14
|
+
--x-text-heading-1-font-size: var(--text-5xl);
|
|
15
|
+
--x-text-heading-2-font-size: var(--text-4xl);
|
|
16
|
+
--x-text-heading-3-font-size: var(--text-3xl);
|
|
17
|
+
--x-text-heading-4-font-size: var(--text-2xl);
|
|
18
|
+
--x-text-heading-5-font-size: var(--text-xl);
|
|
19
|
+
--x-text-heading-6-font-size: var(--text-lg);
|
|
20
|
+
--x-text-list-marker-size: 0.375em;
|
|
21
|
+
--x-text-hr-margin-block: 3em;
|
|
22
|
+
--x-text-blockquote-font-size: var(--text-lg);
|
|
23
|
+
--x-text-blockquote-margin-block: calc(var(--spacing) * 9);
|
|
24
|
+
--x-text-blockquote-border-inline-start-width: 0.125rem;
|
|
25
|
+
--x-text-blockquote-border-inline-start-color: var(--color-main);
|
|
26
|
+
--x-text-figure-margin-block: calc(var(--spacing) * 12);
|
|
27
|
+
--x-text-img-border-radius: var(--radius-2xl);
|
|
28
|
+
--x-text-figcaption-font-weight: var(--font-weight-normal);
|
|
29
|
+
--x-text-figcaption-margin-block-start: 0.5rem;
|
|
30
|
+
--x-text-figcaption-padding-inline-start: 0.5rem;
|
|
31
|
+
--x-text-figcaption-border-inline-start: 0.125rem solid var(--color-accent);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@utility lg {
|
|
36
|
+
.x-text:is(&) {
|
|
37
|
+
--x-text-font-size: var(--text-lg);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@utility sm {
|
|
42
|
+
.x-text:is(&) {
|
|
43
|
+
--x-text-font-size: var(--text-sm);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@utility xs {
|
|
48
|
+
.x-text:is(&) {
|
|
49
|
+
--x-text-font-size: var(--text-xs);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
@import "winduum/src/components/title/props/default.css";
|
|
2
|
-
@import "winduum/src/components/title/default.css";
|
|
3
|
-
|
|
4
|
-
@
|
|
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);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/toaster/
|
|
2
|
-
@import "winduum/src/components/
|
|
1
|
+
@import "winduum/src/components/toaster/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/toaster/default.css" layer(utilities);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/dialog/props/default.css";
|
|
2
|
-
@import "winduum/src/components/dialog/default.css";
|
|
1
|
+
@import "winduum/src/components/dialog/props/default.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/dialog/default.css" layer(utilities);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@import "winduum/src/components/dialog/props/content.css";
|
|
2
|
-
@import "winduum/src/components/dialog/content.css";
|
|
1
|
+
@import "winduum/src/components/dialog/props/content.css" layer(theme);
|
|
2
|
+
@import "winduum/src/components/dialog/content.css" layer(utilities);
|
|
@@ -3,5 +3,5 @@
|
|
|
3
3
|
line-height: 28px;
|
|
4
4
|
font-weight: 700;
|
|
5
5
|
mso-line-height-rule: exactly;
|
|
6
|
-
font-family:
|
|
6
|
+
font-family: var(--default-font-family);
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.x-main {
|
|
2
|
-
font-family:
|
|
2
|
+
font-family: var(--default-font-family);
|
|
3
3
|
background-color: var(--color-body);
|
|
4
4
|
color: var(--color-main);
|
|
5
5
|
color-scheme: light;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
@import "tailwindcss/
|
|
2
|
-
@import "tailwindcss/components.css";
|
|
3
|
-
@import "tailwindcss/utilities.css";
|
|
4
|
-
@import "tailwindcss/variants.css";
|
|
1
|
+
@import "tailwindcss/utilities" source(none);
|
|
5
2
|
@import "./base/+.css";
|
|
6
3
|
@import "./theme/config.css";
|
|
7
4
|
@import "./theme/default.css";
|
|
8
5
|
@import "./components/+.css";
|
|
9
6
|
@import "./utils/+.css";
|
|
7
|
+
|
|
8
|
+
@source "../../templates/emails";
|
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
--
|
|
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: 20px;
|
|
3
14
|
--radius: 12px;
|
|
4
15
|
--container: 600px;
|
|
5
16
|
}
|
|
17
|
+
|
|
18
|
+
@custom-media --media-container (width < 640px);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
@utility container {
|
|
2
2
|
min-width: var(--container);
|
|
3
3
|
width: var(--container);
|
|
4
4
|
|
|
5
|
-
@media (
|
|
5
|
+
@media (--media-container) {
|
|
6
6
|
min-width: 100% !important;
|
|
7
7
|
width: 100% !important;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
@utility underline {
|
|
12
12
|
text-decoration: underline;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
@utility border-r {
|
|
16
16
|
border-right: 1px solid;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
@utility border-l {
|
|
20
20
|
border-left: 1px solid;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
@utility border-b {
|
|
24
24
|
border-bottom: 1px solid;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
@utility border-t {
|
|
28
28
|
border-top: 1px solid;
|
|
29
29
|
}
|
package/src/styles/main.css
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
@import "
|
|
2
|
-
@import "tailwindcss/
|
|
3
|
-
@import "
|
|
4
|
-
@import "
|
|
5
|
-
@import "./
|
|
6
|
-
@import "./components/+.css"
|
|
7
|
-
@import "./utils/+.css"
|
|
8
|
-
@import "tailwindcss/
|
|
9
|
-
@import "tailwindcss/
|
|
10
|
-
@import "
|
|
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) source("../");
|
|
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";
|