@moduix/react 2.1.0 → 2.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 +13 -14
- package/dist/components/accordion/Accordion.css +47 -47
- package/dist/components/alert/Alert.css +62 -46
- package/dist/components/angle-slider/AngleSlider.css +65 -64
- package/dist/components/aspect-ratio/AspectRatio.css +2 -2
- package/dist/components/avatar/Avatar.css +26 -26
- package/dist/components/badge/Badge.css +34 -34
- package/dist/components/bleed/Bleed.css +13 -13
- package/dist/components/breadcrumbs/Breadcrumbs.css +28 -28
- package/dist/components/button/Button.css +81 -78
- package/dist/components/card/Card.css +46 -46
- package/dist/components/carousel/Carousel.css +57 -57
- package/dist/components/checkbox/Checkbox.css +40 -40
- package/dist/components/clipboard/Clipboard.css +68 -59
- package/dist/components/close-button/CloseButton.css +17 -17
- package/dist/components/collapsible/Collapsible.css +40 -38
- package/dist/components/color-picker/ColorPicker.css +155 -151
- package/dist/components/combobox/Combobox.css +118 -115
- package/dist/components/command-palette/CommandPalette.css +172 -177
- package/dist/components/command-palette/CommandPalette.module.js +0 -1
- package/dist/components/container/Container.css +12 -12
- package/dist/components/date-input/DateInput.css +41 -40
- package/dist/components/date-picker/DatePicker.css +174 -172
- package/dist/components/dialog/Dialog.css +84 -79
- package/dist/components/drawer/Drawer.css +126 -108
- package/dist/components/editable/Editable.css +63 -61
- package/dist/components/empty/Empty.css +25 -25
- package/dist/components/field/Field.css +45 -45
- package/dist/components/fieldset/Fieldset.css +22 -22
- package/dist/components/file-upload/FileUpload.css +128 -125
- package/dist/components/floating-panel/FloatingPanel.css +114 -110
- package/dist/components/heading/Heading.css +26 -26
- package/dist/components/highlight/Highlight.css +8 -8
- package/dist/components/hover-card/HoverCard.css +49 -47
- package/dist/components/image/Image.css +2 -2
- package/dist/components/image-cropper/ImageCropper.css +63 -60
- package/dist/components/input/Input.css +46 -45
- package/dist/components/input-group/InputGroup.css +71 -70
- package/dist/components/kbd/Kbd.css +16 -16
- package/dist/components/lightbox/Lightbox.css +80 -77
- package/dist/components/list/List.css +32 -32
- package/dist/components/listbox/Listbox.css +120 -117
- package/dist/components/marquee/Marquee.css +16 -16
- package/dist/components/menu/Menu.css +121 -120
- package/dist/components/native-select/NativeSelect.css +42 -41
- package/dist/components/number-input/NumberInput.css +59 -56
- package/dist/components/pagination/Pagination.css +35 -34
- package/dist/components/password-input/PasswordInput.css +60 -59
- package/dist/components/pin-input/PinInput.css +35 -35
- package/dist/components/popover/Popover.css +81 -77
- package/dist/components/progress-circular/ProgressCircular.css +20 -20
- package/dist/components/progress-linear/ProgressLinear.css +29 -28
- package/dist/components/qr-code/QrCode.css +39 -35
- package/dist/components/radio-group/RadioGroup.css +48 -48
- package/dist/components/rating-group/RatingGroup.css +30 -30
- package/dist/components/scroll-area/ScrollArea.css +34 -34
- package/dist/components/segment-group/SegmentGroup.css +37 -37
- package/dist/components/select/Select.css +118 -126
- package/dist/components/select/Select.d.ts +0 -5
- package/dist/components/select/Select.js +0 -8
- package/dist/components/select/Select.module.js +0 -1
- package/dist/components/separator/Separator.css +13 -13
- package/dist/components/sidebar/Sidebar.css +142 -142
- package/dist/components/signature-pad/SignaturePad.css +50 -50
- package/dist/components/skeleton/Skeleton.css +7 -5
- package/dist/components/slider/Slider.css +61 -61
- package/dist/components/spinner/Spinner.css +12 -12
- package/dist/components/split-button/SplitButton.css +12 -12
- package/dist/components/splitter/Splitter.css +63 -62
- package/dist/components/splitter/Splitter.js +2 -2
- package/dist/components/stack/Stack.css +4 -4
- package/dist/components/stack/Stack.js +3 -3
- package/dist/components/steps/Steps.css +89 -89
- package/dist/components/swap/Swap.css +7 -7
- package/dist/components/switch/Switch.css +59 -57
- package/dist/components/table/Table.css +58 -56
- package/dist/components/tabs/Tabs.css +64 -62
- package/dist/components/tag/Tag.css +45 -45
- package/dist/components/tags-input/TagsInput.css +92 -86
- package/dist/components/text/Text.css +23 -23
- package/dist/components/text/Text.js +1 -1
- package/dist/components/textarea/Textarea.css +27 -26
- package/dist/components/timer/Timer.css +38 -37
- package/dist/components/toast/Toast.css +94 -79
- package/dist/components/toggle/Toggle.css +66 -66
- package/dist/components/toggle-group/ToggleGroup.css +16 -16
- package/dist/components/tooltip/Tooltip.css +56 -53
- package/dist/components/tour/Tour.css +121 -117
- package/dist/components/tree-view/TreeView.css +88 -86
- package/dist/components/typeset/Typeset.css +61 -61
- package/dist/lib/moduix/presets/contrast.css +59 -60
- package/dist/lib/moduix/presets/dense.css +72 -73
- package/dist/lib/moduix/presets/soft.css +71 -72
- package/dist/lib/moduix/styles/reset.css +1 -1
- package/dist/lib/moduix/styles/style.css +230 -226
- package/package.json +1 -1
|
@@ -1,65 +1,64 @@
|
|
|
1
1
|
[data-moduix-theme="contrast"] {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--card: oklch(
|
|
6
|
-
--
|
|
7
|
-
--popover: oklch(
|
|
8
|
-
--
|
|
9
|
-
--primary: oklch(
|
|
10
|
-
--
|
|
11
|
-
--secondary: oklch(
|
|
12
|
-
--
|
|
13
|
-
--muted: oklch(
|
|
14
|
-
--
|
|
15
|
-
--accent: oklch(
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--overlay: oklch(9% .018 250 / .
|
|
21
|
-
--
|
|
22
|
-
--sidebar: oklch(
|
|
23
|
-
--sidebar-
|
|
24
|
-
--sidebar-primary: oklch(
|
|
25
|
-
--sidebar-
|
|
26
|
-
--sidebar-accent: oklch(
|
|
27
|
-
--sidebar-
|
|
28
|
-
--sidebar-
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--shadow-
|
|
32
|
-
--shadow-
|
|
33
|
-
--shadow-lg: 0 16px 30px #0f172a2e;
|
|
2
|
+
--moduix-background: oklch(99.5% .001 250);
|
|
3
|
+
--moduix-foreground: oklch(14.5% .018 250);
|
|
4
|
+
--moduix-card: oklch(100% 0 0);
|
|
5
|
+
--moduix-card-foreground: oklch(14.5% .018 250);
|
|
6
|
+
--moduix-popover: oklch(100% 0 0);
|
|
7
|
+
--moduix-popover-foreground: oklch(14.5% .018 250);
|
|
8
|
+
--moduix-primary: oklch(46% .2 255);
|
|
9
|
+
--moduix-primary-foreground: oklch(100% 0 0);
|
|
10
|
+
--moduix-secondary: oklch(94% .012 250);
|
|
11
|
+
--moduix-secondary-foreground: oklch(18% .025 250);
|
|
12
|
+
--moduix-muted: oklch(93% .01 250);
|
|
13
|
+
--moduix-muted-foreground: oklch(39% .026 250);
|
|
14
|
+
--moduix-accent: oklch(90% .04 245);
|
|
15
|
+
--moduix-accent-foreground: oklch(16% .04 250);
|
|
16
|
+
--moduix-border: oklch(72% .025 250);
|
|
17
|
+
--moduix-input: oklch(62% .035 250);
|
|
18
|
+
--moduix-ring: oklch(50% .19 255);
|
|
19
|
+
--moduix-overlay: oklch(9% .018 250 / .38);
|
|
20
|
+
--moduix-overlay-foreground: oklch(9% .018 250 / .12);
|
|
21
|
+
--moduix-sidebar: oklch(96.5% .005 250);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(14.5% .018 250);
|
|
23
|
+
--moduix-sidebar-primary: oklch(46% .2 255);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(100% 0 0);
|
|
25
|
+
--moduix-sidebar-accent: oklch(90% .04 245);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(16% .04 250);
|
|
27
|
+
--moduix-sidebar-border: oklch(72% .025 250);
|
|
28
|
+
--moduix-sidebar-ring: oklch(50% .19 255);
|
|
29
|
+
--moduix-radius: .375rem;
|
|
30
|
+
--moduix-shadow-sm: 0 1px 2px #0f172a1a;
|
|
31
|
+
--moduix-shadow-md: 0 4px 10px #0f172a24;
|
|
32
|
+
--moduix-shadow-lg: 0 16px 30px #0f172a2e;
|
|
34
33
|
|
|
35
|
-
&
|
|
34
|
+
&[data-moduix-color-scheme="dark"], & [data-moduix-color-scheme="dark"] {
|
|
36
35
|
color-scheme: dark;
|
|
37
|
-
--background: oklch(11% .018 250);
|
|
38
|
-
--foreground: oklch(98.5% .004 250);
|
|
39
|
-
--card: oklch(15.5% .022 250);
|
|
40
|
-
--card-foreground: oklch(98.5% .004 250);
|
|
41
|
-
--popover: oklch(15.5% .022 250);
|
|
42
|
-
--popover-foreground: oklch(98.5% .004 250);
|
|
43
|
-
--primary: oklch(76% .13 255);
|
|
44
|
-
--primary-foreground: oklch(12% .02 250);
|
|
45
|
-
--secondary: oklch(24% .026 250);
|
|
46
|
-
--secondary-foreground: oklch(98.5% .004 250);
|
|
47
|
-
--muted: oklch(22.5% .024 250);
|
|
48
|
-
--muted-foreground: oklch(76% .018 250);
|
|
49
|
-
--accent: oklch(30% .06 250);
|
|
50
|
-
--accent-foreground: oklch(98.5% .004 250);
|
|
51
|
-
--border: oklch(80% .025 250 / .34);
|
|
52
|
-
--input: oklch(82% .025 250 / .42);
|
|
53
|
-
--ring: oklch(74% .13 255);
|
|
54
|
-
--overlay: oklch(4% .014 250 / .84);
|
|
55
|
-
--overlay-foreground: oklch(98.5% .004 250 / .12);
|
|
56
|
-
--sidebar: oklch(13% .02 250);
|
|
57
|
-
--sidebar-foreground: oklch(98.5% .004 250);
|
|
58
|
-
--sidebar-primary: oklch(76% .13 255);
|
|
59
|
-
--sidebar-primary-foreground: oklch(12% .02 250);
|
|
60
|
-
--sidebar-accent: oklch(30% .06 250);
|
|
61
|
-
--sidebar-accent-foreground: oklch(98.5% .004 250);
|
|
62
|
-
--sidebar-border: oklch(80% .025 250 / .34);
|
|
63
|
-
--sidebar-ring: oklch(74% .13 255);
|
|
36
|
+
--moduix-background: oklch(11% .018 250);
|
|
37
|
+
--moduix-foreground: oklch(98.5% .004 250);
|
|
38
|
+
--moduix-card: oklch(15.5% .022 250);
|
|
39
|
+
--moduix-card-foreground: oklch(98.5% .004 250);
|
|
40
|
+
--moduix-popover: oklch(15.5% .022 250);
|
|
41
|
+
--moduix-popover-foreground: oklch(98.5% .004 250);
|
|
42
|
+
--moduix-primary: oklch(76% .13 255);
|
|
43
|
+
--moduix-primary-foreground: oklch(12% .02 250);
|
|
44
|
+
--moduix-secondary: oklch(24% .026 250);
|
|
45
|
+
--moduix-secondary-foreground: oklch(98.5% .004 250);
|
|
46
|
+
--moduix-muted: oklch(22.5% .024 250);
|
|
47
|
+
--moduix-muted-foreground: oklch(76% .018 250);
|
|
48
|
+
--moduix-accent: oklch(30% .06 250);
|
|
49
|
+
--moduix-accent-foreground: oklch(98.5% .004 250);
|
|
50
|
+
--moduix-border: oklch(80% .025 250 / .34);
|
|
51
|
+
--moduix-input: oklch(82% .025 250 / .42);
|
|
52
|
+
--moduix-ring: oklch(74% .13 255);
|
|
53
|
+
--moduix-overlay: oklch(4% .014 250 / .84);
|
|
54
|
+
--moduix-overlay-foreground: oklch(98.5% .004 250 / .12);
|
|
55
|
+
--moduix-sidebar: oklch(13% .02 250);
|
|
56
|
+
--moduix-sidebar-foreground: oklch(98.5% .004 250);
|
|
57
|
+
--moduix-sidebar-primary: oklch(76% .13 255);
|
|
58
|
+
--moduix-sidebar-primary-foreground: oklch(12% .02 250);
|
|
59
|
+
--moduix-sidebar-accent: oklch(30% .06 250);
|
|
60
|
+
--moduix-sidebar-accent-foreground: oklch(98.5% .004 250);
|
|
61
|
+
--moduix-sidebar-border: oklch(80% .025 250 / .34);
|
|
62
|
+
--moduix-sidebar-ring: oklch(74% .13 255);
|
|
64
63
|
}
|
|
65
64
|
}
|
|
@@ -1,78 +1,77 @@
|
|
|
1
1
|
[data-moduix-theme="dense"] {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--card: oklch(
|
|
6
|
-
--
|
|
7
|
-
--popover: oklch(
|
|
8
|
-
--
|
|
9
|
-
--primary: oklch(
|
|
10
|
-
--
|
|
11
|
-
--secondary: oklch(
|
|
12
|
-
--
|
|
13
|
-
--muted: oklch(
|
|
14
|
-
--
|
|
15
|
-
--accent: oklch(
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--overlay: oklch(16% .02 255 / .
|
|
21
|
-
--
|
|
22
|
-
--sidebar: oklch(
|
|
23
|
-
--sidebar-
|
|
24
|
-
--sidebar-primary: oklch(
|
|
25
|
-
--sidebar-
|
|
26
|
-
--sidebar-accent: oklch(
|
|
27
|
-
--sidebar-
|
|
28
|
-
--sidebar-
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--spacing-
|
|
32
|
-
--spacing-
|
|
33
|
-
--spacing-
|
|
34
|
-
--spacing-
|
|
35
|
-
--spacing-
|
|
36
|
-
--spacing-
|
|
37
|
-
--spacing-
|
|
38
|
-
--
|
|
39
|
-
--size-
|
|
40
|
-
--size-
|
|
41
|
-
--size-
|
|
42
|
-
--size-
|
|
43
|
-
--
|
|
44
|
-
--shadow-
|
|
45
|
-
--shadow-
|
|
46
|
-
--shadow-lg: 0 12px 24px #0f172a1f;
|
|
2
|
+
--moduix-background: oklch(98.5% .004 255);
|
|
3
|
+
--moduix-foreground: oklch(18.5% .014 255);
|
|
4
|
+
--moduix-card: oklch(99.8% .002 255);
|
|
5
|
+
--moduix-card-foreground: oklch(18.5% .014 255);
|
|
6
|
+
--moduix-popover: oklch(99.8% .002 255);
|
|
7
|
+
--moduix-popover-foreground: oklch(18.5% .014 255);
|
|
8
|
+
--moduix-primary: oklch(48% .16 255);
|
|
9
|
+
--moduix-primary-foreground: oklch(99% .002 255);
|
|
10
|
+
--moduix-secondary: oklch(95.8% .009 255);
|
|
11
|
+
--moduix-secondary-foreground: oklch(24% .02 255);
|
|
12
|
+
--moduix-muted: oklch(95.2% .008 255);
|
|
13
|
+
--moduix-muted-foreground: oklch(47% .02 255);
|
|
14
|
+
--moduix-accent: oklch(92.5% .02 255);
|
|
15
|
+
--moduix-accent-foreground: oklch(22% .025 255);
|
|
16
|
+
--moduix-border: oklch(88% .015 255);
|
|
17
|
+
--moduix-input: oklch(84% .018 255);
|
|
18
|
+
--moduix-ring: oklch(56% .14 255);
|
|
19
|
+
--moduix-overlay: oklch(16% .02 255 / .24);
|
|
20
|
+
--moduix-overlay-foreground: oklch(16% .02 255 / .08);
|
|
21
|
+
--moduix-sidebar: oklch(97.2% .007 255);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(18.5% .014 255);
|
|
23
|
+
--moduix-sidebar-primary: oklch(48% .16 255);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(99% .002 255);
|
|
25
|
+
--moduix-sidebar-accent: oklch(92.5% .02 255);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(22% .025 255);
|
|
27
|
+
--moduix-sidebar-border: oklch(88% .015 255);
|
|
28
|
+
--moduix-sidebar-ring: oklch(56% .14 255);
|
|
29
|
+
--moduix-radius: .45rem;
|
|
30
|
+
--moduix-spacing-1: 3px;
|
|
31
|
+
--moduix-spacing-2: 6px;
|
|
32
|
+
--moduix-spacing-3: 10px;
|
|
33
|
+
--moduix-spacing-4: 14px;
|
|
34
|
+
--moduix-spacing-5: 18px;
|
|
35
|
+
--moduix-spacing-6: 22px;
|
|
36
|
+
--moduix-spacing-8: 28px;
|
|
37
|
+
--moduix-spacing-10: 36px;
|
|
38
|
+
--moduix-size-xs: 22px;
|
|
39
|
+
--moduix-size-sm: 30px;
|
|
40
|
+
--moduix-size-md: 34px;
|
|
41
|
+
--moduix-size-lg: 38px;
|
|
42
|
+
--moduix-size-xl: 44px;
|
|
43
|
+
--moduix-shadow-sm: 0 1px 2px #0f172a14;
|
|
44
|
+
--moduix-shadow-md: 0 3px 8px #0f172a1a;
|
|
45
|
+
--moduix-shadow-lg: 0 12px 24px #0f172a1f;
|
|
47
46
|
|
|
48
|
-
&
|
|
47
|
+
&[data-moduix-color-scheme="dark"], & [data-moduix-color-scheme="dark"] {
|
|
49
48
|
color-scheme: dark;
|
|
50
|
-
--background: oklch(16% .014 255);
|
|
51
|
-
--foreground: oklch(97% .003 255);
|
|
52
|
-
--card: oklch(20.5% .016 255);
|
|
53
|
-
--card-foreground: oklch(97% .003 255);
|
|
54
|
-
--popover: oklch(20.5% .016 255);
|
|
55
|
-
--popover-foreground: oklch(97% .003 255);
|
|
56
|
-
--primary: oklch(76% .13 255);
|
|
57
|
-
--primary-foreground: oklch(17% .018 255);
|
|
58
|
-
--secondary: oklch(25.5% .018 255);
|
|
59
|
-
--secondary-foreground: oklch(97% .003 255);
|
|
60
|
-
--muted: oklch(25% .016 255);
|
|
61
|
-
--muted-foreground: oklch(71% .018 255);
|
|
62
|
-
--accent: oklch(31% .03 255);
|
|
63
|
-
--accent-foreground: oklch(97% .003 255);
|
|
64
|
-
--border: oklch(72% .02 255 / .25);
|
|
65
|
-
--input: oklch(76% .02 255 / .32);
|
|
66
|
-
--ring: oklch(70% .12 255);
|
|
67
|
-
--overlay: oklch(10% .02 255 / .78);
|
|
68
|
-
--overlay-foreground: oklch(97% .003 255 / .09);
|
|
69
|
-
--sidebar: oklch(19% .016 255);
|
|
70
|
-
--sidebar-foreground: oklch(97% .003 255);
|
|
71
|
-
--sidebar-primary: oklch(76% .13 255);
|
|
72
|
-
--sidebar-primary-foreground: oklch(17% .018 255);
|
|
73
|
-
--sidebar-accent: oklch(31% .03 255);
|
|
74
|
-
--sidebar-accent-foreground: oklch(97% .003 255);
|
|
75
|
-
--sidebar-border: oklch(72% .02 255 / .25);
|
|
76
|
-
--sidebar-ring: oklch(70% .12 255);
|
|
49
|
+
--moduix-background: oklch(16% .014 255);
|
|
50
|
+
--moduix-foreground: oklch(97% .003 255);
|
|
51
|
+
--moduix-card: oklch(20.5% .016 255);
|
|
52
|
+
--moduix-card-foreground: oklch(97% .003 255);
|
|
53
|
+
--moduix-popover: oklch(20.5% .016 255);
|
|
54
|
+
--moduix-popover-foreground: oklch(97% .003 255);
|
|
55
|
+
--moduix-primary: oklch(76% .13 255);
|
|
56
|
+
--moduix-primary-foreground: oklch(17% .018 255);
|
|
57
|
+
--moduix-secondary: oklch(25.5% .018 255);
|
|
58
|
+
--moduix-secondary-foreground: oklch(97% .003 255);
|
|
59
|
+
--moduix-muted: oklch(25% .016 255);
|
|
60
|
+
--moduix-muted-foreground: oklch(71% .018 255);
|
|
61
|
+
--moduix-accent: oklch(31% .03 255);
|
|
62
|
+
--moduix-accent-foreground: oklch(97% .003 255);
|
|
63
|
+
--moduix-border: oklch(72% .02 255 / .25);
|
|
64
|
+
--moduix-input: oklch(76% .02 255 / .32);
|
|
65
|
+
--moduix-ring: oklch(70% .12 255);
|
|
66
|
+
--moduix-overlay: oklch(10% .02 255 / .78);
|
|
67
|
+
--moduix-overlay-foreground: oklch(97% .003 255 / .09);
|
|
68
|
+
--moduix-sidebar: oklch(19% .016 255);
|
|
69
|
+
--moduix-sidebar-foreground: oklch(97% .003 255);
|
|
70
|
+
--moduix-sidebar-primary: oklch(76% .13 255);
|
|
71
|
+
--moduix-sidebar-primary-foreground: oklch(17% .018 255);
|
|
72
|
+
--moduix-sidebar-accent: oklch(31% .03 255);
|
|
73
|
+
--moduix-sidebar-accent-foreground: oklch(97% .003 255);
|
|
74
|
+
--moduix-sidebar-border: oklch(72% .02 255 / .25);
|
|
75
|
+
--moduix-sidebar-ring: oklch(70% .12 255);
|
|
77
76
|
}
|
|
78
77
|
}
|
|
@@ -1,77 +1,76 @@
|
|
|
1
1
|
[data-moduix-theme="soft"] {
|
|
2
|
-
|
|
3
|
-
--
|
|
4
|
-
--
|
|
5
|
-
--card: oklch(
|
|
6
|
-
--
|
|
7
|
-
--popover: oklch(
|
|
8
|
-
--
|
|
9
|
-
--primary: oklch(
|
|
10
|
-
--
|
|
11
|
-
--secondary: oklch(
|
|
12
|
-
--
|
|
13
|
-
--muted: oklch(
|
|
14
|
-
--
|
|
15
|
-
--accent: oklch(
|
|
16
|
-
--
|
|
17
|
-
--
|
|
18
|
-
--
|
|
19
|
-
--
|
|
20
|
-
--overlay: oklch(22% .035 310 / .
|
|
21
|
-
--
|
|
22
|
-
--sidebar: oklch(
|
|
23
|
-
--sidebar-
|
|
24
|
-
--sidebar-primary: oklch(
|
|
25
|
-
--sidebar-
|
|
26
|
-
--sidebar-accent: oklch(
|
|
27
|
-
--sidebar-
|
|
28
|
-
--sidebar-
|
|
29
|
-
--
|
|
30
|
-
--
|
|
31
|
-
--spacing-
|
|
32
|
-
--spacing-
|
|
33
|
-
--spacing-
|
|
34
|
-
--spacing-
|
|
35
|
-
--spacing-
|
|
36
|
-
--spacing-
|
|
37
|
-
--
|
|
38
|
-
--size-
|
|
39
|
-
--size-
|
|
40
|
-
--size-
|
|
41
|
-
--size-
|
|
42
|
-
--
|
|
43
|
-
--shadow-
|
|
44
|
-
--shadow-
|
|
45
|
-
--shadow-lg: 0 18px 38px #61236b29;
|
|
2
|
+
--moduix-background: oklch(98.5% .012 320);
|
|
3
|
+
--moduix-foreground: oklch(22.5% .024 315);
|
|
4
|
+
--moduix-card: oklch(99.8% .004 320);
|
|
5
|
+
--moduix-card-foreground: oklch(22.5% .024 315);
|
|
6
|
+
--moduix-popover: oklch(99.8% .004 320);
|
|
7
|
+
--moduix-popover-foreground: oklch(22.5% .024 315);
|
|
8
|
+
--moduix-primary: oklch(54% .18 305);
|
|
9
|
+
--moduix-primary-foreground: oklch(99% .004 320);
|
|
10
|
+
--moduix-secondary: oklch(95.8% .018 320);
|
|
11
|
+
--moduix-secondary-foreground: oklch(30% .04 310);
|
|
12
|
+
--moduix-muted: oklch(95% .016 320);
|
|
13
|
+
--moduix-muted-foreground: oklch(50% .035 315);
|
|
14
|
+
--moduix-accent: oklch(92% .04 315);
|
|
15
|
+
--moduix-accent-foreground: oklch(29% .05 305);
|
|
16
|
+
--moduix-border: oklch(88% .025 320);
|
|
17
|
+
--moduix-input: oklch(84% .03 320);
|
|
18
|
+
--moduix-ring: oklch(61% .15 305);
|
|
19
|
+
--moduix-overlay: oklch(22% .035 310 / .22);
|
|
20
|
+
--moduix-overlay-foreground: oklch(22% .035 310 / .08);
|
|
21
|
+
--moduix-sidebar: oklch(97.5% .014 320);
|
|
22
|
+
--moduix-sidebar-foreground: oklch(22.5% .024 315);
|
|
23
|
+
--moduix-sidebar-primary: oklch(54% .18 305);
|
|
24
|
+
--moduix-sidebar-primary-foreground: oklch(99% .004 320);
|
|
25
|
+
--moduix-sidebar-accent: oklch(92% .04 315);
|
|
26
|
+
--moduix-sidebar-accent-foreground: oklch(29% .05 305);
|
|
27
|
+
--moduix-sidebar-border: oklch(88% .025 320);
|
|
28
|
+
--moduix-sidebar-ring: oklch(61% .15 305);
|
|
29
|
+
--moduix-radius: 1rem;
|
|
30
|
+
--moduix-spacing-2: 9px;
|
|
31
|
+
--moduix-spacing-3: 14px;
|
|
32
|
+
--moduix-spacing-4: 18px;
|
|
33
|
+
--moduix-spacing-5: 22px;
|
|
34
|
+
--moduix-spacing-6: 28px;
|
|
35
|
+
--moduix-spacing-8: 36px;
|
|
36
|
+
--moduix-spacing-10: 44px;
|
|
37
|
+
--moduix-size-xs: 26px;
|
|
38
|
+
--moduix-size-sm: 34px;
|
|
39
|
+
--moduix-size-md: 40px;
|
|
40
|
+
--moduix-size-lg: 44px;
|
|
41
|
+
--moduix-size-xl: 52px;
|
|
42
|
+
--moduix-shadow-sm: 0 2px 6px #61236b14;
|
|
43
|
+
--moduix-shadow-md: 0 8px 18px #61236b1f;
|
|
44
|
+
--moduix-shadow-lg: 0 18px 38px #61236b29;
|
|
46
45
|
|
|
47
|
-
&
|
|
46
|
+
&[data-moduix-color-scheme="dark"], & [data-moduix-color-scheme="dark"] {
|
|
48
47
|
color-scheme: dark;
|
|
49
|
-
--background: oklch(17% .018 315);
|
|
50
|
-
--foreground: oklch(97.2% .006 320);
|
|
51
|
-
--card: oklch(22% .022 315);
|
|
52
|
-
--card-foreground: oklch(97.2% .006 320);
|
|
53
|
-
--popover: oklch(22% .022 315);
|
|
54
|
-
--popover-foreground: oklch(97.2% .006 320);
|
|
55
|
-
--primary: oklch(78% .13 305);
|
|
56
|
-
--primary-foreground: oklch(23% .026 315);
|
|
57
|
-
--secondary: oklch(28.5% .03 315);
|
|
58
|
-
--secondary-foreground: oklch(97.2% .006 320);
|
|
59
|
-
--muted: oklch(27.5% .026 315);
|
|
60
|
-
--muted-foreground: oklch(74% .03 320);
|
|
61
|
-
--accent: oklch(34% .06 310);
|
|
62
|
-
--accent-foreground: oklch(97.2% .006 320);
|
|
63
|
-
--border: oklch(76% .035 320 / .24);
|
|
64
|
-
--input: oklch(76% .035 320 / .3);
|
|
65
|
-
--ring: oklch(74% .11 305);
|
|
66
|
-
--overlay: oklch(10% .02 315 / .8);
|
|
67
|
-
--overlay-foreground: oklch(97.2% .006 320 / .1);
|
|
68
|
-
--sidebar: oklch(20% .022 315);
|
|
69
|
-
--sidebar-foreground: oklch(97.2% .006 320);
|
|
70
|
-
--sidebar-primary: oklch(78% .13 305);
|
|
71
|
-
--sidebar-primary-foreground: oklch(23% .026 315);
|
|
72
|
-
--sidebar-accent: oklch(34% .06 310);
|
|
73
|
-
--sidebar-accent-foreground: oklch(97.2% .006 320);
|
|
74
|
-
--sidebar-border: oklch(76% .035 320 / .24);
|
|
75
|
-
--sidebar-ring: oklch(74% .11 305);
|
|
48
|
+
--moduix-background: oklch(17% .018 315);
|
|
49
|
+
--moduix-foreground: oklch(97.2% .006 320);
|
|
50
|
+
--moduix-card: oklch(22% .022 315);
|
|
51
|
+
--moduix-card-foreground: oklch(97.2% .006 320);
|
|
52
|
+
--moduix-popover: oklch(22% .022 315);
|
|
53
|
+
--moduix-popover-foreground: oklch(97.2% .006 320);
|
|
54
|
+
--moduix-primary: oklch(78% .13 305);
|
|
55
|
+
--moduix-primary-foreground: oklch(23% .026 315);
|
|
56
|
+
--moduix-secondary: oklch(28.5% .03 315);
|
|
57
|
+
--moduix-secondary-foreground: oklch(97.2% .006 320);
|
|
58
|
+
--moduix-muted: oklch(27.5% .026 315);
|
|
59
|
+
--moduix-muted-foreground: oklch(74% .03 320);
|
|
60
|
+
--moduix-accent: oklch(34% .06 310);
|
|
61
|
+
--moduix-accent-foreground: oklch(97.2% .006 320);
|
|
62
|
+
--moduix-border: oklch(76% .035 320 / .24);
|
|
63
|
+
--moduix-input: oklch(76% .035 320 / .3);
|
|
64
|
+
--moduix-ring: oklch(74% .11 305);
|
|
65
|
+
--moduix-overlay: oklch(10% .02 315 / .8);
|
|
66
|
+
--moduix-overlay-foreground: oklch(97.2% .006 320 / .1);
|
|
67
|
+
--moduix-sidebar: oklch(20% .022 315);
|
|
68
|
+
--moduix-sidebar-foreground: oklch(97.2% .006 320);
|
|
69
|
+
--moduix-sidebar-primary: oklch(78% .13 305);
|
|
70
|
+
--moduix-sidebar-primary-foreground: oklch(23% .026 315);
|
|
71
|
+
--moduix-sidebar-accent: oklch(34% .06 310);
|
|
72
|
+
--moduix-sidebar-accent-foreground: oklch(97.2% .006 320);
|
|
73
|
+
--moduix-sidebar-border: oklch(76% .035 320 / .24);
|
|
74
|
+
--moduix-sidebar-ring: oklch(74% .11 305);
|
|
76
75
|
}
|
|
77
76
|
}
|