@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,6 +1,6 @@
|
|
|
1
|
-
@layer
|
|
1
|
+
@layer moduix.reset;
|
|
2
2
|
|
|
3
|
-
@layer
|
|
3
|
+
@layer moduix.tokens {
|
|
4
4
|
@keyframes moduix-pulse {
|
|
5
5
|
50% {
|
|
6
6
|
opacity: .3;
|
|
@@ -44,258 +44,262 @@
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:root {
|
|
47
|
-
--animation-pulse: moduix-pulse 2.5s ease-in-out infinite;
|
|
48
|
-
--animation-fade-in: moduix-fade-in var(--duration-normal) var(--ease-out);
|
|
49
|
-
--animation-fade-out: moduix-fade-out var(--duration-normal) var(--ease-in);
|
|
50
|
-
--animation-slide-up: moduix-slide-up var(--duration-normal) var(--ease-out);
|
|
51
|
-
--animation-slide-down: moduix-slide-down var(--duration-normal)
|
|
52
|
-
--
|
|
47
|
+
--moduix-animation-pulse: moduix-pulse 2.5s ease-in-out infinite;
|
|
48
|
+
--moduix-animation-fade-in: moduix-fade-in var(--moduix-duration-normal) var(--moduix-ease-out);
|
|
49
|
+
--moduix-animation-fade-out: moduix-fade-out var(--moduix-duration-normal) var(--moduix-ease-in);
|
|
50
|
+
--moduix-animation-slide-up: moduix-slide-up var(--moduix-duration-normal) var(--moduix-ease-out);
|
|
51
|
+
--moduix-animation-slide-down: moduix-slide-down var(--moduix-duration-normal)
|
|
52
|
+
var(--moduix-ease-out);
|
|
53
|
+
--moduix-animation-spin: moduix-spin .75s linear infinite;
|
|
53
54
|
}
|
|
54
55
|
|
|
55
56
|
@media (prefers-reduced-motion: reduce) {
|
|
56
57
|
:root {
|
|
57
|
-
--animation-pulse: none;
|
|
58
|
-
--animation-fade-in: none;
|
|
59
|
-
--animation-fade-out: none;
|
|
60
|
-
--animation-slide-up: none;
|
|
61
|
-
--animation-slide-down: none;
|
|
62
|
-
--animation-spin: none;
|
|
58
|
+
--moduix-animation-pulse: none;
|
|
59
|
+
--moduix-animation-fade-in: none;
|
|
60
|
+
--moduix-animation-fade-out: none;
|
|
61
|
+
--moduix-animation-slide-up: none;
|
|
62
|
+
--moduix-animation-slide-down: none;
|
|
63
|
+
--moduix-animation-spin: none;
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
|
|
66
67
|
:root {
|
|
67
|
-
--border-width-sm: 1px;
|
|
68
|
-
--border-width-md: 2px;
|
|
69
|
-
--border-width-lg: 4px;
|
|
70
|
-
--focus-ring-width: var(--border-width-md);
|
|
71
|
-
--focus-ring-inset-width: var(--border-width-sm);
|
|
72
|
-
--focus-ring-offset: var(--spacing-0-5);
|
|
73
|
-
--focus-ring-inset-offset: calc(var(--border-width-sm) * -1);
|
|
68
|
+
--moduix-border-width-sm: 1px;
|
|
69
|
+
--moduix-border-width-md: 2px;
|
|
70
|
+
--moduix-border-width-lg: 4px;
|
|
71
|
+
--moduix-focus-ring-width: var(--moduix-border-width-md);
|
|
72
|
+
--moduix-focus-ring-inset-width: var(--moduix-border-width-sm);
|
|
73
|
+
--moduix-focus-ring-offset: var(--moduix-spacing-0-5);
|
|
74
|
+
--moduix-focus-ring-inset-offset: calc(var(--moduix-border-width-sm) * -1);
|
|
74
75
|
}
|
|
75
76
|
|
|
76
77
|
:root {
|
|
77
|
-
|
|
78
|
-
--
|
|
79
|
-
--
|
|
80
|
-
--card: oklch(
|
|
81
|
-
--
|
|
82
|
-
--popover: oklch(
|
|
83
|
-
--
|
|
84
|
-
--primary: oklch(
|
|
85
|
-
--
|
|
86
|
-
--secondary: oklch(
|
|
87
|
-
--
|
|
88
|
-
--muted: oklch(
|
|
89
|
-
--
|
|
90
|
-
--accent: oklch(
|
|
91
|
-
--
|
|
92
|
-
--destructive:
|
|
93
|
-
--
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
97
|
-
--
|
|
98
|
-
--
|
|
99
|
-
--overlay: oklch(17.5% .014 285 / .
|
|
100
|
-
--
|
|
101
|
-
--chart-
|
|
102
|
-
--chart-
|
|
103
|
-
--chart-
|
|
104
|
-
--chart-
|
|
105
|
-
--
|
|
106
|
-
--sidebar: oklch(
|
|
107
|
-
--sidebar-
|
|
108
|
-
--sidebar-primary: oklch(
|
|
109
|
-
--sidebar-
|
|
110
|
-
--sidebar-accent: oklch(
|
|
111
|
-
--sidebar-
|
|
112
|
-
--sidebar-
|
|
113
|
-
--sidebar-ring: oklch(62% .035 285);
|
|
78
|
+
--moduix-background: oklch(98.2% .003 285);
|
|
79
|
+
--moduix-foreground: oklch(17.5% .01 285);
|
|
80
|
+
--moduix-card: oklch(99.5% .002 285);
|
|
81
|
+
--moduix-card-foreground: oklch(17.5% .01 285);
|
|
82
|
+
--moduix-popover: oklch(99.5% .002 285);
|
|
83
|
+
--moduix-popover-foreground: oklch(17.5% .01 285);
|
|
84
|
+
--moduix-primary: oklch(23.5% .016 285);
|
|
85
|
+
--moduix-primary-foreground: oklch(98.2% .003 285);
|
|
86
|
+
--moduix-secondary: oklch(96% .006 285);
|
|
87
|
+
--moduix-secondary-foreground: oklch(23.5% .016 285);
|
|
88
|
+
--moduix-muted: oklch(95.5% .006 285);
|
|
89
|
+
--moduix-muted-foreground: oklch(48.5% .015 285);
|
|
90
|
+
--moduix-accent: oklch(95% .01 285);
|
|
91
|
+
--moduix-accent-foreground: oklch(23.5% .016 285);
|
|
92
|
+
--moduix-destructive: oklch(56.5% .235 22);
|
|
93
|
+
--moduix-destructive-foreground: var(--moduix-primary-foreground);
|
|
94
|
+
--moduix-success: oklch(62.7% .194 149.214);
|
|
95
|
+
--moduix-warning: oklch(79.5% .184 86.047);
|
|
96
|
+
--moduix-border: oklch(90.5% .008 285);
|
|
97
|
+
--moduix-input: oklch(90.5% .008 285);
|
|
98
|
+
--moduix-ring: oklch(62% .035 285);
|
|
99
|
+
--moduix-overlay: oklch(17.5% .014 285 / .2);
|
|
100
|
+
--moduix-overlay-foreground: oklch(17.5% .014 285 / .07);
|
|
101
|
+
--moduix-chart-1: oklch(65% .18 295);
|
|
102
|
+
--moduix-chart-2: oklch(70% .14 175);
|
|
103
|
+
--moduix-chart-3: oklch(72% .16 55);
|
|
104
|
+
--moduix-chart-4: oklch(60% .2 350);
|
|
105
|
+
--moduix-chart-5: oklch(68% .13 130);
|
|
106
|
+
--moduix-sidebar: oklch(97.5% .005 285);
|
|
107
|
+
--moduix-sidebar-foreground: oklch(17.5% .01 285);
|
|
108
|
+
--moduix-sidebar-primary: oklch(23.5% .016 285);
|
|
109
|
+
--moduix-sidebar-primary-foreground: oklch(98.2% .003 285);
|
|
110
|
+
--moduix-sidebar-accent: oklch(95% .01 285);
|
|
111
|
+
--moduix-sidebar-accent-foreground: oklch(23.5% .016 285);
|
|
112
|
+
--moduix-sidebar-border: oklch(90.5% .008 285);
|
|
113
|
+
--moduix-sidebar-ring: oklch(62% .035 285);
|
|
114
114
|
|
|
115
|
-
&
|
|
115
|
+
&[data-moduix-color-scheme="light"], & [data-moduix-color-scheme="light"] {
|
|
116
|
+
color-scheme: light;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&[data-moduix-color-scheme="dark"], & [data-moduix-color-scheme="dark"] {
|
|
116
120
|
color-scheme: dark;
|
|
117
|
-
--background: oklch(15.5% .008 285);
|
|
118
|
-
--foreground: oklch(96.8% .003 285);
|
|
119
|
-
--card: oklch(20% .011 285);
|
|
120
|
-
--card-foreground: oklch(96.8% .003 285);
|
|
121
|
-
--popover: oklch(20% .011 285);
|
|
122
|
-
--popover-foreground: oklch(96.8% .003 285);
|
|
123
|
-
--primary: oklch(91.8% .007 285);
|
|
124
|
-
--primary-foreground: oklch(20% .011 285);
|
|
125
|
-
--secondary: oklch(25.5% .012 285);
|
|
126
|
-
--secondary-foreground: oklch(96.8% .003 285);
|
|
127
|
-
--muted: oklch(25.5% .012 285);
|
|
128
|
-
--muted-foreground: oklch(70.5% .016 285);
|
|
129
|
-
--accent: oklch(29% .015 285);
|
|
130
|
-
--accent-foreground: oklch(96.8% .003 285);
|
|
131
|
-
--destructive: oklch(69% .185 18);
|
|
132
|
-
--destructive-foreground: var(--primary-foreground);
|
|
133
|
-
--success: oklch(62.7% .194 149.214);
|
|
134
|
-
--warning: oklch(79.5% .184 86.047);
|
|
135
|
-
--border: oklch(100% .004 285 / .13);
|
|
136
|
-
--input: oklch(100% .004 285 / .17);
|
|
137
|
-
--ring: oklch(58.5% .038 285);
|
|
138
|
-
--overlay: oklch(10.5% .012 285 / .74);
|
|
139
|
-
--overlay-foreground: oklch(96.8% .003 285 / .09);
|
|
140
|
-
--chart-1: oklch(72% .17 295);
|
|
141
|
-
--chart-2: oklch(76% .13 175);
|
|
142
|
-
--chart-3: oklch(78% .15 55);
|
|
143
|
-
--chart-4: oklch(67% .19 350);
|
|
144
|
-
--chart-5: oklch(74% .12 130);
|
|
145
|
-
--sidebar: oklch(20% .011 285);
|
|
146
|
-
--sidebar-foreground: oklch(96.8% .003 285);
|
|
147
|
-
--sidebar-primary: oklch(72% .17 295);
|
|
148
|
-
--sidebar-primary-foreground: oklch(15.5% .008 285);
|
|
149
|
-
--sidebar-accent: oklch(29% .015 285);
|
|
150
|
-
--sidebar-accent-foreground: oklch(96.8% .003 285);
|
|
151
|
-
--sidebar-border: oklch(100% .004 285 / .13);
|
|
152
|
-
--sidebar-ring: oklch(58.5% .038 285);
|
|
121
|
+
--moduix-background: oklch(15.5% .008 285);
|
|
122
|
+
--moduix-foreground: oklch(96.8% .003 285);
|
|
123
|
+
--moduix-card: oklch(20% .011 285);
|
|
124
|
+
--moduix-card-foreground: oklch(96.8% .003 285);
|
|
125
|
+
--moduix-popover: oklch(20% .011 285);
|
|
126
|
+
--moduix-popover-foreground: oklch(96.8% .003 285);
|
|
127
|
+
--moduix-primary: oklch(91.8% .007 285);
|
|
128
|
+
--moduix-primary-foreground: oklch(20% .011 285);
|
|
129
|
+
--moduix-secondary: oklch(25.5% .012 285);
|
|
130
|
+
--moduix-secondary-foreground: oklch(96.8% .003 285);
|
|
131
|
+
--moduix-muted: oklch(25.5% .012 285);
|
|
132
|
+
--moduix-muted-foreground: oklch(70.5% .016 285);
|
|
133
|
+
--moduix-accent: oklch(29% .015 285);
|
|
134
|
+
--moduix-accent-foreground: oklch(96.8% .003 285);
|
|
135
|
+
--moduix-destructive: oklch(69% .185 18);
|
|
136
|
+
--moduix-destructive-foreground: var(--moduix-primary-foreground);
|
|
137
|
+
--moduix-success: oklch(62.7% .194 149.214);
|
|
138
|
+
--moduix-warning: oklch(79.5% .184 86.047);
|
|
139
|
+
--moduix-border: oklch(100% .004 285 / .13);
|
|
140
|
+
--moduix-input: oklch(100% .004 285 / .17);
|
|
141
|
+
--moduix-ring: oklch(58.5% .038 285);
|
|
142
|
+
--moduix-overlay: oklch(10.5% .012 285 / .74);
|
|
143
|
+
--moduix-overlay-foreground: oklch(96.8% .003 285 / .09);
|
|
144
|
+
--moduix-chart-1: oklch(72% .17 295);
|
|
145
|
+
--moduix-chart-2: oklch(76% .13 175);
|
|
146
|
+
--moduix-chart-3: oklch(78% .15 55);
|
|
147
|
+
--moduix-chart-4: oklch(67% .19 350);
|
|
148
|
+
--moduix-chart-5: oklch(74% .12 130);
|
|
149
|
+
--moduix-sidebar: oklch(20% .011 285);
|
|
150
|
+
--moduix-sidebar-foreground: oklch(96.8% .003 285);
|
|
151
|
+
--moduix-sidebar-primary: oklch(72% .17 295);
|
|
152
|
+
--moduix-sidebar-primary-foreground: oklch(15.5% .008 285);
|
|
153
|
+
--moduix-sidebar-accent: oklch(29% .015 285);
|
|
154
|
+
--moduix-sidebar-accent-foreground: oklch(96.8% .003 285);
|
|
155
|
+
--moduix-sidebar-border: oklch(100% .004 285 / .13);
|
|
156
|
+
--moduix-sidebar-ring: oklch(58.5% .038 285);
|
|
153
157
|
}
|
|
154
158
|
|
|
155
|
-
--color-background: var(--background);
|
|
156
|
-
--color-foreground: var(--foreground);
|
|
157
|
-
--color-card: var(--card);
|
|
158
|
-
--color-card-foreground: var(--card-foreground);
|
|
159
|
-
--color-popover: var(--popover);
|
|
160
|
-
--color-popover-foreground: var(--popover-foreground);
|
|
161
|
-
--color-primary: var(--primary);
|
|
162
|
-
--color-primary-foreground: var(--primary-foreground);
|
|
163
|
-
--color-secondary: var(--secondary);
|
|
164
|
-
--color-secondary-foreground: var(--secondary-foreground);
|
|
165
|
-
--color-muted: var(--muted);
|
|
166
|
-
--color-muted-foreground: var(--muted-foreground);
|
|
167
|
-
--color-accent: var(--accent);
|
|
168
|
-
--color-accent-foreground: var(--accent-foreground);
|
|
169
|
-
--color-destructive: var(--destructive);
|
|
170
|
-
--color-destructive-foreground: var(--destructive-foreground);
|
|
171
|
-
--color-success: var(--success);
|
|
172
|
-
--color-warning: var(--warning);
|
|
173
|
-
--color-border: var(--border);
|
|
174
|
-
--color-input: var(--input);
|
|
175
|
-
--color-ring: var(--ring);
|
|
176
|
-
--color-overlay: var(--overlay);
|
|
177
|
-
--color-overlay-foreground: var(--overlay-foreground);
|
|
178
|
-
--color-chart-1: var(--chart-1);
|
|
179
|
-
--color-chart-2: var(--chart-2);
|
|
180
|
-
--color-chart-3: var(--chart-3);
|
|
181
|
-
--color-chart-4: var(--chart-4);
|
|
182
|
-
--color-chart-5: var(--chart-5);
|
|
183
|
-
--color-sidebar: var(--sidebar);
|
|
184
|
-
--color-sidebar-foreground: var(--sidebar-foreground);
|
|
185
|
-
--color-sidebar-primary: var(--sidebar-primary);
|
|
186
|
-
--color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
|
|
187
|
-
--color-sidebar-accent: var(--sidebar-accent);
|
|
188
|
-
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|
|
189
|
-
--color-sidebar-border: var(--sidebar-border);
|
|
190
|
-
--color-sidebar-ring: var(--sidebar-ring);
|
|
159
|
+
--moduix-color-background: var(--moduix-background);
|
|
160
|
+
--moduix-color-foreground: var(--moduix-foreground);
|
|
161
|
+
--moduix-color-card: var(--moduix-card);
|
|
162
|
+
--moduix-color-card-foreground: var(--moduix-card-foreground);
|
|
163
|
+
--moduix-color-popover: var(--moduix-popover);
|
|
164
|
+
--moduix-color-popover-foreground: var(--moduix-popover-foreground);
|
|
165
|
+
--moduix-color-primary: var(--moduix-primary);
|
|
166
|
+
--moduix-color-primary-foreground: var(--moduix-primary-foreground);
|
|
167
|
+
--moduix-color-secondary: var(--moduix-secondary);
|
|
168
|
+
--moduix-color-secondary-foreground: var(--moduix-secondary-foreground);
|
|
169
|
+
--moduix-color-muted: var(--moduix-muted);
|
|
170
|
+
--moduix-color-muted-foreground: var(--moduix-muted-foreground);
|
|
171
|
+
--moduix-color-accent: var(--moduix-accent);
|
|
172
|
+
--moduix-color-accent-foreground: var(--moduix-accent-foreground);
|
|
173
|
+
--moduix-color-destructive: var(--moduix-destructive);
|
|
174
|
+
--moduix-color-destructive-foreground: var(--moduix-destructive-foreground);
|
|
175
|
+
--moduix-color-success: var(--moduix-success);
|
|
176
|
+
--moduix-color-warning: var(--moduix-warning);
|
|
177
|
+
--moduix-color-border: var(--moduix-border);
|
|
178
|
+
--moduix-color-input: var(--moduix-input);
|
|
179
|
+
--moduix-color-ring: var(--moduix-ring);
|
|
180
|
+
--moduix-color-overlay: var(--moduix-overlay);
|
|
181
|
+
--moduix-color-overlay-foreground: var(--moduix-overlay-foreground);
|
|
182
|
+
--moduix-color-chart-1: var(--moduix-chart-1);
|
|
183
|
+
--moduix-color-chart-2: var(--moduix-chart-2);
|
|
184
|
+
--moduix-color-chart-3: var(--moduix-chart-3);
|
|
185
|
+
--moduix-color-chart-4: var(--moduix-chart-4);
|
|
186
|
+
--moduix-color-chart-5: var(--moduix-chart-5);
|
|
187
|
+
--moduix-color-sidebar: var(--moduix-sidebar);
|
|
188
|
+
--moduix-color-sidebar-foreground: var(--moduix-sidebar-foreground);
|
|
189
|
+
--moduix-color-sidebar-primary: var(--moduix-sidebar-primary);
|
|
190
|
+
--moduix-color-sidebar-primary-foreground: var(--moduix-sidebar-primary-foreground);
|
|
191
|
+
--moduix-color-sidebar-accent: var(--moduix-sidebar-accent);
|
|
192
|
+
--moduix-color-sidebar-accent-foreground: var(--moduix-sidebar-accent-foreground);
|
|
193
|
+
--moduix-color-sidebar-border: var(--moduix-sidebar-border);
|
|
194
|
+
--moduix-color-sidebar-ring: var(--moduix-sidebar-ring);
|
|
191
195
|
}
|
|
192
196
|
|
|
193
197
|
:root {
|
|
194
|
-
--opacity-disabled: .5;
|
|
195
|
-
--opacity-loading: .85;
|
|
196
|
-
--opacity-hover: .9;
|
|
197
|
-
--radius: .625rem;
|
|
198
|
-
--radius-none: 0;
|
|
199
|
-
--radius-xs: calc(var(--radius) * .4);
|
|
200
|
-
--radius-sm: calc(var(--radius) * .6);
|
|
201
|
-
--radius-md: calc(var(--radius) * .8);
|
|
202
|
-
--radius-lg: var(--radius);
|
|
203
|
-
--radius-xl: calc(var(--radius) * 1.2);
|
|
204
|
-
--radius-full: 9999px;
|
|
205
|
-
--shadow-sm: 0 2px 4px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
206
|
-
--shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
|
|
207
|
-
--shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
|
|
208
|
-
--size-xs: 24px;
|
|
209
|
-
--size-sm: 32px;
|
|
210
|
-
--size-md: 36px;
|
|
211
|
-
--size-lg: 40px;
|
|
212
|
-
--size-xl: 48px;
|
|
213
|
-
--spacing-0: 0px;
|
|
214
|
-
--spacing-1: 4px;
|
|
215
|
-
--spacing-0-5: calc((var(--spacing-0) + var(--spacing-1)) / 2);
|
|
216
|
-
--spacing-2: 8px;
|
|
217
|
-
--spacing-1-5: calc((var(--spacing-1) + var(--spacing-2)) / 2);
|
|
218
|
-
--spacing-3: 12px;
|
|
219
|
-
--spacing-2-5: calc((var(--spacing-2) + var(--spacing-3)) / 2);
|
|
220
|
-
--spacing-4: 16px;
|
|
221
|
-
--spacing-3-5: calc((var(--spacing-3) + var(--spacing-4)) / 2);
|
|
222
|
-
--spacing-5: 20px;
|
|
223
|
-
--spacing-4-5: calc((var(--spacing-4) + var(--spacing-5)) / 2);
|
|
224
|
-
--spacing-6: 24px;
|
|
225
|
-
--spacing-7: calc((var(--spacing-6) + var(--spacing-8)) / 2);
|
|
226
|
-
--spacing-8: 32px;
|
|
227
|
-
--spacing-10: 40px;
|
|
228
|
-
--spacing-xs: var(--spacing-1);
|
|
229
|
-
--spacing-sm: var(--spacing-2);
|
|
230
|
-
--spacing-md: var(--spacing-3);
|
|
231
|
-
--spacing-lg: var(--spacing-4);
|
|
232
|
-
--spacing-xl: var(--spacing-5);
|
|
233
|
-
--spacing-2xl: var(--spacing-6);
|
|
234
|
-
--scale-popup: .9;
|
|
235
|
-
--scale-dropdown: .95;
|
|
236
|
-
--duration-fast: .15s;
|
|
237
|
-
--duration-normal: .2s;
|
|
238
|
-
--duration-slow: .35s;
|
|
239
|
-
--duration-slower: .45s;
|
|
240
|
-
--ease-in: cubic-bezier(.4, 0, 1, 1);
|
|
241
|
-
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
242
|
-
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
243
|
-
--ease-standard: ease;
|
|
244
|
-
--ease-spring: cubic-bezier(.32, .72, 0, 1);
|
|
245
|
-
--ease-emphasized: cubic-bezier(.22, 1, .36, 1);
|
|
246
|
-
--transition-default: var(--duration-normal) var(--ease-in-out);
|
|
247
|
-
--transition-fast: var(--duration-fast) var(--ease-in-out);
|
|
248
|
-
--transition-slow: var(--duration-slow) var(--ease-in-out);
|
|
249
|
-
--transition-slower: var(--duration-slower) var(--ease-in-out);
|
|
250
|
-
--transition-spring: var(--duration-slower) var(--ease-spring);
|
|
251
|
-
--transition-emphasized: var(--duration-slower) var(--ease-emphasized);
|
|
198
|
+
--moduix-opacity-disabled: .5;
|
|
199
|
+
--moduix-opacity-loading: .85;
|
|
200
|
+
--moduix-opacity-hover: .9;
|
|
201
|
+
--moduix-radius: .625rem;
|
|
202
|
+
--moduix-radius-none: 0;
|
|
203
|
+
--moduix-radius-xs: calc(var(--moduix-radius) * .4);
|
|
204
|
+
--moduix-radius-sm: calc(var(--moduix-radius) * .6);
|
|
205
|
+
--moduix-radius-md: calc(var(--moduix-radius) * .8);
|
|
206
|
+
--moduix-radius-lg: var(--moduix-radius);
|
|
207
|
+
--moduix-radius-xl: calc(var(--moduix-radius) * 1.2);
|
|
208
|
+
--moduix-radius-full: 9999px;
|
|
209
|
+
--moduix-shadow-sm: 0 2px 4px 0 #0000001a, 0 1px 2px -1px #0000001a;
|
|
210
|
+
--moduix-shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
|
|
211
|
+
--moduix-shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
|
|
212
|
+
--moduix-size-xs: 24px;
|
|
213
|
+
--moduix-size-sm: 32px;
|
|
214
|
+
--moduix-size-md: 36px;
|
|
215
|
+
--moduix-size-lg: 40px;
|
|
216
|
+
--moduix-size-xl: 48px;
|
|
217
|
+
--moduix-spacing-0: 0px;
|
|
218
|
+
--moduix-spacing-1: 4px;
|
|
219
|
+
--moduix-spacing-0-5: calc((var(--moduix-spacing-0) + var(--moduix-spacing-1)) / 2);
|
|
220
|
+
--moduix-spacing-2: 8px;
|
|
221
|
+
--moduix-spacing-1-5: calc((var(--moduix-spacing-1) + var(--moduix-spacing-2)) / 2);
|
|
222
|
+
--moduix-spacing-3: 12px;
|
|
223
|
+
--moduix-spacing-2-5: calc((var(--moduix-spacing-2) + var(--moduix-spacing-3)) / 2);
|
|
224
|
+
--moduix-spacing-4: 16px;
|
|
225
|
+
--moduix-spacing-3-5: calc((var(--moduix-spacing-3) + var(--moduix-spacing-4)) / 2);
|
|
226
|
+
--moduix-spacing-5: 20px;
|
|
227
|
+
--moduix-spacing-4-5: calc((var(--moduix-spacing-4) + var(--moduix-spacing-5)) / 2);
|
|
228
|
+
--moduix-spacing-6: 24px;
|
|
229
|
+
--moduix-spacing-7: calc((var(--moduix-spacing-6) + var(--moduix-spacing-8)) / 2);
|
|
230
|
+
--moduix-spacing-8: 32px;
|
|
231
|
+
--moduix-spacing-10: 40px;
|
|
232
|
+
--moduix-spacing-xs: var(--moduix-spacing-1);
|
|
233
|
+
--moduix-spacing-sm: var(--moduix-spacing-2);
|
|
234
|
+
--moduix-spacing-md: var(--moduix-spacing-3);
|
|
235
|
+
--moduix-spacing-lg: var(--moduix-spacing-4);
|
|
236
|
+
--moduix-spacing-xl: var(--moduix-spacing-5);
|
|
237
|
+
--moduix-spacing-2xl: var(--moduix-spacing-6);
|
|
238
|
+
--moduix-scale-popup: .9;
|
|
239
|
+
--moduix-scale-dropdown: .95;
|
|
240
|
+
--moduix-duration-fast: .15s;
|
|
241
|
+
--moduix-duration-normal: .2s;
|
|
242
|
+
--moduix-duration-slow: .35s;
|
|
243
|
+
--moduix-duration-slower: .45s;
|
|
244
|
+
--moduix-ease-in: cubic-bezier(.4, 0, 1, 1);
|
|
245
|
+
--moduix-ease-out: cubic-bezier(0, 0, .2, 1);
|
|
246
|
+
--moduix-ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
247
|
+
--moduix-ease-standard: ease;
|
|
248
|
+
--moduix-ease-spring: cubic-bezier(.32, .72, 0, 1);
|
|
249
|
+
--moduix-ease-emphasized: cubic-bezier(.22, 1, .36, 1);
|
|
250
|
+
--moduix-transition-default: var(--moduix-duration-normal) var(--moduix-ease-in-out);
|
|
251
|
+
--moduix-transition-fast: var(--moduix-duration-fast) var(--moduix-ease-in-out);
|
|
252
|
+
--moduix-transition-slow: var(--moduix-duration-slow) var(--moduix-ease-in-out);
|
|
253
|
+
--moduix-transition-slower: var(--moduix-duration-slower) var(--moduix-ease-in-out);
|
|
254
|
+
--moduix-transition-spring: var(--moduix-duration-slower) var(--moduix-ease-spring);
|
|
255
|
+
--moduix-transition-emphasized: var(--moduix-duration-slower) var(--moduix-ease-emphasized);
|
|
252
256
|
}
|
|
253
257
|
|
|
254
258
|
@media (prefers-reduced-motion: reduce) {
|
|
255
259
|
:root {
|
|
256
|
-
--duration-fast: .01ms;
|
|
257
|
-
--duration-normal: .01ms;
|
|
258
|
-
--duration-slow: .01ms;
|
|
259
|
-
--duration-slower: .01ms;
|
|
260
|
+
--moduix-duration-fast: .01ms;
|
|
261
|
+
--moduix-duration-normal: .01ms;
|
|
262
|
+
--moduix-duration-slow: .01ms;
|
|
263
|
+
--moduix-duration-slower: .01ms;
|
|
260
264
|
}
|
|
261
265
|
}
|
|
262
266
|
|
|
263
267
|
:root {
|
|
264
|
-
--font-sans: "Noto Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
268
|
+
--moduix-font-sans: "Noto Sans", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
265
269
|
"Segoe UI Symbol", "Noto Color Emoji";
|
|
266
|
-
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
270
|
+
--moduix-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
|
|
267
271
|
monospace;
|
|
268
|
-
--weight-regular: 400;
|
|
269
|
-
--weight-medium: 500;
|
|
270
|
-
--weight-semibold: 600;
|
|
271
|
-
--weight-bold: 700;
|
|
272
|
-
--text-xs: 12px;
|
|
273
|
-
--text-sm: 14px;
|
|
274
|
-
--text-md: 16px;
|
|
275
|
-
--text-lg: 18px;
|
|
276
|
-
--text-xl: 20px;
|
|
277
|
-
--text-2xl: 24px;
|
|
278
|
-
--text-3xl: 30px;
|
|
279
|
-
--line-height-text-xs: 16px;
|
|
280
|
-
--line-height-text-sm: 20px;
|
|
281
|
-
--line-height-text-md: 24px;
|
|
282
|
-
--line-height-text-lg: 28px;
|
|
283
|
-
--line-height-text-xl: 28px;
|
|
284
|
-
--line-height-text-2xl: 32px;
|
|
285
|
-
--line-height-text-3xl: 36px;
|
|
286
|
-
--tracking-text-sm: -.01em;
|
|
287
|
-
--tracking-text-xs: -.016em;
|
|
288
|
-
--z-default: 1;
|
|
289
|
-
--z-xs: 5;
|
|
290
|
-
--z-sm: 10;
|
|
291
|
-
--z-md: 20;
|
|
292
|
-
--z-lg: 30;
|
|
293
|
-
--z-xl: 40;
|
|
294
|
-
--z-backdrop: 40;
|
|
295
|
-
--z-modal: 50;
|
|
296
|
-
--z-popup: 60;
|
|
297
|
-
--z-toast: 70;
|
|
272
|
+
--moduix-weight-regular: 400;
|
|
273
|
+
--moduix-weight-medium: 500;
|
|
274
|
+
--moduix-weight-semibold: 600;
|
|
275
|
+
--moduix-weight-bold: 700;
|
|
276
|
+
--moduix-text-xs: 12px;
|
|
277
|
+
--moduix-text-sm: 14px;
|
|
278
|
+
--moduix-text-md: 16px;
|
|
279
|
+
--moduix-text-lg: 18px;
|
|
280
|
+
--moduix-text-xl: 20px;
|
|
281
|
+
--moduix-text-2xl: 24px;
|
|
282
|
+
--moduix-text-3xl: 30px;
|
|
283
|
+
--moduix-line-height-text-xs: 16px;
|
|
284
|
+
--moduix-line-height-text-sm: 20px;
|
|
285
|
+
--moduix-line-height-text-md: 24px;
|
|
286
|
+
--moduix-line-height-text-lg: 28px;
|
|
287
|
+
--moduix-line-height-text-xl: 28px;
|
|
288
|
+
--moduix-line-height-text-2xl: 32px;
|
|
289
|
+
--moduix-line-height-text-3xl: 36px;
|
|
290
|
+
--moduix-tracking-text-sm: -.01em;
|
|
291
|
+
--moduix-tracking-text-xs: -.016em;
|
|
292
|
+
--moduix-z-default: 1;
|
|
293
|
+
--moduix-z-xs: 5;
|
|
294
|
+
--moduix-z-sm: 10;
|
|
295
|
+
--moduix-z-md: 20;
|
|
296
|
+
--moduix-z-lg: 30;
|
|
297
|
+
--moduix-z-xl: 40;
|
|
298
|
+
--moduix-z-backdrop: 40;
|
|
299
|
+
--moduix-z-modal: 50;
|
|
300
|
+
--moduix-z-popup: 60;
|
|
301
|
+
--moduix-z-toast: 70;
|
|
298
302
|
}
|
|
299
303
|
}
|
|
300
304
|
|
|
301
|
-
@layer
|
|
305
|
+
@layer moduix.base, moduix.components;
|