@macroui/macroui 4.0.0 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/base.js +1 -0
- package/dist/full.css +62910 -0
- package/dist/index.d.ts +122 -0
- package/dist/index.js +149 -0
- package/dist/styled.css +5192 -0
- package/dist/styled.js +1 -0
- package/dist/themes.css +2118 -0
- package/dist/unstyled.css +1330 -0
- package/dist/unstyled.js +1 -0
- package/dist/utilities-styled.js +1 -0
- package/dist/utilities-unstyled.js +1 -0
- package/dist/utilities.js +1 -0
- package/package.json +23 -24
- package/src/base/properties.css +5 -0
- package/src/base/reset.css +130 -0
- package/src/base/rootcolor.css +9 -0
- package/src/base/rootscrollgutter.css +21 -0
- package/src/base/rootscrolllock.css +4 -0
- package/src/base/scrollbar.css +3 -0
- package/src/base/svg.css +3 -0
- package/src/components/alert.css +126 -0
- package/src/components/avatar.css +60 -0
- package/src/components/badge.css +151 -0
- package/src/components/breadcrumbs.css +40 -0
- package/src/components/button.css +362 -0
- package/src/components/calendar.css +549 -0
- package/src/components/card.css +203 -0
- package/src/components/carousel.css +59 -0
- package/src/components/chat.css +157 -0
- package/src/components/checkbox.css +174 -0
- package/src/components/collapse.css +302 -0
- package/src/components/countdown.css +56 -0
- package/src/components/diff.css +93 -0
- package/src/components/divider.css +148 -0
- package/src/components/dock.css +123 -0
- package/src/components/drawer.css +166 -0
- package/src/components/dropdown.css +247 -0
- package/src/components/fab.css +139 -0
- package/src/components/fieldset.css +23 -0
- package/src/components/fileinput.css +265 -0
- package/src/components/filter.css +42 -0
- package/src/components/footer.css +45 -0
- package/src/components/hero.css +21 -0
- package/src/components/hover3d.css +128 -0
- package/src/components/hovergallery.css +87 -0
- package/src/components/indicator.css +76 -0
- package/src/components/input.css +263 -0
- package/src/components/kbd.css +49 -0
- package/src/components/label.css +101 -0
- package/src/components/link.css +116 -0
- package/src/components/list.css +58 -0
- package/src/components/loading.css +76 -0
- package/src/components/mask.css +108 -0
- package/src/components/menu.css +298 -0
- package/src/components/mockup.css +150 -0
- package/src/components/modal.css +182 -0
- package/src/components/navbar.css +36 -0
- package/src/components/progress.css +108 -0
- package/src/components/radialprogress.css +39 -0
- package/src/components/radio.css +158 -0
- package/src/components/range.css +186 -0
- package/src/components/rating.css +114 -0
- package/src/components/select.css +284 -0
- package/src/components/skeleton.css +41 -0
- package/src/components/stack.css +80 -0
- package/src/components/stat.css +73 -0
- package/src/components/status.css +92 -0
- package/src/components/steps.css +168 -0
- package/src/components/swap.css +94 -0
- package/src/components/tab.css +557 -0
- package/src/components/table.css +126 -0
- package/src/components/textarea.css +179 -0
- package/src/components/textrotate.css +71 -0
- package/src/components/timeline.css +250 -0
- package/src/components/toast.css +68 -0
- package/src/components/toggle.css +239 -0
- package/src/components/tooltip.css +203 -0
- package/src/components/validator.css +47 -0
- package/src/themes/abyss.css +29 -0
- package/src/themes/acid.css +29 -0
- package/src/themes/aqua.css +29 -0
- package/src/themes/autumn.css +29 -0
- package/src/themes/black.css +29 -0
- package/src/themes/bumblebee.css +29 -0
- package/src/themes/business.css +29 -0
- package/src/themes/caramellatte.css +29 -0
- package/src/themes/cmyk.css +29 -0
- package/src/themes/coffee.css +29 -0
- package/src/themes/corporate.css +29 -0
- package/src/themes/cupcake.css +29 -0
- package/src/themes/cyberpunk.css +29 -0
- package/src/themes/dark.css +29 -0
- package/src/themes/dim.css +29 -0
- package/src/themes/dracula.css +29 -0
- package/src/themes/emerald.css +29 -0
- package/src/themes/fantasy.css +29 -0
- package/src/themes/forest.css +29 -0
- package/src/themes/garden.css +29 -0
- package/src/themes/halloween.css +29 -0
- package/src/themes/lemonade.css +29 -0
- package/src/themes/light.css +29 -0
- package/src/themes/lofi.css +29 -0
- package/src/themes/luxury.css +29 -0
- package/src/themes/night.css +29 -0
- package/src/themes/nord.css +29 -0
- package/src/themes/pastel.css +29 -0
- package/src/themes/retro.css +29 -0
- package/src/themes/silk.css +29 -0
- package/src/themes/sunset.css +29 -0
- package/src/themes/synthwave.css +29 -0
- package/src/themes/valentine.css +29 -0
- package/src/themes/winter.css +29 -0
- package/src/themes/wireframe.css +29 -0
- package/src/utilities/glass.css +20 -0
- package/src/utilities/join.css +207 -0
- package/src/utilities/radius.css +119 -0
- package/src/utilities/typography.css +31 -0
- package/functions/addPrefix.js +0 -185
- package/functions/plugin.js +0 -11
- package/functions/pluginOptionsHandler.js +0 -97
- package/functions/themeOrder.js +0 -37
- package/functions/variables.js +0 -29
- package/index.js +0 -61
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
.toggle {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
border: var(--border) solid currentColor;
|
|
4
|
+
color: var(--input-color);
|
|
5
|
+
@apply relative inline-grid shrink-0 cursor-pointer appearance-none place-content-center align-middle select-none;
|
|
6
|
+
grid-template-columns: 0fr 1fr 1fr;
|
|
7
|
+
/* --radius-selector-max is a separate variable because ~ calc(min(calc(--var))) ~ gives build error in PostCSS+Nuxt */
|
|
8
|
+
--radius-selector-max: calc(
|
|
9
|
+
var(--radius-selector) + var(--radius-selector) + var(--radius-selector)
|
|
10
|
+
);
|
|
11
|
+
border-radius: calc(
|
|
12
|
+
var(--radius-selector) + min(var(--toggle-p), var(--radius-selector-max)) +
|
|
13
|
+
min(var(--border), var(--radius-selector-max))
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
padding: var(--toggle-p);
|
|
17
|
+
box-shadow: 0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000) inset;
|
|
18
|
+
transition:
|
|
19
|
+
color 0.3s,
|
|
20
|
+
grid-template-columns 0.2s;
|
|
21
|
+
--input-color: color-mix(in oklab, var(--color-base-content) 50%, #0000);
|
|
22
|
+
--toggle-p: calc(var(--size) * 0.125);
|
|
23
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
24
|
+
width: calc((var(--size) * 2) - (var(--border) + var(--toggle-p)) * 2);
|
|
25
|
+
height: var(--size);
|
|
26
|
+
|
|
27
|
+
/* icons in toggle */
|
|
28
|
+
> * {
|
|
29
|
+
@apply z-1 col-span-1 col-start-2 row-start-1 h-full cursor-pointer appearance-none bg-transparent p-0.5;
|
|
30
|
+
transition:
|
|
31
|
+
opacity 0.2s,
|
|
32
|
+
rotate 0.4s;
|
|
33
|
+
border: none;
|
|
34
|
+
&:focus {
|
|
35
|
+
@apply outline-hidden;
|
|
36
|
+
}
|
|
37
|
+
&:nth-child(2) {
|
|
38
|
+
@apply text-base-100;
|
|
39
|
+
rotate: 0deg;
|
|
40
|
+
}
|
|
41
|
+
&:nth-child(3) {
|
|
42
|
+
@apply text-base-100 opacity-0;
|
|
43
|
+
rotate: -15deg;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
&:has(:checked) {
|
|
47
|
+
> :nth-child(2) {
|
|
48
|
+
@apply opacity-0;
|
|
49
|
+
rotate: 15deg;
|
|
50
|
+
}
|
|
51
|
+
> :nth-child(3) {
|
|
52
|
+
@apply opacity-100;
|
|
53
|
+
rotate: 0deg;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
&:before {
|
|
57
|
+
@apply rounded-selector relative start-0 col-start-2 row-start-1 aspect-square h-full w-full bg-current;
|
|
58
|
+
translate: 0;
|
|
59
|
+
--tw-content: "";
|
|
60
|
+
content: var(--tw-content);
|
|
61
|
+
transition:
|
|
62
|
+
background-color 0.1s,
|
|
63
|
+
translate 0.2s,
|
|
64
|
+
inset-inline-start 0.2s;
|
|
65
|
+
box-shadow:
|
|
66
|
+
0 -1px oklch(0% 0 0 / calc(var(--depth) * 0.1)) inset,
|
|
67
|
+
0 8px 0 -4px oklch(100% 0 0 / calc(var(--depth) * 0.1)) inset,
|
|
68
|
+
0 1px color-mix(in oklab, currentColor calc(var(--depth) * 10%), #0000);
|
|
69
|
+
background-size: auto, calc(var(--noise) * 100%);
|
|
70
|
+
background-image: none, var(--fx-noise);
|
|
71
|
+
}
|
|
72
|
+
@media (forced-colors: active) {
|
|
73
|
+
&:before {
|
|
74
|
+
@apply outline -outline-offset-1;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
@media print {
|
|
78
|
+
&:before {
|
|
79
|
+
outline: 0.25rem solid;
|
|
80
|
+
outline-offset: -1rem;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:focus-visible,
|
|
85
|
+
&:has(:focus-visible) {
|
|
86
|
+
outline: 2px solid currentColor;
|
|
87
|
+
outline-offset: 2px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&:checked,
|
|
91
|
+
&[aria-checked="true"],
|
|
92
|
+
&:has(> input:checked) {
|
|
93
|
+
grid-template-columns: 1fr 1fr 0fr;
|
|
94
|
+
@apply bg-base-100;
|
|
95
|
+
--input-color: var(--color-base-content);
|
|
96
|
+
|
|
97
|
+
&:before {
|
|
98
|
+
@apply bg-current;
|
|
99
|
+
}
|
|
100
|
+
@starting-style {
|
|
101
|
+
&:before {
|
|
102
|
+
opacity: 0;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
&:indeterminate {
|
|
108
|
+
grid-template-columns: 0.5fr 1fr 0.5fr;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
&:disabled {
|
|
112
|
+
@apply cursor-not-allowed opacity-30;
|
|
113
|
+
|
|
114
|
+
&:before {
|
|
115
|
+
@apply bg-transparent;
|
|
116
|
+
border: var(--border) solid currentColor;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.toggle-primary {
|
|
123
|
+
@layer daisyui.l1.l2 {
|
|
124
|
+
&:checked,
|
|
125
|
+
&[aria-checked="true"] {
|
|
126
|
+
--input-color: var(--color-primary);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.toggle-secondary {
|
|
132
|
+
@layer daisyui.l1.l2 {
|
|
133
|
+
&:checked,
|
|
134
|
+
&[aria-checked="true"] {
|
|
135
|
+
--input-color: var(--color-secondary);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.toggle-accent {
|
|
141
|
+
@layer daisyui.l1.l2 {
|
|
142
|
+
&:checked,
|
|
143
|
+
&[aria-checked="true"] {
|
|
144
|
+
--input-color: var(--color-accent);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.toggle-neutral {
|
|
150
|
+
@layer daisyui.l1.l2 {
|
|
151
|
+
&:checked,
|
|
152
|
+
&[aria-checked="true"] {
|
|
153
|
+
--input-color: var(--color-neutral);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.toggle-success {
|
|
159
|
+
@layer daisyui.l1.l2 {
|
|
160
|
+
&:checked,
|
|
161
|
+
&[aria-checked="true"] {
|
|
162
|
+
--input-color: var(--color-success);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.toggle-warning {
|
|
168
|
+
@layer daisyui.l1.l2 {
|
|
169
|
+
&:checked,
|
|
170
|
+
&[aria-checked="true"] {
|
|
171
|
+
--input-color: var(--color-warning);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.toggle-info {
|
|
177
|
+
@layer daisyui.l1.l2 {
|
|
178
|
+
&:checked,
|
|
179
|
+
&[aria-checked="true"] {
|
|
180
|
+
--input-color: var(--color-info);
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
.toggle-error {
|
|
186
|
+
@layer daisyui.l1.l2 {
|
|
187
|
+
&:checked,
|
|
188
|
+
&[aria-checked="true"] {
|
|
189
|
+
--input-color: var(--color-error);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* responsive */
|
|
195
|
+
|
|
196
|
+
.toggle-xs {
|
|
197
|
+
@layer daisyui.l1.l2 {
|
|
198
|
+
&:is([type="checkbox"]),
|
|
199
|
+
&:has([type="checkbox"]) {
|
|
200
|
+
--size: calc(var(--size-selector, 0.25rem) * 4);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.toggle-sm {
|
|
206
|
+
@layer daisyui.l1.l2 {
|
|
207
|
+
&:is([type="checkbox"]),
|
|
208
|
+
&:has([type="checkbox"]) {
|
|
209
|
+
--size: calc(var(--size-selector, 0.25rem) * 5);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.toggle-md {
|
|
215
|
+
@layer daisyui.l1.l2 {
|
|
216
|
+
&:is([type="checkbox"]),
|
|
217
|
+
&:has([type="checkbox"]) {
|
|
218
|
+
--size: calc(var(--size-selector, 0.25rem) * 6);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.toggle-lg {
|
|
224
|
+
@layer daisyui.l1.l2 {
|
|
225
|
+
&:is([type="checkbox"]),
|
|
226
|
+
&:has([type="checkbox"]) {
|
|
227
|
+
--size: calc(var(--size-selector, 0.25rem) * 7);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.toggle-xl {
|
|
233
|
+
@layer daisyui.l1.l2 {
|
|
234
|
+
&:is([type="checkbox"]),
|
|
235
|
+
&:has([type="checkbox"]) {
|
|
236
|
+
--size: calc(var(--size-selector, 0.25rem) * 8);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
.tooltip {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
@apply relative inline-block;
|
|
4
|
+
--tt-bg: var(--color-neutral);
|
|
5
|
+
--tt-off: calc(100% + 0.5rem);
|
|
6
|
+
--tt-tail: calc(100% + 1px + 0.25rem);
|
|
7
|
+
|
|
8
|
+
& > .tooltip-content,
|
|
9
|
+
&[data-tip]:before {
|
|
10
|
+
@apply text-neutral-content rounded-field absolute max-w-[20rem] px-2 py-1 text-center whitespace-normal opacity-0;
|
|
11
|
+
font-size: 0.875rem;
|
|
12
|
+
line-height: 1.25;
|
|
13
|
+
background-color: var(--tt-bg);
|
|
14
|
+
width: max-content;
|
|
15
|
+
pointer-events: none;
|
|
16
|
+
z-index: 2;
|
|
17
|
+
--tw-content: attr(data-tip);
|
|
18
|
+
content: var(--tw-content);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&:after {
|
|
22
|
+
@apply absolute opacity-0;
|
|
23
|
+
background-color: var(--tt-bg);
|
|
24
|
+
content: "";
|
|
25
|
+
pointer-events: none;
|
|
26
|
+
width: 0.625rem;
|
|
27
|
+
height: 0.25rem;
|
|
28
|
+
display: block;
|
|
29
|
+
position: absolute;
|
|
30
|
+
mask-repeat: no-repeat;
|
|
31
|
+
mask-position: -1px 0;
|
|
32
|
+
--mask-tooltip: url("data:image/svg+xml,%3Csvg width='10' height='4' viewBox='0 0 8 4' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.500009 1C3.5 1 3.00001 4 5.00001 4C7 4 6.5 1 9.5 1C10 1 10 0.499897 10 0H0C-1.99338e-08 0.5 0 1 0.500009 1Z' fill='black'/%3E%3C/svg%3E%0A");
|
|
33
|
+
mask-image: var(--mask-tooltip);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
37
|
+
& > .tooltip-content,
|
|
38
|
+
&[data-tip]:before,
|
|
39
|
+
&:after {
|
|
40
|
+
transition:
|
|
41
|
+
opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms,
|
|
42
|
+
transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 75ms;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:is([data-tip]:not([data-tip=""]), :has(.tooltip-content:not(:empty))) {
|
|
47
|
+
&.tooltip-open,
|
|
48
|
+
&:hover,
|
|
49
|
+
&:has(:focus-visible) {
|
|
50
|
+
& > .tooltip-content,
|
|
51
|
+
&[data-tip]:before,
|
|
52
|
+
&:after {
|
|
53
|
+
@apply opacity-100;
|
|
54
|
+
--tt-pos: 0rem;
|
|
55
|
+
|
|
56
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
57
|
+
transition:
|
|
58
|
+
opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s,
|
|
59
|
+
transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) 0s;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.tooltip,
|
|
68
|
+
.tooltip-top {
|
|
69
|
+
@layer daisyui.l1.l2 {
|
|
70
|
+
> .tooltip-content,
|
|
71
|
+
&[data-tip]:before {
|
|
72
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
73
|
+
inset: auto auto var(--tt-off) 50%;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:after {
|
|
77
|
+
transform: translateX(-50%) translateY(var(--tt-pos, 0.25rem));
|
|
78
|
+
inset: auto auto var(--tt-tail) 50%;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.tooltip-bottom {
|
|
84
|
+
@layer daisyui.l1.l2 {
|
|
85
|
+
> .tooltip-content,
|
|
86
|
+
&[data-tip]:before {
|
|
87
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem));
|
|
88
|
+
inset: var(--tt-off) auto auto 50%;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&:after {
|
|
92
|
+
transform: translateX(-50%) translateY(var(--tt-pos, -0.25rem)) rotate(180deg);
|
|
93
|
+
inset: var(--tt-tail) auto auto 50%;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.tooltip-left {
|
|
99
|
+
@layer daisyui.l1.l2 {
|
|
100
|
+
> .tooltip-content,
|
|
101
|
+
&[data-tip]:before {
|
|
102
|
+
transform: translateX(calc(var(--tt-pos, 0.25rem) - 0.25rem)) translateY(-50%);
|
|
103
|
+
inset: 50% var(--tt-off) auto auto;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&:after {
|
|
107
|
+
transform: translateX(var(--tt-pos, 0.25rem)) translateY(-50%) rotate(-90deg);
|
|
108
|
+
inset: 50% calc(var(--tt-tail) + 1px) auto auto;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.tooltip-right {
|
|
114
|
+
@layer daisyui.l1.l2 {
|
|
115
|
+
> .tooltip-content,
|
|
116
|
+
&[data-tip]:before {
|
|
117
|
+
transform: translateX(calc(var(--tt-pos, -0.25rem) + 0.25rem)) translateY(-50%);
|
|
118
|
+
inset: 50% auto auto var(--tt-off);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
&:after {
|
|
122
|
+
transform: translateX(var(--tt-pos, -0.25rem)) translateY(-50%) rotate(90deg);
|
|
123
|
+
inset: 50% auto auto calc(var(--tt-tail) + 1px);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.tooltip-primary {
|
|
129
|
+
@layer daisyui.l1.l2 {
|
|
130
|
+
--tt-bg: var(--color-primary);
|
|
131
|
+
|
|
132
|
+
> .tooltip-content,
|
|
133
|
+
&[data-tip]:before {
|
|
134
|
+
@apply text-primary-content;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.tooltip-secondary {
|
|
140
|
+
@layer daisyui.l1.l2 {
|
|
141
|
+
--tt-bg: var(--color-secondary);
|
|
142
|
+
|
|
143
|
+
> .tooltip-content,
|
|
144
|
+
&[data-tip]:before {
|
|
145
|
+
@apply text-secondary-content;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.tooltip-accent {
|
|
151
|
+
@layer daisyui.l1.l2 {
|
|
152
|
+
--tt-bg: var(--color-accent);
|
|
153
|
+
|
|
154
|
+
> .tooltip-content,
|
|
155
|
+
&[data-tip]:before {
|
|
156
|
+
@apply text-accent-content;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.tooltip-info {
|
|
162
|
+
@layer daisyui.l1.l2 {
|
|
163
|
+
--tt-bg: var(--color-info);
|
|
164
|
+
|
|
165
|
+
> .tooltip-content,
|
|
166
|
+
&[data-tip]:before {
|
|
167
|
+
@apply text-info-content;
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.tooltip-success {
|
|
173
|
+
@layer daisyui.l1.l2 {
|
|
174
|
+
--tt-bg: var(--color-success);
|
|
175
|
+
|
|
176
|
+
> .tooltip-content,
|
|
177
|
+
&[data-tip]:before {
|
|
178
|
+
@apply text-success-content;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.tooltip-warning {
|
|
184
|
+
@layer daisyui.l1.l2 {
|
|
185
|
+
--tt-bg: var(--color-warning);
|
|
186
|
+
|
|
187
|
+
> .tooltip-content,
|
|
188
|
+
&[data-tip]:before {
|
|
189
|
+
@apply text-warning-content;
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.tooltip-error {
|
|
195
|
+
@layer daisyui.l1.l2 {
|
|
196
|
+
--tt-bg: var(--color-error);
|
|
197
|
+
|
|
198
|
+
> .tooltip-content,
|
|
199
|
+
&[data-tip]:before {
|
|
200
|
+
@apply text-error-content;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
.validator {
|
|
2
|
+
@layer daisyui.l1.l2.l3 {
|
|
3
|
+
&:user-valid,
|
|
4
|
+
&:has(:user-valid) {
|
|
5
|
+
&,
|
|
6
|
+
&:focus,
|
|
7
|
+
&:checked,
|
|
8
|
+
&[aria-checked="true"],
|
|
9
|
+
&:focus-within {
|
|
10
|
+
--input-color: var(--color-success);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
&:user-invalid,
|
|
14
|
+
&:has(:user-invalid),
|
|
15
|
+
&[aria-invalid]:not([aria-invalid="false"]),
|
|
16
|
+
&:has([aria-invalid]:not([aria-invalid="false"])) {
|
|
17
|
+
&,
|
|
18
|
+
&:focus,
|
|
19
|
+
&:checked,
|
|
20
|
+
&[aria-checked="true"],
|
|
21
|
+
&:focus-within {
|
|
22
|
+
--input-color: var(--color-error);
|
|
23
|
+
}
|
|
24
|
+
& ~ .validator-hint {
|
|
25
|
+
@apply text-error visible;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
.validator-hint {
|
|
31
|
+
@layer daisyui.l1.l2.l3 {
|
|
32
|
+
@apply invisible mt-2;
|
|
33
|
+
font-size: 0.75rem;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/* This stays in utilities layer so it unhides hidden validator-hints */
|
|
38
|
+
.validator {
|
|
39
|
+
&:user-invalid,
|
|
40
|
+
&:has(:user-invalid),
|
|
41
|
+
&[aria-invalid]:not([aria-invalid="false"]),
|
|
42
|
+
&:has([aria-invalid]:not([aria-invalid="false"])) {
|
|
43
|
+
& ~ .validator-hint {
|
|
44
|
+
display: revert-layer;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: dark;
|
|
2
|
+
--color-base-100: oklch(20% 0.08 209);
|
|
3
|
+
--color-base-200: oklch(15% 0.08 209);
|
|
4
|
+
--color-base-300: oklch(10% 0.08 209);
|
|
5
|
+
--color-base-content: oklch(90% 0.076 70.697);
|
|
6
|
+
--color-primary: oklch(92% 0.2653 125);
|
|
7
|
+
--color-primary-content: oklch(50% 0.2653 125);
|
|
8
|
+
--color-secondary: oklch(83.27% 0.0764 298.3);
|
|
9
|
+
--color-secondary-content: oklch(43.27% 0.0764 298.3);
|
|
10
|
+
--color-accent: oklch(43% 0 0);
|
|
11
|
+
--color-accent-content: oklch(98% 0 0);
|
|
12
|
+
--color-neutral: oklch(30% 0.08 209);
|
|
13
|
+
--color-neutral-content: oklch(90% 0.076 70.697);
|
|
14
|
+
--color-info: oklch(74% 0.16 232.661);
|
|
15
|
+
--color-info-content: oklch(29% 0.066 243.157);
|
|
16
|
+
--color-success: oklch(79% 0.209 151.711);
|
|
17
|
+
--color-success-content: oklch(26% 0.065 152.934);
|
|
18
|
+
--color-warning: oklch(84.8% 0.1962 84.62);
|
|
19
|
+
--color-warning-content: oklch(44.8% 0.1962 84.62);
|
|
20
|
+
--color-error: oklch(65% 0.1985 24.22);
|
|
21
|
+
--color-error-content: oklch(27% 0.1985 24.22);
|
|
22
|
+
--radius-selector: 2rem;
|
|
23
|
+
--radius-field: 0.25rem;
|
|
24
|
+
--radius-box: 0.5rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 1;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: light;
|
|
2
|
+
--color-base-100: oklch(98% 0 0);
|
|
3
|
+
--color-base-200: oklch(95% 0 0);
|
|
4
|
+
--color-base-300: oklch(91% 0 0);
|
|
5
|
+
--color-base-content: oklch(0% 0 0);
|
|
6
|
+
--color-primary: oklch(71.9% 0.357 330.759);
|
|
7
|
+
--color-primary-content: oklch(14.38% 0.071 330.759);
|
|
8
|
+
--color-secondary: oklch(73.37% 0.224 48.25);
|
|
9
|
+
--color-secondary-content: oklch(14.674% 0.044 48.25);
|
|
10
|
+
--color-accent: oklch(92.78% 0.264 122.962);
|
|
11
|
+
--color-accent-content: oklch(18.556% 0.052 122.962);
|
|
12
|
+
--color-neutral: oklch(21.31% 0.128 278.68);
|
|
13
|
+
--color-neutral-content: oklch(84.262% 0.025 278.68);
|
|
14
|
+
--color-info: oklch(60.72% 0.227 252.05);
|
|
15
|
+
--color-info-content: oklch(12.144% 0.045 252.05);
|
|
16
|
+
--color-success: oklch(85.72% 0.266 158.53);
|
|
17
|
+
--color-success-content: oklch(17.144% 0.053 158.53);
|
|
18
|
+
--color-warning: oklch(91.01% 0.212 100.5);
|
|
19
|
+
--color-warning-content: oklch(18.202% 0.042 100.5);
|
|
20
|
+
--color-error: oklch(64.84% 0.293 29.349);
|
|
21
|
+
--color-error-content: oklch(12.968% 0.058 29.349);
|
|
22
|
+
--radius-selector: 1rem;
|
|
23
|
+
--radius-field: 1rem;
|
|
24
|
+
--radius-box: 1rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 1;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: dark;
|
|
2
|
+
--color-base-100: oklch(37% 0.146 265.522);
|
|
3
|
+
--color-base-200: oklch(28% 0.091 267.935);
|
|
4
|
+
--color-base-300: oklch(22% 0.091 267.935);
|
|
5
|
+
--color-base-content: oklch(90% 0.058 230.902);
|
|
6
|
+
--color-primary: oklch(85.661% 0.144 198.645);
|
|
7
|
+
--color-primary-content: oklch(40.124% 0.068 197.603);
|
|
8
|
+
--color-secondary: oklch(60.682% 0.108 309.782);
|
|
9
|
+
--color-secondary-content: oklch(96% 0.016 293.756);
|
|
10
|
+
--color-accent: oklch(93.426% 0.102 94.555);
|
|
11
|
+
--color-accent-content: oklch(18.685% 0.02 94.555);
|
|
12
|
+
--color-neutral: oklch(27% 0.146 265.522);
|
|
13
|
+
--color-neutral-content: oklch(80% 0.146 265.522);
|
|
14
|
+
--color-info: oklch(54.615% 0.215 262.88);
|
|
15
|
+
--color-info-content: oklch(90.923% 0.043 262.88);
|
|
16
|
+
--color-success: oklch(62.705% 0.169 149.213);
|
|
17
|
+
--color-success-content: oklch(12.541% 0.033 149.213);
|
|
18
|
+
--color-warning: oklch(66.584% 0.157 58.318);
|
|
19
|
+
--color-warning-content: oklch(27% 0.077 45.635);
|
|
20
|
+
--color-error: oklch(73.95% 0.19 27.33);
|
|
21
|
+
--color-error-content: oklch(14.79% 0.038 27.33);
|
|
22
|
+
--radius-selector: 1rem;
|
|
23
|
+
--radius-field: 0.5rem;
|
|
24
|
+
--radius-box: 1rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 1;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: light;
|
|
2
|
+
--color-base-100: oklch(95.814% 0 0);
|
|
3
|
+
--color-base-200: oklch(89.107% 0 0);
|
|
4
|
+
--color-base-300: oklch(82.4% 0 0);
|
|
5
|
+
--color-base-content: oklch(19.162% 0 0);
|
|
6
|
+
--color-primary: oklch(40.723% 0.161 17.53);
|
|
7
|
+
--color-primary-content: oklch(88.144% 0.032 17.53);
|
|
8
|
+
--color-secondary: oklch(61.676% 0.169 23.865);
|
|
9
|
+
--color-secondary-content: oklch(12.335% 0.033 23.865);
|
|
10
|
+
--color-accent: oklch(73.425% 0.094 60.729);
|
|
11
|
+
--color-accent-content: oklch(14.685% 0.018 60.729);
|
|
12
|
+
--color-neutral: oklch(54.367% 0.037 51.902);
|
|
13
|
+
--color-neutral-content: oklch(90.873% 0.007 51.902);
|
|
14
|
+
--color-info: oklch(69.224% 0.097 207.284);
|
|
15
|
+
--color-info-content: oklch(13.844% 0.019 207.284);
|
|
16
|
+
--color-success: oklch(60.995% 0.08 174.616);
|
|
17
|
+
--color-success-content: oklch(12.199% 0.016 174.616);
|
|
18
|
+
--color-warning: oklch(70.081% 0.164 56.844);
|
|
19
|
+
--color-warning-content: oklch(14.016% 0.032 56.844);
|
|
20
|
+
--color-error: oklch(53.07% 0.241 24.16);
|
|
21
|
+
--color-error-content: oklch(90.614% 0.048 24.16);
|
|
22
|
+
--radius-selector: 1rem;
|
|
23
|
+
--radius-field: 0.5rem;
|
|
24
|
+
--radius-box: 1rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 1;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: dark;
|
|
2
|
+
--color-base-100: oklch(0% 0 0);
|
|
3
|
+
--color-base-200: oklch(19% 0 0);
|
|
4
|
+
--color-base-300: oklch(22% 0 0);
|
|
5
|
+
--color-base-content: oklch(87.609% 0 0);
|
|
6
|
+
--color-primary: oklch(35% 0 0);
|
|
7
|
+
--color-primary-content: oklch(100% 0 0);
|
|
8
|
+
--color-secondary: oklch(35% 0 0);
|
|
9
|
+
--color-secondary-content: oklch(100% 0 0);
|
|
10
|
+
--color-accent: oklch(35% 0 0);
|
|
11
|
+
--color-accent-content: oklch(100% 0 0);
|
|
12
|
+
--color-neutral: oklch(35% 0 0);
|
|
13
|
+
--color-neutral-content: oklch(100% 0 0);
|
|
14
|
+
--color-info: oklch(45.201% 0.313 264.052);
|
|
15
|
+
--color-info-content: oklch(89.04% 0.062 264.052);
|
|
16
|
+
--color-success: oklch(51.975% 0.176 142.495);
|
|
17
|
+
--color-success-content: oklch(90.395% 0.035 142.495);
|
|
18
|
+
--color-warning: oklch(96.798% 0.211 109.769);
|
|
19
|
+
--color-warning-content: oklch(19.359% 0.042 109.769);
|
|
20
|
+
--color-error: oklch(62.795% 0.257 29.233);
|
|
21
|
+
--color-error-content: oklch(12.559% 0.051 29.233);
|
|
22
|
+
--radius-selector: 0rem;
|
|
23
|
+
--radius-field: 0rem;
|
|
24
|
+
--radius-box: 0rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 0;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: light;
|
|
2
|
+
--color-base-100: oklch(100% 0 0);
|
|
3
|
+
--color-base-200: oklch(97% 0 0);
|
|
4
|
+
--color-base-300: oklch(92% 0 0);
|
|
5
|
+
--color-base-content: oklch(20% 0 0);
|
|
6
|
+
--color-primary: oklch(85% 0.199 91.936);
|
|
7
|
+
--color-primary-content: oklch(42% 0.095 57.708);
|
|
8
|
+
--color-secondary: oklch(75% 0.183 55.934);
|
|
9
|
+
--color-secondary-content: oklch(40% 0.123 38.172);
|
|
10
|
+
--color-accent: oklch(0% 0 0);
|
|
11
|
+
--color-accent-content: oklch(100% 0 0);
|
|
12
|
+
--color-neutral: oklch(37% 0.01 67.558);
|
|
13
|
+
--color-neutral-content: oklch(92% 0.003 48.717);
|
|
14
|
+
--color-info: oklch(74% 0.16 232.661);
|
|
15
|
+
--color-info-content: oklch(39% 0.09 240.876);
|
|
16
|
+
--color-success: oklch(76% 0.177 163.223);
|
|
17
|
+
--color-success-content: oklch(37% 0.077 168.94);
|
|
18
|
+
--color-warning: oklch(82% 0.189 84.429);
|
|
19
|
+
--color-warning-content: oklch(41% 0.112 45.904);
|
|
20
|
+
--color-error: oklch(70% 0.191 22.216);
|
|
21
|
+
--color-error-content: oklch(39% 0.141 25.723);
|
|
22
|
+
--radius-selector: 1rem;
|
|
23
|
+
--radius-field: 0.5rem;
|
|
24
|
+
--radius-box: 1rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 1;
|
|
29
|
+
--noise: 0;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
color-scheme: dark;
|
|
2
|
+
--color-base-100: oklch(24.353% 0 0);
|
|
3
|
+
--color-base-200: oklch(22.648% 0 0);
|
|
4
|
+
--color-base-300: oklch(20.944% 0 0);
|
|
5
|
+
--color-base-content: oklch(84.87% 0 0);
|
|
6
|
+
--color-primary: oklch(41.703% 0.099 251.473);
|
|
7
|
+
--color-primary-content: oklch(88.34% 0.019 251.473);
|
|
8
|
+
--color-secondary: oklch(64.092% 0.027 229.389);
|
|
9
|
+
--color-secondary-content: oklch(12.818% 0.005 229.389);
|
|
10
|
+
--color-accent: oklch(67.271% 0.167 35.791);
|
|
11
|
+
--color-accent-content: oklch(13.454% 0.033 35.791);
|
|
12
|
+
--color-neutral: oklch(27.441% 0.013 253.041);
|
|
13
|
+
--color-neutral-content: oklch(85.488% 0.002 253.041);
|
|
14
|
+
--color-info: oklch(62.616% 0.143 240.033);
|
|
15
|
+
--color-info-content: oklch(12.523% 0.028 240.033);
|
|
16
|
+
--color-success: oklch(70.226% 0.094 156.596);
|
|
17
|
+
--color-success-content: oklch(14.045% 0.018 156.596);
|
|
18
|
+
--color-warning: oklch(77.482% 0.115 81.519);
|
|
19
|
+
--color-warning-content: oklch(15.496% 0.023 81.519);
|
|
20
|
+
--color-error: oklch(51.61% 0.146 29.674);
|
|
21
|
+
--color-error-content: oklch(90.322% 0.029 29.674);
|
|
22
|
+
--radius-selector: 0rem;
|
|
23
|
+
--radius-field: 0.25rem;
|
|
24
|
+
--radius-box: 0.25rem;
|
|
25
|
+
--size-selector: 0.25rem;
|
|
26
|
+
--size-field: 0.25rem;
|
|
27
|
+
--border: 1px;
|
|
28
|
+
--depth: 0;
|
|
29
|
+
--noise: 0;
|