@bykhd/lab-ds 0.0.0-stage → 1.0.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 +88 -2
- package/dist/index.d.ts +137 -0
- package/dist/index.js +1041 -0
- package/dist/styles.css +3227 -0
- package/package.json +52 -4
- package/src/components/Alert/Alert.md +82 -0
- package/src/components/Badge/Badge.md +77 -0
- package/src/components/Button/Button.md +126 -0
- package/src/components/Card/Card.md +82 -0
- package/src/components/Checkbox/Checkbox.md +65 -0
- package/src/components/Dialog/Dialog.md +154 -0
- package/src/components/Field/Field.md +77 -0
- package/src/components/Input/Input.md +62 -0
- package/src/components/InputGroup/InputGroup.md +72 -0
- package/src/components/InputOTP/InputOTP.md +84 -0
- package/src/components/Label/Label.md +47 -0
- package/src/components/ProductCard/ProductCard.md +61 -0
- package/src/components/Separator/Separator.md +51 -0
- package/src/components/Tabs/Tabs.md +112 -0
- package/src/components/Textarea/Textarea.md +58 -0
package/dist/styles.css
ADDED
|
@@ -0,0 +1,3227 @@
|
|
|
1
|
+
@import "tw-animate-css";
|
|
2
|
+
|
|
3
|
+
@custom-variant dark (&:is(.dark *));
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Daidai Design System — Foundation v1.1 (Figma "Semantic Color" + "Semantic Dimen").
|
|
7
|
+
* Values are resolved from the Primitive palette; Light lives here, Dark in `.dark`.
|
|
8
|
+
* Naming: Figma `color/on-Base/Content/High` → `--color-on-base-content-high`
|
|
9
|
+
* → utilities `bg-…`, `text-…`, `border-…`, `ring-…`. Dimensions: px / 16 → rem.
|
|
10
|
+
* `static` so every token is emitted even when only CSS modules use it.
|
|
11
|
+
*/
|
|
12
|
+
@theme static {
|
|
13
|
+
|
|
14
|
+
/* Primary */
|
|
15
|
+
--color-primary-foreground-default: oklch(0.187 0 0);
|
|
16
|
+
--color-primary-foreground-hover: oklch(0.264 0 0);
|
|
17
|
+
--color-primary-foreground-pressed: oklch(0.226 0 0);
|
|
18
|
+
--color-primary-foreground-subtle: oklch(0.967 0 0);
|
|
19
|
+
--color-primary-foreground-subtle-hover: oklch(0.949 0 0);
|
|
20
|
+
--color-primary-foreground-subtle-pressed: oklch(0.885 0 0);
|
|
21
|
+
--color-primary-border-default: oklch(0.823 0 0);
|
|
22
|
+
--color-primary-content-default: oklch(0.187 0 0);
|
|
23
|
+
--color-primary-content-hover: oklch(0.264 0 0);
|
|
24
|
+
--color-primary-content-pressed: oklch(0.226 0 0);
|
|
25
|
+
--color-primary-border-strong: oklch(0.187 0 0);
|
|
26
|
+
--color-primary-foreground-disable: oklch(0.885 0 0);
|
|
27
|
+
--color-primary-foreground-muted-hover: oklch(0.535 0 0 / 8%);
|
|
28
|
+
--color-primary-foreground-muted-pressed: oklch(0.535 0 0 / 12%);
|
|
29
|
+
--color-primary-border-hover: oklch(0.741 0 0);
|
|
30
|
+
--color-primary-border-pressed: oklch(0.64 0 0);
|
|
31
|
+
--color-primary-border-disable: oklch(0.535 0 0 / 12%);
|
|
32
|
+
--color-primary-content-disable: oklch(0.535 0 0 / 22%);
|
|
33
|
+
|
|
34
|
+
/* on-Primary */
|
|
35
|
+
--color-on-primary-border-default: oklch(1 0 0 / 43%);
|
|
36
|
+
--color-on-primary-content-high: oklch(1 0 0);
|
|
37
|
+
--color-on-primary-content-medium: oklch(1 0 0 / 85%);
|
|
38
|
+
--color-on-primary-content-low: oklch(1 0 0 / 55%);
|
|
39
|
+
|
|
40
|
+
/* Base */
|
|
41
|
+
--color-base-foreground-ground: oklch(1 0 0);
|
|
42
|
+
--color-base-foreground-ground-alt: oklch(0.981 0.003 247.858);
|
|
43
|
+
--color-base-foreground-surface: oklch(1 0 0);
|
|
44
|
+
--color-base-foreground-surface-lifted: oklch(1 0 0);
|
|
45
|
+
--color-base-foreground-surface-peak: oklch(1 0 0);
|
|
46
|
+
--color-base-foreground-surface-subtle: oklch(0.966 0.007 260.732);
|
|
47
|
+
--color-base-foreground-inset: oklch(0.618 0.095 260.406 / 5%);
|
|
48
|
+
--color-base-foreground-inset-hover: oklch(0.591 0.093 259.725 / 8%);
|
|
49
|
+
--color-base-foreground-inset-pressed: oklch(0.564 0.077 261.082 / 11%);
|
|
50
|
+
--color-base-foreground-card: oklch(1 0 0);
|
|
51
|
+
--color-base-foreground-card-hover: oklch(0.966 0.007 260.732);
|
|
52
|
+
--color-base-foreground-card-pressed: oklch(0.95 0.01 252.812);
|
|
53
|
+
--color-base-foreground-action: oklch(1 0 0);
|
|
54
|
+
--color-base-foreground-action-hover: oklch(0.966 0.007 260.732);
|
|
55
|
+
--color-base-foreground-action-pressed: oklch(0.95 0.01 252.812);
|
|
56
|
+
--color-base-foreground-input: oklch(0.966 0.007 260.732);
|
|
57
|
+
--color-base-foreground-input-hover: oklch(0.966 0.007 260.732);
|
|
58
|
+
--color-base-foreground-input-pressed: oklch(0.95 0.01 252.812);
|
|
59
|
+
--color-base-foreground-muted-hover: oklch(0.618 0.095 260.406 / 5%);
|
|
60
|
+
--color-base-foreground-muted-pressed: oklch(0.591 0.093 259.725 / 8%);
|
|
61
|
+
--color-base-foreground-invert: oklch(0 0 0);
|
|
62
|
+
--color-base-foreground-disable: oklch(0 0 0 / 3%);
|
|
63
|
+
--color-base-foreground-blanket: oklch(0 0 0 / 50%);
|
|
64
|
+
--color-base-foreground-transparent-focused: oklch(1 0 0 / 1%);
|
|
65
|
+
--color-base-foreground-transparance-white: oklch(1 0 0 / 0%);
|
|
66
|
+
|
|
67
|
+
/* on-Base */
|
|
68
|
+
--color-on-base-border-default: oklch(0.886 0.014 258.348);
|
|
69
|
+
--color-on-base-border-disable: oklch(0 0 0 / 15%);
|
|
70
|
+
--color-on-base-content-high: oklch(0.299 0.018 258.369);
|
|
71
|
+
--color-on-base-content-medium: oklch(0.536 0.025 259.187);
|
|
72
|
+
--color-on-base-content-low: oklch(0.742 0.018 256.302);
|
|
73
|
+
--color-on-base-content-disable: oklch(0 0 0 / 15%);
|
|
74
|
+
--color-on-base-content-invert: oklch(1 0 0);
|
|
75
|
+
--color-on-base-border-hover: oklch(0.824 0.016 257.205);
|
|
76
|
+
--color-on-base-border-pressed: oklch(0.742 0.018 256.302);
|
|
77
|
+
|
|
78
|
+
/* Accent */
|
|
79
|
+
--color-accent-content-red: oklch(0.572 0.173 26.645);
|
|
80
|
+
--color-accent-content-orange: oklch(0.578 0.151 50.358);
|
|
81
|
+
--color-accent-content-yellow: oklch(0.603 0.125 76.233);
|
|
82
|
+
--color-accent-content-lime: oklch(0.592 0.149 124.924);
|
|
83
|
+
--color-accent-content-green: oklch(0.574 0.136 145.547);
|
|
84
|
+
--color-accent-content-teal: oklch(0.565 0.102 179.988);
|
|
85
|
+
--color-accent-content-sky: oklch(0.559 0.099 220.013);
|
|
86
|
+
--color-accent-content-blue: oklch(0.537 0.17 257.968);
|
|
87
|
+
--color-accent-content-indigo: oklch(0.532 0.185 272.729);
|
|
88
|
+
--color-accent-content-violet: oklch(0.542 0.194 293.956);
|
|
89
|
+
--color-accent-content-purple: oklch(0.557 0.218 327.358);
|
|
90
|
+
--color-accent-content-pink: oklch(0.551 0.195 347.644);
|
|
91
|
+
--color-accent-foreground-red: oklch(0.969 0.015 17.418);
|
|
92
|
+
--color-accent-foreground-orange: oklch(0.974 0.016 58.641);
|
|
93
|
+
--color-accent-foreground-yellow: oklch(0.967 0.031 84.592);
|
|
94
|
+
--color-accent-foreground-lime: oklch(0.969 0.036 113.905);
|
|
95
|
+
--color-accent-foreground-green: oklch(0.963 0.035 150.559);
|
|
96
|
+
--color-accent-foreground-teal: oklch(0.966 0.031 176.602);
|
|
97
|
+
--color-accent-foreground-sky: oklch(0.969 0.026 211.623);
|
|
98
|
+
--color-accent-foreground-blue: oklch(0.968 0.017 242.423);
|
|
99
|
+
--color-accent-foreground-indigo: oklch(0.969 0.015 277.854);
|
|
100
|
+
--color-accent-foreground-violet: oklch(0.97 0.016 297.528);
|
|
101
|
+
--color-accent-foreground-purple: oklch(0.974 0.018 314.737);
|
|
102
|
+
--color-accent-foreground-pink: oklch(0.974 0.019 333.456);
|
|
103
|
+
--color-accent-border-red: oklch(0.851 0.081 17.956);
|
|
104
|
+
--color-accent-border-orange: oklch(0.848 0.097 58.859);
|
|
105
|
+
--color-accent-border-yellow: oklch(0.852 0.136 88.237);
|
|
106
|
+
--color-accent-border-lime: oklch(0.84 0.16 119.712);
|
|
107
|
+
--color-accent-border-green: oklch(0.834 0.145 154.182);
|
|
108
|
+
--color-accent-border-teal: oklch(0.832 0.118 179.475);
|
|
109
|
+
--color-accent-border-sky: oklch(0.835 0.095 210.01);
|
|
110
|
+
--color-accent-border-blue: oklch(0.841 0.082 251.559);
|
|
111
|
+
--color-accent-border-indigo: oklch(0.845 0.076 271.614);
|
|
112
|
+
--color-accent-border-violet: oklch(0.85 0.084 296.031);
|
|
113
|
+
--color-accent-border-purple: oklch(0.852 0.108 318.68);
|
|
114
|
+
--color-accent-border-pink: oklch(0.857 0.117 333.795);
|
|
115
|
+
|
|
116
|
+
/* Social */
|
|
117
|
+
--color-social-foreground-apple-black-default: oklch(0 0 0);
|
|
118
|
+
--color-social-foreground-apple-white-default: oklch(1 0 0);
|
|
119
|
+
--color-social-content-apple-black-default: oklch(1 0 0);
|
|
120
|
+
--color-social-content-apple-white-default: oklch(0 0 0);
|
|
121
|
+
--color-social-foreground-apple-outline-default: oklch(1 0 0);
|
|
122
|
+
--color-social-border-apple-outline-default: oklch(0 0 0);
|
|
123
|
+
--color-social-foreground-facebook-default: oklch(0.589 0.203 257.861);
|
|
124
|
+
--color-social-content-facebook-default: oklch(1 0 0);
|
|
125
|
+
|
|
126
|
+
/* Danger */
|
|
127
|
+
--color-danger-foreground-default: oklch(0.572 0.173 26.645);
|
|
128
|
+
--color-danger-foreground-hover: oklch(0.496 0.162 28.571);
|
|
129
|
+
--color-danger-foreground-pressed: oklch(0.431 0.145 29.919);
|
|
130
|
+
--color-danger-foreground-subtle: oklch(0.969 0.015 17.418);
|
|
131
|
+
--color-danger-foreground-subtle-hover: oklch(0.947 0.026 17.626);
|
|
132
|
+
--color-danger-foreground-subtle-pressed: oklch(0.905 0.05 16.568);
|
|
133
|
+
--color-danger-border-default: oklch(0.851 0.081 17.956);
|
|
134
|
+
--color-danger-border-strong: oklch(0.572 0.173 26.645);
|
|
135
|
+
--color-danger-content-default: oklch(0.572 0.173 26.645);
|
|
136
|
+
--color-danger-content-hover: oklch(0.496 0.162 28.571);
|
|
137
|
+
--color-danger-content-pressed: oklch(0.431 0.145 29.919);
|
|
138
|
+
--color-danger-foreground-disable: oklch(0.905 0.05 16.568);
|
|
139
|
+
--color-danger-foreground-muted-hover: oklch(0.572 0.173 26.645 / 8%);
|
|
140
|
+
--color-danger-foreground-muted-pressed: oklch(0.572 0.173 26.645 / 12%);
|
|
141
|
+
--color-danger-border-hover: oklch(0.666 0.168 23.621);
|
|
142
|
+
--color-danger-border-pressed: oklch(0.496 0.162 28.571);
|
|
143
|
+
--color-danger-border-disable: oklch(0.572 0.173 26.645 / 12%);
|
|
144
|
+
--color-danger-content-disable: oklch(0.572 0.173 26.645 / 22%);
|
|
145
|
+
|
|
146
|
+
/* Warning */
|
|
147
|
+
--color-warning-foreground-default: oklch(0.603 0.125 76.233);
|
|
148
|
+
--color-warning-foreground-subtle: oklch(0.967 0.031 84.592);
|
|
149
|
+
--color-warning-border-default: oklch(0.852 0.136 88.237);
|
|
150
|
+
--color-warning-border-strong: oklch(0.603 0.125 76.233);
|
|
151
|
+
--color-warning-foreground-hover: oklch(0.534 0.108 72.092);
|
|
152
|
+
--color-warning-foreground-pressed: oklch(0.469 0.095 68.17);
|
|
153
|
+
--color-warning-foreground-disable: oklch(0.907 0.11 88.73);
|
|
154
|
+
--color-warning-foreground-subtle-hover: oklch(0.95 0.059 87.993);
|
|
155
|
+
--color-warning-foreground-subtle-pressed: oklch(0.907 0.11 88.73);
|
|
156
|
+
--color-warning-foreground-muted-hover: oklch(0.603 0.125 76.233 / 8%);
|
|
157
|
+
--color-warning-foreground-muted-pressed: oklch(0.603 0.125 76.233 / 12%);
|
|
158
|
+
--color-warning-border-hover: oklch(0.682 0.14 82.44);
|
|
159
|
+
--color-warning-border-pressed: oklch(0.534 0.108 72.092);
|
|
160
|
+
--color-warning-border-disable: oklch(0.603 0.125 76.233 / 12%);
|
|
161
|
+
--color-warning-content-default: oklch(0.603 0.125 76.233);
|
|
162
|
+
--color-warning-content-hover: oklch(0.534 0.108 72.092);
|
|
163
|
+
--color-warning-content-pressed: oklch(0.469 0.095 68.17);
|
|
164
|
+
--color-warning-content-disable: oklch(0.603 0.125 76.233 / 22%);
|
|
165
|
+
|
|
166
|
+
/* Success */
|
|
167
|
+
--color-success-foreground-default: oklch(0.574 0.136 145.547);
|
|
168
|
+
--color-success-foreground-subtle: oklch(0.963 0.035 150.559);
|
|
169
|
+
--color-success-border-default: oklch(0.834 0.145 154.182);
|
|
170
|
+
--color-success-border-strong: oklch(0.574 0.136 145.547);
|
|
171
|
+
--color-success-foreground-hover: oklch(0.502 0.122 143.975);
|
|
172
|
+
--color-success-foreground-pressed: oklch(0.443 0.105 140.7);
|
|
173
|
+
--color-success-foreground-disable: oklch(0.892 0.12 154.085);
|
|
174
|
+
--color-success-foreground-subtle-hover: oklch(0.942 0.064 151.858);
|
|
175
|
+
--color-success-foreground-subtle-pressed: oklch(0.892 0.12 154.085);
|
|
176
|
+
--color-success-foreground-muted-hover: oklch(0.574 0.136 145.547 / 8%);
|
|
177
|
+
--color-success-foreground-muted-pressed: oklch(0.574 0.136 145.547 / 12%);
|
|
178
|
+
--color-success-border-hover: oklch(0.663 0.148 148.428);
|
|
179
|
+
--color-success-border-pressed: oklch(0.502 0.122 143.975);
|
|
180
|
+
--color-success-border-disable: oklch(0.574 0.136 145.547 / 12%);
|
|
181
|
+
--color-success-content-default: oklch(0.574 0.136 145.547);
|
|
182
|
+
--color-success-content-hover: oklch(0.502 0.122 143.975);
|
|
183
|
+
--color-success-content-pressed: oklch(0.443 0.105 140.7);
|
|
184
|
+
--color-success-content-disable: oklch(0.574 0.136 145.547 / 22%);
|
|
185
|
+
|
|
186
|
+
/* Info */
|
|
187
|
+
--color-info-foreground-default: oklch(0.532 0.185 272.729);
|
|
188
|
+
--color-info-foreground-subtle: oklch(0.969 0.015 277.854);
|
|
189
|
+
--color-info-border-default: oklch(0.845 0.076 271.614);
|
|
190
|
+
--color-info-border-strong: oklch(0.532 0.185 272.729);
|
|
191
|
+
--color-info-foreground-hover: oklch(0.463 0.184 276.121);
|
|
192
|
+
--color-info-foreground-pressed: oklch(0.409 0.169 278.708);
|
|
193
|
+
--color-info-foreground-disable: oklch(0.898 0.049 272.787);
|
|
194
|
+
--color-info-foreground-subtle-hover: oklch(0.951 0.023 275.363);
|
|
195
|
+
--color-info-foreground-subtle-pressed: oklch(0.898 0.049 272.787);
|
|
196
|
+
--color-info-foreground-muted-hover: oklch(0.532 0.185 272.729 / 8%);
|
|
197
|
+
--color-info-foreground-muted-pressed: oklch(0.532 0.185 272.729 / 12%);
|
|
198
|
+
--color-info-border-hover: oklch(0.632 0.16 273.351);
|
|
199
|
+
--color-info-border-pressed: oklch(0.463 0.184 276.121);
|
|
200
|
+
--color-info-border-disable: oklch(0.532 0.185 272.729 / 12%);
|
|
201
|
+
--color-info-content-default: oklch(0.532 0.185 272.729);
|
|
202
|
+
--color-info-content-hover: oklch(0.463 0.184 276.121);
|
|
203
|
+
--color-info-content-pressed: oklch(0.409 0.169 278.708);
|
|
204
|
+
--color-info-content-disable: oklch(0.532 0.185 272.729 / 22%);
|
|
205
|
+
|
|
206
|
+
/* on-Danger */
|
|
207
|
+
--color-on-danger-content-high: oklch(1 0 0);
|
|
208
|
+
--color-on-danger-content-medium: oklch(1 0 0 / 85%);
|
|
209
|
+
--color-on-danger-content-low: oklch(1 0 0 / 55%);
|
|
210
|
+
--color-on-danger-border-default: oklch(1 0 0 / 43%);
|
|
211
|
+
|
|
212
|
+
/* on-Warning */
|
|
213
|
+
--color-on-warning-content-high: oklch(1 0 0);
|
|
214
|
+
--color-on-warning-content-medium: oklch(1 0 0 / 85%);
|
|
215
|
+
--color-on-warning-content-low: oklch(1 0 0 / 55%);
|
|
216
|
+
--color-on-warning-border-default: oklch(1 0 0 / 43%);
|
|
217
|
+
|
|
218
|
+
/* on-Success */
|
|
219
|
+
--color-on-success-content-high: oklch(1 0 0);
|
|
220
|
+
--color-on-success-content-medium: oklch(1 0 0 / 85%);
|
|
221
|
+
--color-on-success-content-low: oklch(1 0 0 / 55%);
|
|
222
|
+
--color-on-success-border-default: oklch(1 0 0 / 43%);
|
|
223
|
+
|
|
224
|
+
/* on-Info */
|
|
225
|
+
--color-on-info-content-high: oklch(1 0 0);
|
|
226
|
+
--color-on-info-content-medium: oklch(1 0 0 / 85%);
|
|
227
|
+
--color-on-info-content-low: oklch(1 0 0 / 55%);
|
|
228
|
+
--color-on-info-border-default: oklch(1 0 0 / 43%);
|
|
229
|
+
|
|
230
|
+
/* Secondary */
|
|
231
|
+
--color-secondary-foreground-default: oklch(0.683 0.167 46.275);
|
|
232
|
+
--color-secondary-foreground-hover: oklch(0.575 0.16 44.809);
|
|
233
|
+
--color-secondary-foreground-pressed: oklch(0.505 0.146 44.217);
|
|
234
|
+
--color-secondary-foreground-disable: oklch(0.903 0.057 50.347);
|
|
235
|
+
--color-secondary-foreground-subtle: oklch(0.974 0.014 50.808);
|
|
236
|
+
--color-secondary-foreground-subtle-hover: oklch(0.95 0.025 49.747);
|
|
237
|
+
--color-secondary-foreground-subtle-pressed: oklch(0.903 0.057 50.347);
|
|
238
|
+
--color-secondary-foreground-muted-hover: oklch(0.575 0.16 44.809 / 8%);
|
|
239
|
+
--color-secondary-foreground-muted-pressed: oklch(0.575 0.16 44.809 / 12%);
|
|
240
|
+
--color-secondary-border-default: oklch(0.842 0.097 50.725);
|
|
241
|
+
--color-secondary-border-hover: oklch(0.773 0.143 48.178);
|
|
242
|
+
--color-secondary-border-pressed: oklch(0.683 0.167 46.275);
|
|
243
|
+
--color-secondary-border-disable: oklch(0.575 0.16 44.809 / 12%);
|
|
244
|
+
--color-secondary-border-strong: oklch(0.683 0.167 46.275);
|
|
245
|
+
--color-secondary-content-default: oklch(0.683 0.167 46.275);
|
|
246
|
+
--color-secondary-content-hover: oklch(0.575 0.16 44.809);
|
|
247
|
+
--color-secondary-content-pressed: oklch(0.505 0.146 44.217);
|
|
248
|
+
--color-secondary-content-disable: oklch(0.575 0.16 44.809 / 22%);
|
|
249
|
+
|
|
250
|
+
/* on-Secondary */
|
|
251
|
+
--color-on-secondary-border-default: oklch(1 0 0 / 43%);
|
|
252
|
+
--color-on-secondary-content-high: oklch(1 0 0);
|
|
253
|
+
--color-on-secondary-content-medium: oklch(1 0 0 / 85%);
|
|
254
|
+
--color-on-secondary-content-low: oklch(1 0 0 / 55%);
|
|
255
|
+
|
|
256
|
+
/* on-Accent */
|
|
257
|
+
--color-on-accent-content-high: oklch(1 0 0);
|
|
258
|
+
--color-on-accent-content-medium: oklch(1 0 0 / 85%);
|
|
259
|
+
--color-on-accent-content-low: oklch(1 0 0 / 55%);
|
|
260
|
+
--color-on-accent-border-default: oklch(1 0 0 / 43%);
|
|
261
|
+
|
|
262
|
+
/* CTA */
|
|
263
|
+
--color-cta-foreground-primary-default: oklch(0.187 0 0);
|
|
264
|
+
--color-cta-foreground-primary-hover: oklch(0.264 0 0);
|
|
265
|
+
--color-cta-foreground-primary-pressed: oklch(0.226 0 0);
|
|
266
|
+
--color-cta-foreground-primary-disable: oklch(0.885 0 0);
|
|
267
|
+
--color-cta-foreground-secondary-default: oklch(0.974 0.014 50.808);
|
|
268
|
+
--color-cta-foreground-secondary-hover: oklch(0.95 0.025 49.747);
|
|
269
|
+
--color-cta-foreground-secondary-pressed: oklch(0.903 0.057 50.347);
|
|
270
|
+
--color-cta-foreground-secondary-disable: oklch(0.974 0.014 50.808);
|
|
271
|
+
--color-cta-foreground-tertiary-default: oklch(0 0 0 / 0%);
|
|
272
|
+
--color-cta-foreground-tertiary-hover: oklch(0.575 0.16 44.809 / 8%);
|
|
273
|
+
--color-cta-foreground-tertiary-pressed: oklch(0.575 0.16 44.809 / 12%);
|
|
274
|
+
--color-cta-foreground-tertiary-disable: oklch(0 0 0 / 0%);
|
|
275
|
+
--color-cta-border-primary-default: oklch(0.187 0 0);
|
|
276
|
+
--color-cta-border-primary-hover: oklch(0.187 0 0);
|
|
277
|
+
--color-cta-border-primary-pressed: oklch(0.187 0 0);
|
|
278
|
+
--color-cta-border-primary-disable: oklch(0 0 0 / 0%);
|
|
279
|
+
--color-cta-border-secondary-default: oklch(0.842 0.097 50.725);
|
|
280
|
+
--color-cta-border-secondary-hover: oklch(0.773 0.143 48.178);
|
|
281
|
+
--color-cta-border-secondary-pressed: oklch(0.683 0.167 46.275);
|
|
282
|
+
--color-cta-border-secondary-disable: oklch(0.575 0.16 44.809 / 12%);
|
|
283
|
+
--color-cta-border-tertiary-default: oklch(0 0 0 / 0%);
|
|
284
|
+
--color-cta-border-tertiary-hover: oklch(0 0 0 / 0%);
|
|
285
|
+
--color-cta-border-tertiary-pressed: oklch(0 0 0 / 0%);
|
|
286
|
+
--color-cta-border-tertiary-disable: oklch(0 0 0 / 0%);
|
|
287
|
+
--color-cta-content-primary-default: oklch(0.187 0 0);
|
|
288
|
+
--color-cta-content-primary-hover: oklch(0.264 0 0);
|
|
289
|
+
--color-cta-content-primary-pressed: oklch(0.226 0 0);
|
|
290
|
+
--color-cta-content-primary-disable: oklch(0.535 0 0 / 22%);
|
|
291
|
+
|
|
292
|
+
/* on-CTA */
|
|
293
|
+
--color-on-cta-content-primary-default: oklch(1 0 0);
|
|
294
|
+
--color-on-cta-content-primary-hover: oklch(1 0 0);
|
|
295
|
+
--color-on-cta-content-primary-pressed: oklch(1 0 0);
|
|
296
|
+
--color-on-cta-content-primary-disable: oklch(1 0 0);
|
|
297
|
+
--color-on-cta-content-secondary-default: oklch(0.683 0.167 46.275);
|
|
298
|
+
--color-on-cta-content-secondary-hover: oklch(0.575 0.16 44.809);
|
|
299
|
+
--color-on-cta-content-secondary-pressed: oklch(0.505 0.146 44.217);
|
|
300
|
+
--color-on-cta-content-secondary-disable: oklch(0.575 0.16 44.809 / 22%);
|
|
301
|
+
--color-on-cta-content-tertiary-default: oklch(0.683 0.167 46.275);
|
|
302
|
+
--color-on-cta-content-tertiary-hover: oklch(0.683 0.167 46.275);
|
|
303
|
+
--color-on-cta-content-tertiary-pressed: oklch(0.683 0.167 46.275);
|
|
304
|
+
--color-on-cta-content-tertiary-disable: oklch(0 0 0 / 15%);
|
|
305
|
+
|
|
306
|
+
/* Static */
|
|
307
|
+
--color-static-foreground-default: oklch(1 0 0);
|
|
308
|
+
--color-static-foreground-hover: oklch(1 0 0 / 94%);
|
|
309
|
+
--color-static-foreground-pressed: oklch(1 0 0 / 90%);
|
|
310
|
+
--color-static-foreground-disable: oklch(1 0 0 / 33%);
|
|
311
|
+
--color-static-foreground-subtle: oklch(1 0 0 / 21%);
|
|
312
|
+
--color-static-foreground-subtle-hover: oklch(1 0 0 / 27%);
|
|
313
|
+
--color-static-foreground-subtle-pressed: oklch(1 0 0 / 33%);
|
|
314
|
+
--color-static-foreground-muted-hover: oklch(1 0 0 / 18%);
|
|
315
|
+
--color-static-foreground-muted-pressed: oklch(1 0 0 / 15%);
|
|
316
|
+
--color-static-border-default: oklch(1 0 0 / 27%);
|
|
317
|
+
--color-static-border-hover: oklch(1 0 0 / 33%);
|
|
318
|
+
--color-static-border-pressed: oklch(1 0 0 / 21%);
|
|
319
|
+
--color-static-border-disable: oklch(1 0 0 / 18%);
|
|
320
|
+
--color-static-border-strong: oklch(1 0 0);
|
|
321
|
+
--color-static-content-default: oklch(1 0 0);
|
|
322
|
+
--color-static-content-hover: oklch(1 0 0 / 94%);
|
|
323
|
+
--color-static-content-pressed: oklch(1 0 0 / 90%);
|
|
324
|
+
--color-static-content-disable: oklch(1 0 0 / 18%);
|
|
325
|
+
|
|
326
|
+
/* on-Static */
|
|
327
|
+
--color-on-static-border-default: oklch(1 0 0);
|
|
328
|
+
--color-on-static-content-high: oklch(0 0 0 / 73%);
|
|
329
|
+
--color-on-static-content-medium: oklch(0 0 0 / 45%);
|
|
330
|
+
--color-on-static-content-low: oklch(0 0 0 / 15%);
|
|
331
|
+
|
|
332
|
+
/* Radius — Daidai scale replaces Tailwind's */
|
|
333
|
+
--radius-*: initial;
|
|
334
|
+
--radius-xs: 0.25rem;
|
|
335
|
+
--radius-sm: 0.375rem;
|
|
336
|
+
--radius-md: 0.5rem;
|
|
337
|
+
--radius-lg: 0.75rem;
|
|
338
|
+
--radius-xl: 1rem;
|
|
339
|
+
--radius-rounded: 15rem;
|
|
340
|
+
--radius-comp-cta: 0.5rem;
|
|
341
|
+
--radius-comp-input: 0.5rem;
|
|
342
|
+
|
|
343
|
+
/* Padding → p-pad-*, gap-pad-*, … */
|
|
344
|
+
--spacing-pad-none: 0rem;
|
|
345
|
+
--spacing-pad-xxs: 0.125rem;
|
|
346
|
+
--spacing-pad-xs: 0.25rem;
|
|
347
|
+
--spacing-pad-xs-nudge: 0.375rem;
|
|
348
|
+
--spacing-pad-sm: 0.5rem;
|
|
349
|
+
--spacing-pad-sm-nudge: 0.75rem;
|
|
350
|
+
--spacing-pad-md: 1rem;
|
|
351
|
+
--spacing-pad-md-nudge: 1.25rem;
|
|
352
|
+
--spacing-pad-lg: 1.5rem;
|
|
353
|
+
--spacing-pad-xl: 2rem;
|
|
354
|
+
|
|
355
|
+
/* innerGap → gap-inner-* */
|
|
356
|
+
--spacing-inner-xs: 0.125rem;
|
|
357
|
+
--spacing-inner-sm: 0.25rem;
|
|
358
|
+
--spacing-inner-md: 0.5rem;
|
|
359
|
+
--spacing-inner-md-nudge: 0.75rem;
|
|
360
|
+
--spacing-inner-lg: 1rem;
|
|
361
|
+
|
|
362
|
+
/* Component size → h-comp-*, size-comp-*, … */
|
|
363
|
+
--spacing-comp-xxxs: 1rem;
|
|
364
|
+
--spacing-comp-xxs: 1.25rem;
|
|
365
|
+
--spacing-comp-xs: 1.5rem;
|
|
366
|
+
--spacing-comp-sm: 2rem;
|
|
367
|
+
--spacing-comp-md: 2.5rem;
|
|
368
|
+
--spacing-comp-lg: 3rem;
|
|
369
|
+
--spacing-comp-xl: 3.5rem;
|
|
370
|
+
--spacing-comp-xxl: 4rem;
|
|
371
|
+
--spacing-comp-xxxl: 4.5rem;
|
|
372
|
+
|
|
373
|
+
/* Type scale (fontattb/fontSize + lineHeight) → text-* */
|
|
374
|
+
--text-display1: 3.625rem;
|
|
375
|
+
--text-display1--line-height: 5.125rem;
|
|
376
|
+
--text-display2: 3.25rem;
|
|
377
|
+
--text-display2--line-height: 4.5rem;
|
|
378
|
+
--text-display3: 2.875rem;
|
|
379
|
+
--text-display3--line-height: 4rem;
|
|
380
|
+
--text-display4: 2.5625rem;
|
|
381
|
+
--text-display4--line-height: 3.625rem;
|
|
382
|
+
--text-head1: 2rem;
|
|
383
|
+
--text-head1--line-height: 3.25rem;
|
|
384
|
+
--text-head2: 1.8125rem;
|
|
385
|
+
--text-head2--line-height: 2.875rem;
|
|
386
|
+
--text-head3: 1.625rem;
|
|
387
|
+
--text-head3--line-height: 2.625rem;
|
|
388
|
+
--text-head4: 1.4375rem;
|
|
389
|
+
--text-head4--line-height: 2.25rem;
|
|
390
|
+
--text-head5: 1.25rem;
|
|
391
|
+
--text-head5--line-height: 2rem;
|
|
392
|
+
--text-title1: 1.125rem;
|
|
393
|
+
--text-title1--line-height: 1.75rem;
|
|
394
|
+
--text-title2: 1rem;
|
|
395
|
+
--text-title2--line-height: 1.625rem;
|
|
396
|
+
--text-body1: 1rem;
|
|
397
|
+
--text-body1--line-height: 1.5rem;
|
|
398
|
+
--text-body2: 0.875rem;
|
|
399
|
+
--text-body2--line-height: 1.375rem;
|
|
400
|
+
--text-code1: 1rem;
|
|
401
|
+
--text-code1--line-height: 1.5rem;
|
|
402
|
+
--text-code2: 0.875rem;
|
|
403
|
+
--text-code2--line-height: 1.375rem;
|
|
404
|
+
--text-caption: 0.75rem;
|
|
405
|
+
--text-caption--line-height: 1.125rem;
|
|
406
|
+
--text-overline: 0.75rem;
|
|
407
|
+
--text-overline--line-height: 1.25rem;
|
|
408
|
+
--text-tiny: 0.5625rem;
|
|
409
|
+
--text-tiny--line-height: 0.875rem;
|
|
410
|
+
--text-cta-l: 1rem;
|
|
411
|
+
--text-cta-l--line-height: 1.5rem;
|
|
412
|
+
--text-cta-m: 0.875rem;
|
|
413
|
+
--text-cta-m--line-height: 1.375rem;
|
|
414
|
+
--text-cta-s: 0.75rem;
|
|
415
|
+
--text-cta-s--line-height: 1.125rem;
|
|
416
|
+
|
|
417
|
+
/* Line-height multiples → leading-* */
|
|
418
|
+
--leading-disp: 1.4;
|
|
419
|
+
--leading-head: 1.6;
|
|
420
|
+
--leading-text: 1.5;
|
|
421
|
+
--leading-cta: 1.5;
|
|
422
|
+
|
|
423
|
+
/* Letter spacing (typography/Extra/Button letterSpacing 2%) → tracking-* */
|
|
424
|
+
--tracking-cta: 0.02em;
|
|
425
|
+
|
|
426
|
+
/* Elevation → shadow-* */
|
|
427
|
+
--shadow-comp-cta: 0 2px 2px oklch(0 0 0 / 6%), 0 0 0.5px oklch(0 0 0 / 12%);
|
|
428
|
+
|
|
429
|
+
/* Font weights → font-text-normal, font-head-strong, … */
|
|
430
|
+
--font-weight-text-normal: 400;
|
|
431
|
+
--font-weight-text-strong: 500;
|
|
432
|
+
--font-weight-head-normal: 500;
|
|
433
|
+
--font-weight-head-strong: 700;
|
|
434
|
+
--font-weight-disp-normal: 500;
|
|
435
|
+
--font-weight-disp-strong: 700;
|
|
436
|
+
--font-weight-cta-normal: 700;
|
|
437
|
+
--font-weight-mono-normal: 400;
|
|
438
|
+
--font-weight-mono-strong: 500;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
@theme inline {
|
|
442
|
+
--font-heading: var(--font-sans);
|
|
443
|
+
--font-sans: var(--font-sans);
|
|
444
|
+
/* SF Pro Display where installed, otherwise the app's Geist. */
|
|
445
|
+
--font-cta: var(--font-family-cta), var(--font-sans);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
/* Daidai tokens with no Tailwind namespace — use via var(). */
|
|
449
|
+
:root {
|
|
450
|
+
/* Font families: tokens only; the app still renders Geist (see layout.tsx). */
|
|
451
|
+
--font-family-disp: "SF Pro Display";
|
|
452
|
+
--font-family-head: "SF Pro Display";
|
|
453
|
+
--font-family-text: "IBM Plex Sans Thai Looped";
|
|
454
|
+
--font-family-cta: "SF Pro Display";
|
|
455
|
+
--font-family-mono: "Roboto Mono";
|
|
456
|
+
|
|
457
|
+
--paragraph-spacing-disp: 0rem;
|
|
458
|
+
--paragraph-spacing-head: 0rem;
|
|
459
|
+
--paragraph-spacing-text: 0rem;
|
|
460
|
+
--paragraph-spacing-cta: 0rem;
|
|
461
|
+
--paragraph-spacing-mono: 0rem;
|
|
462
|
+
|
|
463
|
+
--border-width-regular: 0.0625rem;
|
|
464
|
+
--border-width-bold: 0.125rem;
|
|
465
|
+
--border-width-icon: 0.125rem;
|
|
466
|
+
|
|
467
|
+
--opacity-overlay-disable-light: 50%;
|
|
468
|
+
--opacity-overlay-disable-dark: 50%;
|
|
469
|
+
--opacity-overlay-screen: 25%;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
.dark {
|
|
473
|
+
|
|
474
|
+
/* Primary */
|
|
475
|
+
--color-primary-foreground-default: oklch(0.979 0 0);
|
|
476
|
+
--color-primary-foreground-hover: oklch(0.967 0 0);
|
|
477
|
+
--color-primary-foreground-pressed: oklch(0.949 0 0);
|
|
478
|
+
--color-primary-foreground-subtle: oklch(0.226 0 0);
|
|
479
|
+
--color-primary-foreground-subtle-hover: oklch(0.333 0 0);
|
|
480
|
+
--color-primary-foreground-subtle-pressed: oklch(0.297 0 0);
|
|
481
|
+
--color-primary-border-default: oklch(0.387 0 0);
|
|
482
|
+
--color-primary-content-default: oklch(0.64 0 0);
|
|
483
|
+
--color-primary-content-hover: oklch(0.741 0 0);
|
|
484
|
+
--color-primary-content-pressed: oklch(0.535 0 0);
|
|
485
|
+
--color-primary-border-strong: oklch(0.979 0 0);
|
|
486
|
+
--color-primary-foreground-disable: oklch(0.333 0 0);
|
|
487
|
+
--color-primary-foreground-muted-hover: oklch(0.535 0 0 / 44%);
|
|
488
|
+
--color-primary-foreground-muted-pressed: oklch(0.535 0 0 / 32%);
|
|
489
|
+
--color-primary-border-hover: oklch(0.442 0 0);
|
|
490
|
+
--color-primary-border-pressed: oklch(0.333 0 0);
|
|
491
|
+
--color-primary-border-disable: oklch(0.535 0 0 / 44%);
|
|
492
|
+
--color-primary-content-disable: oklch(0.535 0 0 / 50%);
|
|
493
|
+
|
|
494
|
+
/* on-Primary */
|
|
495
|
+
--color-on-primary-border-default: oklch(0 0 0 / 57%);
|
|
496
|
+
--color-on-primary-content-high: oklch(0 0 0 / 93%);
|
|
497
|
+
--color-on-primary-content-medium: oklch(0 0 0 / 45%);
|
|
498
|
+
--color-on-primary-content-low: oklch(0 0 0 / 15%);
|
|
499
|
+
|
|
500
|
+
/* Base */
|
|
501
|
+
--color-base-foreground-ground: oklch(0.185 0.005 248.107);
|
|
502
|
+
--color-base-foreground-ground-alt: oklch(0.185 0.005 248.107);
|
|
503
|
+
--color-base-foreground-surface: oklch(0.225 0.011 254.071);
|
|
504
|
+
--color-base-foreground-surface-lifted: oklch(0.266 0.016 252.396);
|
|
505
|
+
--color-base-foreground-surface-peak: oklch(0.299 0.018 258.369);
|
|
506
|
+
--color-base-foreground-surface-subtle: oklch(0.185 0.005 248.107);
|
|
507
|
+
--color-base-foreground-inset: oklch(0.564 0.077 261.082 / 11%);
|
|
508
|
+
--color-base-foreground-inset-hover: oklch(0.596 0.061 260.135 / 18%);
|
|
509
|
+
--color-base-foreground-inset-pressed: oklch(0.591 0.093 259.725 / 8%);
|
|
510
|
+
--color-base-foreground-card: oklch(0.266 0.016 252.396);
|
|
511
|
+
--color-base-foreground-card-hover: oklch(0.334 0.02 257.268);
|
|
512
|
+
--color-base-foreground-card-pressed: oklch(0.266 0.016 252.396);
|
|
513
|
+
--color-base-foreground-action: oklch(0.299 0.018 258.369);
|
|
514
|
+
--color-base-foreground-action-hover: oklch(0.334 0.02 257.268);
|
|
515
|
+
--color-base-foreground-action-pressed: oklch(0.266 0.016 252.396);
|
|
516
|
+
--color-base-foreground-input: oklch(0.266 0.016 252.396);
|
|
517
|
+
--color-base-foreground-input-hover: oklch(0.334 0.02 257.268);
|
|
518
|
+
--color-base-foreground-input-pressed: oklch(0.266 0.016 252.396);
|
|
519
|
+
--color-base-foreground-muted-hover: oklch(0.596 0.061 260.135 / 18%);
|
|
520
|
+
--color-base-foreground-muted-pressed: oklch(0.59 0.052 261.215 / 28%);
|
|
521
|
+
--color-base-foreground-invert: oklch(1 0 0);
|
|
522
|
+
--color-base-foreground-disable: oklch(1 0 0 / 15%);
|
|
523
|
+
--color-base-foreground-blanket: oklch(0 0 0 / 50%);
|
|
524
|
+
--color-base-foreground-transparent-focused: oklch(0 0 0 / 1%);
|
|
525
|
+
--color-base-foreground-transparance-white: oklch(1 0 0);
|
|
526
|
+
|
|
527
|
+
/* on-Base */
|
|
528
|
+
--color-on-base-border-default: oklch(0.443 0.024 257.517);
|
|
529
|
+
--color-on-base-border-disable: oklch(1 0 0 / 21%);
|
|
530
|
+
--color-on-base-content-high: oklch(0.966 0.007 260.732);
|
|
531
|
+
--color-on-base-content-medium: oklch(0.824 0.016 257.205);
|
|
532
|
+
--color-on-base-content-low: oklch(0.641 0.02 258.367);
|
|
533
|
+
--color-on-base-content-disable: oklch(1 0 0 / 33%);
|
|
534
|
+
--color-on-base-content-invert: oklch(0 0 0);
|
|
535
|
+
--color-on-base-border-hover: oklch(0.536 0.025 259.187);
|
|
536
|
+
--color-on-base-border-pressed: oklch(0.384 0.023 258.37);
|
|
537
|
+
|
|
538
|
+
/* Accent */
|
|
539
|
+
--color-accent-content-red: oklch(0.765 0.133 20.639);
|
|
540
|
+
--color-accent-content-orange: oklch(0.762 0.144 57.351);
|
|
541
|
+
--color-accent-content-yellow: oklch(0.769 0.147 86.173);
|
|
542
|
+
--color-accent-content-lime: oklch(0.763 0.173 121.655);
|
|
543
|
+
--color-accent-content-green: oklch(0.76 0.153 151.871);
|
|
544
|
+
--color-accent-content-teal: oklch(0.748 0.126 179.114);
|
|
545
|
+
--color-accent-content-sky: oklch(0.741 0.105 213.75);
|
|
546
|
+
--color-accent-content-blue: oklch(0.752 0.117 256.009);
|
|
547
|
+
--color-accent-content-indigo: oklch(0.757 0.123 273.418);
|
|
548
|
+
--color-accent-content-violet: oklch(0.759 0.126 295.257);
|
|
549
|
+
--color-accent-content-purple: oklch(0.768 0.149 320.828);
|
|
550
|
+
--color-accent-content-pink: oklch(0.769 0.161 338.763);
|
|
551
|
+
--color-accent-foreground-red: oklch(0.23 0.066 26.433);
|
|
552
|
+
--color-accent-foreground-orange: oklch(0.237 0.065 39.811);
|
|
553
|
+
--color-accent-foreground-yellow: oklch(0.247 0.043 63.487);
|
|
554
|
+
--color-accent-foreground-lime: oklch(0.238 0.054 126.536);
|
|
555
|
+
--color-accent-foreground-green: oklch(0.233 0.052 146.73);
|
|
556
|
+
--color-accent-foreground-teal: oklch(0.245 0.03 188.184);
|
|
557
|
+
--color-accent-foreground-sky: oklch(0.242 0.049 243.104);
|
|
558
|
+
--color-accent-foreground-blue: oklch(0.245 0.078 266.227);
|
|
559
|
+
--color-accent-foreground-indigo: oklch(0.252 0.081 291.837);
|
|
560
|
+
--color-accent-foreground-violet: oklch(0.251 0.085 303.944);
|
|
561
|
+
--color-accent-foreground-purple: oklch(0.246 0.091 330.804);
|
|
562
|
+
--color-accent-foreground-pink: oklch(0.24 0.071 358.098);
|
|
563
|
+
--color-accent-border-red: oklch(0.431 0.145 29.919);
|
|
564
|
+
--color-accent-border-orange: oklch(0.436 0.122 43.654);
|
|
565
|
+
--color-accent-border-yellow: oklch(0.469 0.095 68.17);
|
|
566
|
+
--color-accent-border-lime: oklch(0.455 0.112 129.381);
|
|
567
|
+
--color-accent-border-green: oklch(0.443 0.105 140.7);
|
|
568
|
+
--color-accent-border-teal: oklch(0.422 0.071 181.391);
|
|
569
|
+
--color-accent-border-sky: oklch(0.427 0.08 232.109);
|
|
570
|
+
--color-accent-border-blue: oklch(0.406 0.165 260.279);
|
|
571
|
+
--color-accent-border-indigo: oklch(0.409 0.169 278.708);
|
|
572
|
+
--color-accent-border-violet: oklch(0.426 0.187 298.992);
|
|
573
|
+
--color-accent-border-purple: oklch(0.427 0.188 328.682);
|
|
574
|
+
--color-accent-border-pink: oklch(0.42 0.159 353.259);
|
|
575
|
+
|
|
576
|
+
/* Social */
|
|
577
|
+
--color-social-foreground-apple-black-default: oklch(1 0 0);
|
|
578
|
+
--color-social-foreground-apple-white-default: oklch(1 0 0);
|
|
579
|
+
--color-social-content-apple-black-default: oklch(0 0 0);
|
|
580
|
+
--color-social-content-apple-white-default: oklch(0 0 0);
|
|
581
|
+
--color-social-foreground-apple-outline-default: oklch(1 0 0);
|
|
582
|
+
--color-social-border-apple-outline-default: oklch(1 0 0);
|
|
583
|
+
--color-social-foreground-facebook-default: oklch(1 0 0);
|
|
584
|
+
--color-social-content-facebook-default: oklch(1 0 0);
|
|
585
|
+
|
|
586
|
+
/* Danger */
|
|
587
|
+
--color-danger-foreground-default: oklch(0.765 0.133 20.639);
|
|
588
|
+
--color-danger-foreground-hover: oklch(0.851 0.081 17.956);
|
|
589
|
+
--color-danger-foreground-pressed: oklch(0.666 0.168 23.621);
|
|
590
|
+
--color-danger-foreground-subtle: oklch(0.23 0.066 26.433);
|
|
591
|
+
--color-danger-foreground-subtle-hover: oklch(0.37 0.126 30.282);
|
|
592
|
+
--color-danger-foreground-subtle-pressed: oklch(0.321 0.104 29.57);
|
|
593
|
+
--color-danger-border-default: oklch(0.431 0.145 29.919);
|
|
594
|
+
--color-danger-border-strong: oklch(0.765 0.133 20.639);
|
|
595
|
+
--color-danger-content-default: oklch(0.765 0.133 20.639);
|
|
596
|
+
--color-danger-content-hover: oklch(0.851 0.081 17.956);
|
|
597
|
+
--color-danger-content-pressed: oklch(0.572 0.173 26.645);
|
|
598
|
+
--color-danger-foreground-disable: oklch(0.37 0.126 30.282);
|
|
599
|
+
--color-danger-foreground-muted-hover: oklch(0.572 0.173 26.645 / 44%);
|
|
600
|
+
--color-danger-foreground-muted-pressed: oklch(0.572 0.173 26.645 / 32%);
|
|
601
|
+
--color-danger-border-hover: oklch(0.666 0.168 23.621);
|
|
602
|
+
--color-danger-border-pressed: oklch(0.496 0.162 28.571);
|
|
603
|
+
--color-danger-border-disable: oklch(0.572 0.173 26.645 / 44%);
|
|
604
|
+
--color-danger-content-disable: oklch(0.572 0.173 26.645 / 50%);
|
|
605
|
+
|
|
606
|
+
/* Warning */
|
|
607
|
+
--color-warning-foreground-default: oklch(0.769 0.147 86.173);
|
|
608
|
+
--color-warning-foreground-subtle: oklch(0.247 0.043 63.487);
|
|
609
|
+
--color-warning-border-default: oklch(0.469 0.095 68.17);
|
|
610
|
+
--color-warning-border-strong: oklch(0.769 0.147 86.173);
|
|
611
|
+
--color-warning-foreground-hover: oklch(0.852 0.136 88.237);
|
|
612
|
+
--color-warning-foreground-pressed: oklch(0.682 0.14 82.44);
|
|
613
|
+
--color-warning-foreground-disable: oklch(0.403 0.081 65.061);
|
|
614
|
+
--color-warning-foreground-subtle-hover: oklch(0.403 0.081 65.061);
|
|
615
|
+
--color-warning-foreground-subtle-pressed: oklch(0.347 0.068 63.816);
|
|
616
|
+
--color-warning-foreground-muted-hover: oklch(0.603 0.125 76.233 / 44%);
|
|
617
|
+
--color-warning-foreground-muted-pressed: oklch(0.603 0.125 76.233 / 32%);
|
|
618
|
+
--color-warning-border-hover: oklch(0.682 0.14 82.44);
|
|
619
|
+
--color-warning-border-pressed: oklch(0.534 0.108 72.092);
|
|
620
|
+
--color-warning-border-disable: oklch(0.603 0.125 76.233 / 44%);
|
|
621
|
+
--color-warning-content-default: oklch(0.769 0.147 86.173);
|
|
622
|
+
--color-warning-content-hover: oklch(0.852 0.136 88.237);
|
|
623
|
+
--color-warning-content-pressed: oklch(0.603 0.125 76.233);
|
|
624
|
+
--color-warning-content-disable: oklch(0.603 0.125 76.233 / 50%);
|
|
625
|
+
|
|
626
|
+
/* Success */
|
|
627
|
+
--color-success-foreground-default: oklch(0.76 0.153 151.871);
|
|
628
|
+
--color-success-foreground-subtle: oklch(0.233 0.052 146.73);
|
|
629
|
+
--color-success-border-default: oklch(0.443 0.105 140.7);
|
|
630
|
+
--color-success-border-strong: oklch(0.76 0.153 151.871);
|
|
631
|
+
--color-success-foreground-hover: oklch(0.834 0.145 154.182);
|
|
632
|
+
--color-success-foreground-pressed: oklch(0.663 0.148 148.428);
|
|
633
|
+
--color-success-foreground-disable: oklch(0.39 0.086 140.687);
|
|
634
|
+
--color-success-foreground-subtle-hover: oklch(0.39 0.086 140.687);
|
|
635
|
+
--color-success-foreground-subtle-pressed: oklch(0.332 0.07 143.794);
|
|
636
|
+
--color-success-foreground-muted-hover: oklch(0.574 0.136 145.547 / 44%);
|
|
637
|
+
--color-success-foreground-muted-pressed: oklch(0.574 0.136 145.547 / 32%);
|
|
638
|
+
--color-success-border-hover: oklch(0.663 0.148 148.428);
|
|
639
|
+
--color-success-border-pressed: oklch(0.502 0.122 143.975);
|
|
640
|
+
--color-success-border-disable: oklch(0.574 0.136 145.547 / 44%);
|
|
641
|
+
--color-success-content-default: oklch(0.76 0.153 151.871);
|
|
642
|
+
--color-success-content-hover: oklch(0.834 0.145 154.182);
|
|
643
|
+
--color-success-content-pressed: oklch(0.574 0.136 145.547);
|
|
644
|
+
--color-success-content-disable: oklch(0.574 0.136 145.547 / 50%);
|
|
645
|
+
|
|
646
|
+
/* Info */
|
|
647
|
+
--color-info-foreground-default: oklch(0.757 0.123 273.418);
|
|
648
|
+
--color-info-foreground-subtle: oklch(0.252 0.081 291.837);
|
|
649
|
+
--color-info-border-default: oklch(0.409 0.169 278.708);
|
|
650
|
+
--color-info-border-strong: oklch(0.757 0.123 273.418);
|
|
651
|
+
--color-info-foreground-hover: oklch(0.845 0.076 271.614);
|
|
652
|
+
--color-info-foreground-pressed: oklch(0.632 0.16 273.351);
|
|
653
|
+
--color-info-foreground-disable: oklch(0.369 0.148 280.646);
|
|
654
|
+
--color-info-foreground-subtle-hover: oklch(0.369 0.148 280.646);
|
|
655
|
+
--color-info-foreground-subtle-pressed: oklch(0.329 0.115 286.227);
|
|
656
|
+
--color-info-foreground-muted-hover: oklch(0.532 0.185 272.729 / 44%);
|
|
657
|
+
--color-info-foreground-muted-pressed: oklch(0.532 0.185 272.729 / 32%);
|
|
658
|
+
--color-info-border-hover: oklch(0.632 0.16 273.351);
|
|
659
|
+
--color-info-border-pressed: oklch(0.463 0.184 276.121);
|
|
660
|
+
--color-info-border-disable: oklch(0.532 0.185 272.729 / 44%);
|
|
661
|
+
--color-info-content-default: oklch(0.757 0.123 273.418);
|
|
662
|
+
--color-info-content-hover: oklch(0.845 0.076 271.614);
|
|
663
|
+
--color-info-content-pressed: oklch(0.532 0.185 272.729);
|
|
664
|
+
--color-info-content-disable: oklch(0.532 0.185 272.729 / 50%);
|
|
665
|
+
|
|
666
|
+
/* on-Danger */
|
|
667
|
+
--color-on-danger-content-high: oklch(0 0 0 / 73%);
|
|
668
|
+
--color-on-danger-content-medium: oklch(0 0 0 / 45%);
|
|
669
|
+
--color-on-danger-content-low: oklch(0 0 0 / 15%);
|
|
670
|
+
--color-on-danger-border-default: oklch(0 0 0 / 57%);
|
|
671
|
+
|
|
672
|
+
/* on-Warning */
|
|
673
|
+
--color-on-warning-content-high: oklch(0 0 0 / 73%);
|
|
674
|
+
--color-on-warning-content-medium: oklch(0 0 0 / 45%);
|
|
675
|
+
--color-on-warning-content-low: oklch(0 0 0 / 15%);
|
|
676
|
+
--color-on-warning-border-default: oklch(0 0 0 / 57%);
|
|
677
|
+
|
|
678
|
+
/* on-Success */
|
|
679
|
+
--color-on-success-content-high: oklch(0 0 0 / 73%);
|
|
680
|
+
--color-on-success-content-medium: oklch(0 0 0 / 45%);
|
|
681
|
+
--color-on-success-content-low: oklch(0 0 0 / 15%);
|
|
682
|
+
--color-on-success-border-default: oklch(0 0 0 / 57%);
|
|
683
|
+
|
|
684
|
+
/* on-Info */
|
|
685
|
+
--color-on-info-content-high: oklch(0 0 0 / 73%);
|
|
686
|
+
--color-on-info-content-medium: oklch(0 0 0 / 45%);
|
|
687
|
+
--color-on-info-content-low: oklch(0 0 0 / 15%);
|
|
688
|
+
--color-on-info-border-default: oklch(0 0 0 / 57%);
|
|
689
|
+
|
|
690
|
+
/* Secondary */
|
|
691
|
+
--color-secondary-foreground-default: oklch(0.773 0.143 48.178);
|
|
692
|
+
--color-secondary-foreground-hover: oklch(0.842 0.097 50.725);
|
|
693
|
+
--color-secondary-foreground-pressed: oklch(0.575 0.16 44.809);
|
|
694
|
+
--color-secondary-foreground-disable: oklch(0.387 0.106 44.941);
|
|
695
|
+
--color-secondary-foreground-subtle: oklch(0.247 0.057 47.415);
|
|
696
|
+
--color-secondary-foreground-subtle-hover: oklch(0.387 0.106 44.941);
|
|
697
|
+
--color-secondary-foreground-subtle-pressed: oklch(0.335 0.083 46.099);
|
|
698
|
+
--color-secondary-foreground-muted-hover: oklch(0.575 0.16 44.809 / 44%);
|
|
699
|
+
--color-secondary-foreground-muted-pressed: oklch(0.575 0.16 44.809 / 32%);
|
|
700
|
+
--color-secondary-border-default: oklch(0.446 0.126 44.669);
|
|
701
|
+
--color-secondary-border-hover: oklch(0.505 0.146 44.217);
|
|
702
|
+
--color-secondary-border-pressed: oklch(0.387 0.106 44.941);
|
|
703
|
+
--color-secondary-border-disable: oklch(0.575 0.16 44.809 / 44%);
|
|
704
|
+
--color-secondary-border-strong: oklch(0.773 0.143 48.178);
|
|
705
|
+
--color-secondary-content-default: oklch(0.773 0.143 48.178);
|
|
706
|
+
--color-secondary-content-hover: oklch(0.842 0.097 50.725);
|
|
707
|
+
--color-secondary-content-pressed: oklch(0.683 0.167 46.275);
|
|
708
|
+
--color-secondary-content-disable: oklch(0.575 0.16 44.809 / 50%);
|
|
709
|
+
|
|
710
|
+
/* on-Secondary */
|
|
711
|
+
--color-on-secondary-border-default: oklch(0 0 0 / 57%);
|
|
712
|
+
--color-on-secondary-content-high: oklch(0 0 0 / 73%);
|
|
713
|
+
--color-on-secondary-content-medium: oklch(0 0 0 / 45%);
|
|
714
|
+
--color-on-secondary-content-low: oklch(0 0 0 / 15%);
|
|
715
|
+
|
|
716
|
+
/* on-Accent */
|
|
717
|
+
--color-on-accent-content-high: oklch(0 0 0 / 73%);
|
|
718
|
+
--color-on-accent-content-medium: oklch(0 0 0 / 45%);
|
|
719
|
+
--color-on-accent-content-low: oklch(0 0 0 / 15%);
|
|
720
|
+
--color-on-accent-border-default: oklch(0 0 0 / 57%);
|
|
721
|
+
|
|
722
|
+
/* CTA */
|
|
723
|
+
--color-cta-foreground-primary-default: oklch(0.979 0 0);
|
|
724
|
+
--color-cta-foreground-primary-hover: oklch(0.967 0 0);
|
|
725
|
+
--color-cta-foreground-primary-pressed: oklch(0.949 0 0);
|
|
726
|
+
--color-cta-foreground-primary-disable: oklch(0.333 0 0);
|
|
727
|
+
--color-cta-foreground-secondary-default: oklch(0.247 0.057 47.415);
|
|
728
|
+
--color-cta-foreground-secondary-hover: oklch(0.387 0.106 44.941);
|
|
729
|
+
--color-cta-foreground-secondary-pressed: oklch(0.335 0.083 46.099);
|
|
730
|
+
--color-cta-foreground-secondary-disable: oklch(0.247 0.057 47.415);
|
|
731
|
+
--color-cta-foreground-tertiary-default: oklch(0 0 0 / 0%);
|
|
732
|
+
--color-cta-foreground-tertiary-hover: oklch(0.575 0.16 44.809 / 44%);
|
|
733
|
+
--color-cta-foreground-tertiary-pressed: oklch(0.575 0.16 44.809 / 32%);
|
|
734
|
+
--color-cta-foreground-tertiary-disable: oklch(0 0 0 / 0%);
|
|
735
|
+
--color-cta-border-primary-default: oklch(0.979 0 0);
|
|
736
|
+
--color-cta-border-primary-hover: oklch(0.979 0 0);
|
|
737
|
+
--color-cta-border-primary-pressed: oklch(0.979 0 0);
|
|
738
|
+
--color-cta-border-primary-disable: oklch(0 0 0 / 0%);
|
|
739
|
+
--color-cta-border-secondary-default: oklch(0.446 0.126 44.669);
|
|
740
|
+
--color-cta-border-secondary-hover: oklch(0.505 0.146 44.217);
|
|
741
|
+
--color-cta-border-secondary-pressed: oklch(0.387 0.106 44.941);
|
|
742
|
+
--color-cta-border-secondary-disable: oklch(0.575 0.16 44.809 / 44%);
|
|
743
|
+
--color-cta-border-tertiary-default: oklch(0 0 0 / 0%);
|
|
744
|
+
--color-cta-border-tertiary-hover: oklch(0 0 0 / 0%);
|
|
745
|
+
--color-cta-border-tertiary-pressed: oklch(0 0 0 / 0%);
|
|
746
|
+
--color-cta-border-tertiary-disable: oklch(0 0 0 / 0%);
|
|
747
|
+
--color-cta-content-primary-default: oklch(0.64 0 0);
|
|
748
|
+
--color-cta-content-primary-hover: oklch(0.741 0 0);
|
|
749
|
+
--color-cta-content-primary-pressed: oklch(0.535 0 0);
|
|
750
|
+
--color-cta-content-primary-disable: oklch(0.535 0 0 / 50%);
|
|
751
|
+
|
|
752
|
+
/* on-CTA */
|
|
753
|
+
--color-on-cta-content-primary-default: oklch(0 0 0 / 93%);
|
|
754
|
+
--color-on-cta-content-primary-hover: oklch(0 0 0 / 93%);
|
|
755
|
+
--color-on-cta-content-primary-pressed: oklch(0 0 0 / 93%);
|
|
756
|
+
--color-on-cta-content-primary-disable: oklch(0 0 0 / 93%);
|
|
757
|
+
--color-on-cta-content-secondary-default: oklch(0.773 0.143 48.178);
|
|
758
|
+
--color-on-cta-content-secondary-hover: oklch(0.842 0.097 50.725);
|
|
759
|
+
--color-on-cta-content-secondary-pressed: oklch(0.683 0.167 46.275);
|
|
760
|
+
--color-on-cta-content-secondary-disable: oklch(0.575 0.16 44.809 / 50%);
|
|
761
|
+
--color-on-cta-content-tertiary-default: oklch(0.773 0.143 48.178);
|
|
762
|
+
--color-on-cta-content-tertiary-hover: oklch(0.773 0.143 48.178);
|
|
763
|
+
--color-on-cta-content-tertiary-pressed: oklch(0.773 0.143 48.178);
|
|
764
|
+
--color-on-cta-content-tertiary-disable: oklch(1 0 0 / 33%);
|
|
765
|
+
|
|
766
|
+
/* Static */
|
|
767
|
+
--color-static-foreground-default: oklch(1 0 0);
|
|
768
|
+
--color-static-foreground-hover: oklch(1 0 0);
|
|
769
|
+
--color-static-foreground-pressed: oklch(1 0 0);
|
|
770
|
+
--color-static-foreground-disable: oklch(1 0 0);
|
|
771
|
+
--color-static-foreground-subtle: oklch(1 0 0);
|
|
772
|
+
--color-static-foreground-subtle-hover: oklch(1 0 0);
|
|
773
|
+
--color-static-foreground-subtle-pressed: oklch(1 0 0);
|
|
774
|
+
--color-static-foreground-muted-hover: oklch(1 0 0);
|
|
775
|
+
--color-static-foreground-muted-pressed: oklch(1 0 0);
|
|
776
|
+
--color-static-border-default: oklch(1 0 0);
|
|
777
|
+
--color-static-border-hover: oklch(1 0 0);
|
|
778
|
+
--color-static-border-pressed: oklch(1 0 0);
|
|
779
|
+
--color-static-border-disable: oklch(1 0 0);
|
|
780
|
+
--color-static-border-strong: oklch(1 0 0);
|
|
781
|
+
--color-static-content-default: oklch(1 0 0);
|
|
782
|
+
--color-static-content-hover: oklch(1 0 0);
|
|
783
|
+
--color-static-content-pressed: oklch(1 0 0);
|
|
784
|
+
--color-static-content-disable: oklch(1 0 0);
|
|
785
|
+
|
|
786
|
+
/* on-Static */
|
|
787
|
+
--color-on-static-border-default: oklch(1 0 0);
|
|
788
|
+
--color-on-static-content-high: oklch(1 0 0);
|
|
789
|
+
--color-on-static-content-medium: oklch(1 0 0);
|
|
790
|
+
--color-on-static-content-low: oklch(1 0 0);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
@layer base {
|
|
794
|
+
* {
|
|
795
|
+
@apply border-on-base-border-default outline-primary-border-strong/50;
|
|
796
|
+
}
|
|
797
|
+
body {
|
|
798
|
+
@apply bg-base-foreground-ground text-on-base-content-high;
|
|
799
|
+
}
|
|
800
|
+
html {
|
|
801
|
+
@apply font-sans;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
/* lab-ds components */
|
|
806
|
+
/* src/components/Alert/Alert.module.css */
|
|
807
|
+
@layer theme, base, components, utilities;
|
|
808
|
+
@layer components {
|
|
809
|
+
.Alert_root {
|
|
810
|
+
position: relative;
|
|
811
|
+
display: grid;
|
|
812
|
+
width: 100%;
|
|
813
|
+
gap: calc(var(--spacing, 0.25rem) * 0.5);
|
|
814
|
+
border-radius: var(--radius-lg, 0.75rem);
|
|
815
|
+
border-style: var(--tw-border-style);
|
|
816
|
+
border-width: 1px;
|
|
817
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
|
|
818
|
+
padding-block: calc(var(--spacing, 0.25rem) * 2);
|
|
819
|
+
text-align: left;
|
|
820
|
+
font-size: var(--text-sm, 0.875rem);
|
|
821
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
822
|
+
&:has(*[data-slot=alert-action]) {
|
|
823
|
+
padding-right: calc(var(--spacing, 0.25rem) * 18);
|
|
824
|
+
}
|
|
825
|
+
&:has(> svg) {
|
|
826
|
+
grid-template-columns: auto 1fr;
|
|
827
|
+
}
|
|
828
|
+
&:has(> svg) {
|
|
829
|
+
column-gap: calc(var(--spacing, 0.25rem) * 2);
|
|
830
|
+
}
|
|
831
|
+
:is(& > *) {
|
|
832
|
+
&:is(svg) {
|
|
833
|
+
grid-row: span 2 / span 2;
|
|
834
|
+
}
|
|
835
|
+
}
|
|
836
|
+
:is(& > *) {
|
|
837
|
+
&:is(svg) {
|
|
838
|
+
--tw-translate-y: calc(var(--spacing, 0.25rem) * 0.5);
|
|
839
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
:is(& > *) {
|
|
843
|
+
&:is(svg) {
|
|
844
|
+
color: currentcolor;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
:is(& > *) {
|
|
848
|
+
&:is(svg:not([class*=size-])) {
|
|
849
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
850
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
851
|
+
}
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
.Alert_default {
|
|
855
|
+
background-color: var(--color-base-foreground-card, oklch(1 0 0));
|
|
856
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
857
|
+
}
|
|
858
|
+
.Alert_destructive {
|
|
859
|
+
border-color: var(--color-danger-border-default, oklch(0.851 0.081 17.956));
|
|
860
|
+
background-color: var(--color-danger-foreground-subtle, oklch(0.969 0.015 17.418));
|
|
861
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
862
|
+
:is(& > *) {
|
|
863
|
+
&[data-slot=alert-description] {
|
|
864
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
}
|
|
868
|
+
.Alert_title {
|
|
869
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
870
|
+
font-weight: var(--font-weight-medium, 500);
|
|
871
|
+
& a {
|
|
872
|
+
text-decoration-line: underline;
|
|
873
|
+
}
|
|
874
|
+
& a {
|
|
875
|
+
text-underline-offset: 3px;
|
|
876
|
+
}
|
|
877
|
+
& a {
|
|
878
|
+
&:hover {
|
|
879
|
+
@media (hover: hover) {
|
|
880
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
881
|
+
}
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
}
|
|
885
|
+
.Alert_root:has(> svg) .Alert_title {
|
|
886
|
+
grid-column-start: 2;
|
|
887
|
+
}
|
|
888
|
+
.Alert_description {
|
|
889
|
+
font-size: var(--text-sm, 0.875rem);
|
|
890
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
891
|
+
text-wrap: balance;
|
|
892
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
893
|
+
@media (width >= 48rem) {
|
|
894
|
+
text-wrap: pretty;
|
|
895
|
+
}
|
|
896
|
+
& a {
|
|
897
|
+
text-decoration-line: underline;
|
|
898
|
+
}
|
|
899
|
+
& a {
|
|
900
|
+
text-underline-offset: 3px;
|
|
901
|
+
}
|
|
902
|
+
& a {
|
|
903
|
+
&:hover {
|
|
904
|
+
@media (hover: hover) {
|
|
905
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
& p:not(:last-child) {
|
|
910
|
+
margin-bottom: calc(var(--spacing, 0.25rem) * 4);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
.Alert_action {
|
|
914
|
+
position: absolute;
|
|
915
|
+
top: calc(var(--spacing, 0.25rem) * 2);
|
|
916
|
+
right: calc(var(--spacing, 0.25rem) * 2);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
920
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
921
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
922
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
923
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
924
|
+
|
|
925
|
+
/* src/components/Badge/Badge.module.css */
|
|
926
|
+
@layer theme, base, components, utilities;
|
|
927
|
+
@layer components {
|
|
928
|
+
.Badge_root {
|
|
929
|
+
display: inline-flex;
|
|
930
|
+
height: calc(var(--spacing, 0.25rem) * 5);
|
|
931
|
+
width: fit-content;
|
|
932
|
+
flex-shrink: 0;
|
|
933
|
+
align-items: center;
|
|
934
|
+
justify-content: center;
|
|
935
|
+
gap: var(--spacing, 0.25rem);
|
|
936
|
+
overflow: hidden;
|
|
937
|
+
border-radius: var(--radius-rounded, 15rem);
|
|
938
|
+
border-style: var(--tw-border-style);
|
|
939
|
+
border-width: 1px;
|
|
940
|
+
border-color: transparent;
|
|
941
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2);
|
|
942
|
+
padding-block: calc(var(--spacing, 0.25rem) * 0.5);
|
|
943
|
+
font-size: var(--text-xs, 0.75rem);
|
|
944
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
945
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
946
|
+
font-weight: var(--font-weight-medium, 500);
|
|
947
|
+
white-space: nowrap;
|
|
948
|
+
transition-property: all;
|
|
949
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
950
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
951
|
+
&:focus-visible {
|
|
952
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
953
|
+
box-shadow:
|
|
954
|
+
var(--tw-inset-shadow),
|
|
955
|
+
var(--tw-inset-ring-shadow),
|
|
956
|
+
var(--tw-ring-offset-shadow),
|
|
957
|
+
var(--tw-ring-shadow),
|
|
958
|
+
var(--tw-shadow);
|
|
959
|
+
}
|
|
960
|
+
&:focus-visible {
|
|
961
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.187 0 0) 30%, transparent);
|
|
962
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
963
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary-border-strong, oklch(0.187 0 0)) 30%, transparent);
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
&:has(*[data-icon=inline-end]) {
|
|
967
|
+
padding-right: calc(var(--spacing, 0.25rem) * 1.5);
|
|
968
|
+
}
|
|
969
|
+
&:has(*[data-icon=inline-start]) {
|
|
970
|
+
padding-left: calc(var(--spacing, 0.25rem) * 1.5);
|
|
971
|
+
}
|
|
972
|
+
&[aria-invalid=true] {
|
|
973
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
974
|
+
}
|
|
975
|
+
&[aria-invalid=true] {
|
|
976
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
977
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
978
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
& > svg {
|
|
982
|
+
pointer-events: none;
|
|
983
|
+
}
|
|
984
|
+
& > svg {
|
|
985
|
+
width: calc(var(--spacing, 0.25rem) * 3) !important;
|
|
986
|
+
height: calc(var(--spacing, 0.25rem) * 3) !important;
|
|
987
|
+
}
|
|
988
|
+
}
|
|
989
|
+
.Badge_default {
|
|
990
|
+
background-color: var(--color-primary-foreground-default, oklch(0.187 0 0));
|
|
991
|
+
color: var(--color-on-primary-content-high, oklch(1 0 0));
|
|
992
|
+
&:is(a) {
|
|
993
|
+
&:hover {
|
|
994
|
+
@media (hover: hover) {
|
|
995
|
+
background-color: var(--color-primary-foreground-hover, oklch(0.264 0 0));
|
|
996
|
+
}
|
|
997
|
+
}
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
.Badge_secondary {
|
|
1001
|
+
background-color: var(--color-secondary-foreground-subtle, oklch(0.974 0.014 50.808));
|
|
1002
|
+
color: var(--color-secondary-content-default, oklch(0.683 0.167 46.275));
|
|
1003
|
+
&:is(a) {
|
|
1004
|
+
&:hover {
|
|
1005
|
+
@media (hover: hover) {
|
|
1006
|
+
background-color: var(--color-secondary-foreground-subtle-hover, oklch(0.95 0.025 49.747));
|
|
1007
|
+
}
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
}
|
|
1011
|
+
.Badge_destructive {
|
|
1012
|
+
background-color: var(--color-danger-foreground-subtle, oklch(0.969 0.015 17.418));
|
|
1013
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
1014
|
+
&:focus-visible {
|
|
1015
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
1016
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1017
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
&:is(a) {
|
|
1021
|
+
&:hover {
|
|
1022
|
+
@media (hover: hover) {
|
|
1023
|
+
background-color: var(--color-danger-foreground-subtle-hover, oklch(0.947 0.026 17.626));
|
|
1024
|
+
}
|
|
1025
|
+
}
|
|
1026
|
+
}
|
|
1027
|
+
}
|
|
1028
|
+
.Badge_outline {
|
|
1029
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
1030
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1031
|
+
&:is(a) {
|
|
1032
|
+
&:hover {
|
|
1033
|
+
@media (hover: hover) {
|
|
1034
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
}
|
|
1038
|
+
}
|
|
1039
|
+
.Badge_ghost {
|
|
1040
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1041
|
+
&:hover {
|
|
1042
|
+
@media (hover: hover) {
|
|
1043
|
+
background-color: var(--color-base-foreground-inset, oklch(0.618 0.095 260.406 / 5%));
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
.Badge_link {
|
|
1048
|
+
color: var(--color-on-cta-content-tertiary-default, oklch(0.683 0.167 46.275));
|
|
1049
|
+
text-underline-offset: 4px;
|
|
1050
|
+
&:hover {
|
|
1051
|
+
@media (hover: hover) {
|
|
1052
|
+
text-decoration-line: underline;
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1058
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1059
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1060
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1061
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1062
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1063
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1064
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1065
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1066
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1067
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1068
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1069
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1070
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1071
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1072
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1073
|
+
|
|
1074
|
+
/* src/components/Button/Button.module.css */
|
|
1075
|
+
@layer theme, base, components, utilities;
|
|
1076
|
+
@layer components {
|
|
1077
|
+
.Button_root {
|
|
1078
|
+
display: inline-flex;
|
|
1079
|
+
flex-shrink: 0;
|
|
1080
|
+
align-items: center;
|
|
1081
|
+
justify-content: center;
|
|
1082
|
+
gap: var(--spacing-inner-md, 0.5rem);
|
|
1083
|
+
border-radius: var(--radius-comp-cta, 0.5rem);
|
|
1084
|
+
border-style: var(--tw-border-style);
|
|
1085
|
+
border-width: 1px;
|
|
1086
|
+
border-color: transparent;
|
|
1087
|
+
background-clip: padding-box;
|
|
1088
|
+
font-family: var(--font-family-cta), var(--font-sans);
|
|
1089
|
+
font-size: var(--text-cta-m, 0.875rem);
|
|
1090
|
+
line-height: var(--tw-leading, var(--text-cta-m--line-height, 1.375rem));
|
|
1091
|
+
--tw-font-weight: var(--font-weight-cta-normal, 700);
|
|
1092
|
+
font-weight: var(--font-weight-cta-normal, 700);
|
|
1093
|
+
--tw-tracking: var(--tracking-cta, 0.02em);
|
|
1094
|
+
letter-spacing: var(--tracking-cta, 0.02em);
|
|
1095
|
+
white-space: nowrap;
|
|
1096
|
+
transition-property: all;
|
|
1097
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
1098
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
1099
|
+
--tw-outline-style: none;
|
|
1100
|
+
outline-style: none;
|
|
1101
|
+
-webkit-user-select: none;
|
|
1102
|
+
user-select: none;
|
|
1103
|
+
&:focus-visible {
|
|
1104
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1105
|
+
box-shadow:
|
|
1106
|
+
var(--tw-inset-shadow),
|
|
1107
|
+
var(--tw-inset-ring-shadow),
|
|
1108
|
+
var(--tw-ring-offset-shadow),
|
|
1109
|
+
var(--tw-ring-shadow),
|
|
1110
|
+
var(--tw-shadow);
|
|
1111
|
+
}
|
|
1112
|
+
&:focus-visible {
|
|
1113
|
+
--tw-ring-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
1114
|
+
}
|
|
1115
|
+
&:focus-visible {
|
|
1116
|
+
--tw-ring-offset-width: 2px;
|
|
1117
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
1118
|
+
}
|
|
1119
|
+
&:focus-visible {
|
|
1120
|
+
--tw-ring-offset-color: color-mix(in srgb, oklch(1 0 0) 75%, transparent);
|
|
1121
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1122
|
+
--tw-ring-offset-color: color-mix(in oklab, var(--color-base-foreground-ground, oklch(1 0 0)) 75%, transparent);
|
|
1123
|
+
}
|
|
1124
|
+
}
|
|
1125
|
+
&:active {
|
|
1126
|
+
&:not(*[aria-haspopup]) {
|
|
1127
|
+
--tw-translate-y: 1px;
|
|
1128
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1129
|
+
}
|
|
1130
|
+
}
|
|
1131
|
+
&:disabled {
|
|
1132
|
+
pointer-events: none;
|
|
1133
|
+
}
|
|
1134
|
+
&[aria-invalid=true] {
|
|
1135
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
1136
|
+
}
|
|
1137
|
+
&[aria-invalid=true] {
|
|
1138
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1139
|
+
box-shadow:
|
|
1140
|
+
var(--tw-inset-shadow),
|
|
1141
|
+
var(--tw-inset-ring-shadow),
|
|
1142
|
+
var(--tw-ring-offset-shadow),
|
|
1143
|
+
var(--tw-ring-shadow),
|
|
1144
|
+
var(--tw-shadow);
|
|
1145
|
+
}
|
|
1146
|
+
&[aria-invalid=true] {
|
|
1147
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
1148
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1149
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
1150
|
+
}
|
|
1151
|
+
}
|
|
1152
|
+
& svg {
|
|
1153
|
+
pointer-events: none;
|
|
1154
|
+
}
|
|
1155
|
+
& svg {
|
|
1156
|
+
flex-shrink: 0;
|
|
1157
|
+
}
|
|
1158
|
+
& svg:not([class*=size-]) {
|
|
1159
|
+
width: var(--spacing-comp-xxs, 1.25rem);
|
|
1160
|
+
height: var(--spacing-comp-xxs, 1.25rem);
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
.Button_default {
|
|
1164
|
+
border-color: var(--color-cta-border-primary-default, oklch(0.187 0 0));
|
|
1165
|
+
background-color: var(--color-cta-foreground-primary-default, oklch(0.187 0 0));
|
|
1166
|
+
color: var(--color-on-cta-content-primary-default, oklch(1 0 0));
|
|
1167
|
+
--tw-shadow: 0 2px 2px var(--tw-shadow-color, oklch(0 0 0 / 6%)), 0 0 0.5px var(--tw-shadow-color, oklch(0 0 0 / 12%));
|
|
1168
|
+
box-shadow:
|
|
1169
|
+
var(--tw-inset-shadow),
|
|
1170
|
+
var(--tw-inset-ring-shadow),
|
|
1171
|
+
var(--tw-ring-offset-shadow),
|
|
1172
|
+
var(--tw-ring-shadow),
|
|
1173
|
+
var(--tw-shadow);
|
|
1174
|
+
&:hover {
|
|
1175
|
+
@media (hover: hover) {
|
|
1176
|
+
border-color: var(--color-cta-border-primary-hover, oklch(0.187 0 0));
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
&:hover {
|
|
1180
|
+
@media (hover: hover) {
|
|
1181
|
+
background-color: var(--color-cta-foreground-primary-hover, oklch(0.264 0 0));
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
&:active {
|
|
1185
|
+
border-color: var(--color-cta-border-primary-pressed, oklch(0.187 0 0));
|
|
1186
|
+
}
|
|
1187
|
+
&:active {
|
|
1188
|
+
background-color: var(--color-cta-foreground-primary-pressed, oklch(0.226 0 0));
|
|
1189
|
+
}
|
|
1190
|
+
&:disabled {
|
|
1191
|
+
border-color: var(--color-cta-border-primary-disable, oklch(0 0 0 / 0%));
|
|
1192
|
+
}
|
|
1193
|
+
&:disabled {
|
|
1194
|
+
background-color: var(--color-cta-foreground-primary-disable, oklch(0.885 0 0));
|
|
1195
|
+
}
|
|
1196
|
+
&:disabled {
|
|
1197
|
+
color: var(--color-on-cta-content-primary-disable, oklch(1 0 0));
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
.Button_default.Button_danger {
|
|
1201
|
+
border-color: transparent;
|
|
1202
|
+
background-color: var(--color-danger-foreground-default, oklch(0.572 0.173 26.645));
|
|
1203
|
+
color: var(--color-on-danger-content-high, oklch(1 0 0));
|
|
1204
|
+
&:hover {
|
|
1205
|
+
@media (hover: hover) {
|
|
1206
|
+
border-color: transparent;
|
|
1207
|
+
}
|
|
1208
|
+
}
|
|
1209
|
+
&:hover {
|
|
1210
|
+
@media (hover: hover) {
|
|
1211
|
+
background-color: var(--color-danger-foreground-hover, oklch(0.496 0.162 28.571));
|
|
1212
|
+
}
|
|
1213
|
+
}
|
|
1214
|
+
&:active {
|
|
1215
|
+
border-color: transparent;
|
|
1216
|
+
}
|
|
1217
|
+
&:active {
|
|
1218
|
+
background-color: var(--color-danger-foreground-pressed, oklch(0.431 0.145 29.919));
|
|
1219
|
+
}
|
|
1220
|
+
&:disabled {
|
|
1221
|
+
border-color: transparent;
|
|
1222
|
+
}
|
|
1223
|
+
&:disabled {
|
|
1224
|
+
background-color: var(--color-danger-foreground-disable, oklch(0.905 0.05 16.568));
|
|
1225
|
+
}
|
|
1226
|
+
&:disabled {
|
|
1227
|
+
color: var(--color-on-danger-content-high, oklch(1 0 0));
|
|
1228
|
+
}
|
|
1229
|
+
}
|
|
1230
|
+
.Button_outline {
|
|
1231
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
1232
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
1233
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1234
|
+
&:hover {
|
|
1235
|
+
@media (hover: hover) {
|
|
1236
|
+
border-color: var(--color-on-base-border-hover, oklch(0.824 0.016 257.205));
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
&:hover {
|
|
1240
|
+
@media (hover: hover) {
|
|
1241
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
&:active {
|
|
1245
|
+
border-color: var(--color-on-base-border-pressed, oklch(0.742 0.018 256.302));
|
|
1246
|
+
}
|
|
1247
|
+
&:active {
|
|
1248
|
+
background-color: var(--color-base-foreground-action-pressed, oklch(0.95 0.01 252.812));
|
|
1249
|
+
}
|
|
1250
|
+
&:disabled {
|
|
1251
|
+
border-color: var(--color-on-base-border-disable, oklch(0 0 0 / 15%));
|
|
1252
|
+
}
|
|
1253
|
+
&:disabled {
|
|
1254
|
+
background-color: var(--color-base-foreground-disable, oklch(0 0 0 / 3%));
|
|
1255
|
+
}
|
|
1256
|
+
&:disabled {
|
|
1257
|
+
color: var(--color-on-base-content-disable, oklch(0 0 0 / 15%));
|
|
1258
|
+
}
|
|
1259
|
+
&[aria-expanded=true] {
|
|
1260
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
1261
|
+
}
|
|
1262
|
+
}
|
|
1263
|
+
.Button_secondary {
|
|
1264
|
+
border-color: var(--color-cta-border-secondary-default, oklch(0.842 0.097 50.725));
|
|
1265
|
+
background-color: var(--color-cta-foreground-secondary-default, oklch(0.974 0.014 50.808));
|
|
1266
|
+
color: var(--color-on-cta-content-secondary-default, oklch(0.683 0.167 46.275));
|
|
1267
|
+
&:hover {
|
|
1268
|
+
@media (hover: hover) {
|
|
1269
|
+
border-color: var(--color-cta-border-secondary-hover, oklch(0.773 0.143 48.178));
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
&:hover {
|
|
1273
|
+
@media (hover: hover) {
|
|
1274
|
+
background-color: var(--color-cta-foreground-secondary-hover, oklch(0.95 0.025 49.747));
|
|
1275
|
+
}
|
|
1276
|
+
}
|
|
1277
|
+
&:hover {
|
|
1278
|
+
@media (hover: hover) {
|
|
1279
|
+
color: var(--color-on-cta-content-secondary-hover, oklch(0.575 0.16 44.809));
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
&:active {
|
|
1283
|
+
border-color: var(--color-cta-border-secondary-pressed, oklch(0.683 0.167 46.275));
|
|
1284
|
+
}
|
|
1285
|
+
&:active {
|
|
1286
|
+
background-color: var(--color-cta-foreground-secondary-pressed, oklch(0.903 0.057 50.347));
|
|
1287
|
+
}
|
|
1288
|
+
&:active {
|
|
1289
|
+
color: var(--color-on-cta-content-secondary-pressed, oklch(0.505 0.146 44.217));
|
|
1290
|
+
}
|
|
1291
|
+
&:disabled {
|
|
1292
|
+
border-color: var(--color-cta-border-secondary-disable, oklch(0.575 0.16 44.809 / 12%));
|
|
1293
|
+
}
|
|
1294
|
+
&:disabled {
|
|
1295
|
+
background-color: var(--color-cta-foreground-secondary-disable, oklch(0.974 0.014 50.808));
|
|
1296
|
+
}
|
|
1297
|
+
&:disabled {
|
|
1298
|
+
color: var(--color-on-cta-content-secondary-disable, oklch(0.575 0.16 44.809 / 22%));
|
|
1299
|
+
}
|
|
1300
|
+
&[aria-expanded=true] {
|
|
1301
|
+
background-color: var(--color-cta-foreground-secondary-hover, oklch(0.95 0.025 49.747));
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
.Button_ghost {
|
|
1305
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1306
|
+
&:hover {
|
|
1307
|
+
@media (hover: hover) {
|
|
1308
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
1309
|
+
}
|
|
1310
|
+
}
|
|
1311
|
+
&:active {
|
|
1312
|
+
background-color: var(--color-base-foreground-action-pressed, oklch(0.95 0.01 252.812));
|
|
1313
|
+
}
|
|
1314
|
+
&:disabled {
|
|
1315
|
+
color: var(--color-on-base-content-disable, oklch(0 0 0 / 15%));
|
|
1316
|
+
}
|
|
1317
|
+
&[aria-expanded=true] {
|
|
1318
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
.Button_destructive {
|
|
1322
|
+
border-color: var(--color-danger-border-default, oklch(0.851 0.081 17.956));
|
|
1323
|
+
background-color: var(--color-danger-foreground-subtle, oklch(0.969 0.015 17.418));
|
|
1324
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
1325
|
+
&:hover {
|
|
1326
|
+
@media (hover: hover) {
|
|
1327
|
+
border-color: var(--color-danger-border-hover, oklch(0.666 0.168 23.621));
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
&:hover {
|
|
1331
|
+
@media (hover: hover) {
|
|
1332
|
+
background-color: var(--color-danger-foreground-subtle-hover, oklch(0.947 0.026 17.626));
|
|
1333
|
+
}
|
|
1334
|
+
}
|
|
1335
|
+
&:hover {
|
|
1336
|
+
@media (hover: hover) {
|
|
1337
|
+
color: var(--color-danger-content-hover, oklch(0.496 0.162 28.571));
|
|
1338
|
+
}
|
|
1339
|
+
}
|
|
1340
|
+
&:active {
|
|
1341
|
+
border-color: var(--color-danger-border-pressed, oklch(0.496 0.162 28.571));
|
|
1342
|
+
}
|
|
1343
|
+
&:active {
|
|
1344
|
+
background-color: var(--color-danger-foreground-subtle-pressed, oklch(0.905 0.05 16.568));
|
|
1345
|
+
}
|
|
1346
|
+
&:active {
|
|
1347
|
+
color: var(--color-danger-content-pressed, oklch(0.431 0.145 29.919));
|
|
1348
|
+
}
|
|
1349
|
+
&:disabled {
|
|
1350
|
+
border-color: var(--color-danger-border-disable, oklch(0.572 0.173 26.645 / 12%));
|
|
1351
|
+
}
|
|
1352
|
+
&:disabled {
|
|
1353
|
+
color: var(--color-danger-content-disable, oklch(0.572 0.173 26.645 / 22%));
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
.Button_link {
|
|
1357
|
+
color: var(--color-on-cta-content-tertiary-default, oklch(0.683 0.167 46.275));
|
|
1358
|
+
text-underline-offset: 4px;
|
|
1359
|
+
&:hover {
|
|
1360
|
+
@media (hover: hover) {
|
|
1361
|
+
text-decoration-line: underline;
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
&:disabled {
|
|
1365
|
+
color: var(--color-on-base-content-disable, oklch(0 0 0 / 15%));
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
.Button_size-default {
|
|
1369
|
+
height: var(--spacing-comp-md, 2.5rem);
|
|
1370
|
+
min-width: var(--spacing-comp-xxl, 4rem);
|
|
1371
|
+
padding-inline: var(--spacing-pad-sm-nudge, 0.75rem);
|
|
1372
|
+
font-size: var(--text-cta-m, 0.875rem);
|
|
1373
|
+
line-height: var(--tw-leading, var(--text-cta-m--line-height, 1.375rem));
|
|
1374
|
+
}
|
|
1375
|
+
.Button_size-xs {
|
|
1376
|
+
height: calc(var(--spacing, 0.25rem) * 6);
|
|
1377
|
+
gap: var(--spacing, 0.25rem);
|
|
1378
|
+
border-radius: var(--radius-sm, 0.375rem);
|
|
1379
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2);
|
|
1380
|
+
font-size: var(--text-xs, 0.75rem);
|
|
1381
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
1382
|
+
:where(*[data-slot=button-group]) & {
|
|
1383
|
+
border-radius: var(--radius-comp-cta, 0.5rem);
|
|
1384
|
+
}
|
|
1385
|
+
&:has(*[data-icon=inline-end]) {
|
|
1386
|
+
padding-right: calc(var(--spacing, 0.25rem) * 1.5);
|
|
1387
|
+
}
|
|
1388
|
+
&:has(*[data-icon=inline-start]) {
|
|
1389
|
+
padding-left: calc(var(--spacing, 0.25rem) * 1.5);
|
|
1390
|
+
}
|
|
1391
|
+
& svg:not([class*=size-]) {
|
|
1392
|
+
width: calc(var(--spacing, 0.25rem) * 3);
|
|
1393
|
+
height: calc(var(--spacing, 0.25rem) * 3);
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
.Button_size-sm {
|
|
1397
|
+
height: var(--spacing-comp-sm, 2rem);
|
|
1398
|
+
min-width: var(--spacing-comp-xl, 3.5rem);
|
|
1399
|
+
padding-inline: var(--spacing-pad-sm, 0.5rem);
|
|
1400
|
+
font-size: var(--text-cta-s, 0.75rem);
|
|
1401
|
+
line-height: var(--tw-leading, var(--text-cta-s--line-height, 1.125rem));
|
|
1402
|
+
& svg:not([class*=size-]) {
|
|
1403
|
+
width: var(--spacing-comp-xxxs, 1rem);
|
|
1404
|
+
height: var(--spacing-comp-xxxs, 1rem);
|
|
1405
|
+
}
|
|
1406
|
+
}
|
|
1407
|
+
.Button_size-lg {
|
|
1408
|
+
height: var(--spacing-comp-lg, 3rem);
|
|
1409
|
+
min-width: var(--spacing-comp-xxxl, 4.5rem);
|
|
1410
|
+
padding-inline: var(--spacing-pad-md, 1rem);
|
|
1411
|
+
font-size: var(--text-cta-l, 1rem);
|
|
1412
|
+
line-height: var(--tw-leading, var(--text-cta-l--line-height, 1.5rem));
|
|
1413
|
+
& svg:not([class*=size-]) {
|
|
1414
|
+
width: var(--spacing-comp-xs, 1.5rem);
|
|
1415
|
+
height: var(--spacing-comp-xs, 1.5rem);
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
.Button_size-icon {
|
|
1419
|
+
width: var(--spacing-comp-md, 2.5rem);
|
|
1420
|
+
height: var(--spacing-comp-md, 2.5rem);
|
|
1421
|
+
}
|
|
1422
|
+
.Button_size-icon-xs {
|
|
1423
|
+
width: calc(var(--spacing, 0.25rem) * 6);
|
|
1424
|
+
height: calc(var(--spacing, 0.25rem) * 6);
|
|
1425
|
+
border-radius: var(--radius-sm, 0.375rem);
|
|
1426
|
+
:where(*[data-slot=button-group]) & {
|
|
1427
|
+
border-radius: var(--radius-comp-cta, 0.5rem);
|
|
1428
|
+
}
|
|
1429
|
+
& svg:not([class*=size-]) {
|
|
1430
|
+
width: calc(var(--spacing, 0.25rem) * 3);
|
|
1431
|
+
height: calc(var(--spacing, 0.25rem) * 3);
|
|
1432
|
+
}
|
|
1433
|
+
}
|
|
1434
|
+
.Button_size-icon-sm {
|
|
1435
|
+
width: var(--spacing-comp-sm, 2rem);
|
|
1436
|
+
height: var(--spacing-comp-sm, 2rem);
|
|
1437
|
+
& svg:not([class*=size-]) {
|
|
1438
|
+
width: var(--spacing-comp-xxxs, 1rem);
|
|
1439
|
+
height: var(--spacing-comp-xxxs, 1rem);
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
.Button_size-icon-lg {
|
|
1443
|
+
width: var(--spacing-comp-lg, 3rem);
|
|
1444
|
+
height: var(--spacing-comp-lg, 3rem);
|
|
1445
|
+
& svg:not([class*=size-]) {
|
|
1446
|
+
width: var(--spacing-comp-xs, 1.5rem);
|
|
1447
|
+
height: var(--spacing-comp-xs, 1.5rem);
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1452
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1453
|
+
@property --tw-tracking { syntax: "*"; inherits: false; }
|
|
1454
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1455
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1456
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1457
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1458
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1459
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1460
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1461
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1462
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1463
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1464
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1465
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1466
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1467
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1468
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1469
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1470
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1471
|
+
|
|
1472
|
+
/* src/components/Card/Card.module.css */
|
|
1473
|
+
@layer theme, base, components, utilities;
|
|
1474
|
+
@layer components {
|
|
1475
|
+
.Card_root {
|
|
1476
|
+
display: flex;
|
|
1477
|
+
flex-direction: column;
|
|
1478
|
+
gap: var(--card-spacing);
|
|
1479
|
+
overflow: hidden;
|
|
1480
|
+
border-radius: var(--radius-xl, 1rem);
|
|
1481
|
+
background-color: var(--color-base-foreground-card, oklch(1 0 0));
|
|
1482
|
+
padding-block: var(--card-spacing);
|
|
1483
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1484
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1485
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1486
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1487
|
+
box-shadow:
|
|
1488
|
+
var(--tw-inset-shadow),
|
|
1489
|
+
var(--tw-inset-ring-shadow),
|
|
1490
|
+
var(--tw-ring-offset-shadow),
|
|
1491
|
+
var(--tw-ring-shadow),
|
|
1492
|
+
var(--tw-shadow);
|
|
1493
|
+
--tw-ring-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
1494
|
+
--card-spacing: calc(var(--spacing, 0.25rem) * 4);
|
|
1495
|
+
&:has(*[data-slot=card-footer]) {
|
|
1496
|
+
padding-bottom: 0px;
|
|
1497
|
+
}
|
|
1498
|
+
&:has(> img:first-child) {
|
|
1499
|
+
padding-top: 0px;
|
|
1500
|
+
}
|
|
1501
|
+
&[data-size=sm] {
|
|
1502
|
+
--card-spacing: calc(var(--spacing, 0.25rem) * 3);
|
|
1503
|
+
}
|
|
1504
|
+
:is(& > *) {
|
|
1505
|
+
&:is(img:first-child) {
|
|
1506
|
+
border-top-left-radius: var(--radius-xl, 1rem);
|
|
1507
|
+
border-top-right-radius: var(--radius-xl, 1rem);
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
:is(& > *) {
|
|
1511
|
+
&:is(img:last-child) {
|
|
1512
|
+
border-bottom-right-radius: var(--radius-xl, 1rem);
|
|
1513
|
+
border-bottom-left-radius: var(--radius-xl, 1rem);
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
.Card_header {
|
|
1518
|
+
display: grid;
|
|
1519
|
+
grid-auto-rows: min-content;
|
|
1520
|
+
align-items: flex-start;
|
|
1521
|
+
gap: var(--spacing, 0.25rem);
|
|
1522
|
+
border-top-left-radius: var(--radius-xl, 1rem);
|
|
1523
|
+
border-top-right-radius: var(--radius-xl, 1rem);
|
|
1524
|
+
padding-inline: var(--card-spacing);
|
|
1525
|
+
&:has(*[data-slot=card-action]) {
|
|
1526
|
+
grid-template-columns: 1fr auto;
|
|
1527
|
+
}
|
|
1528
|
+
&:has(*[data-slot=card-description]) {
|
|
1529
|
+
grid-template-rows: auto auto;
|
|
1530
|
+
}
|
|
1531
|
+
&:is(.Card_border-b) {
|
|
1532
|
+
padding-bottom: var(--card-spacing);
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
.Card_title {
|
|
1536
|
+
font-family: var(--font-sans);
|
|
1537
|
+
font-size: var(--text-base, 1rem);
|
|
1538
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
1539
|
+
--tw-leading: var(--leading-snug, 1.375);
|
|
1540
|
+
line-height: var(--leading-snug, 1.375);
|
|
1541
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
1542
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1543
|
+
}
|
|
1544
|
+
.Card_root[data-size=sm] .Card_title {
|
|
1545
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1546
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1547
|
+
}
|
|
1548
|
+
.Card_description {
|
|
1549
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1550
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1551
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
1552
|
+
}
|
|
1553
|
+
.Card_action {
|
|
1554
|
+
grid-column-start: 2;
|
|
1555
|
+
grid-row: span 2 / span 2;
|
|
1556
|
+
grid-row-start: 1;
|
|
1557
|
+
align-self: flex-start;
|
|
1558
|
+
justify-self: flex-end;
|
|
1559
|
+
}
|
|
1560
|
+
.Card_content {
|
|
1561
|
+
padding-inline: var(--card-spacing);
|
|
1562
|
+
}
|
|
1563
|
+
.Card_footer {
|
|
1564
|
+
display: flex;
|
|
1565
|
+
align-items: center;
|
|
1566
|
+
border-bottom-right-radius: var(--radius-xl, 1rem);
|
|
1567
|
+
border-bottom-left-radius: var(--radius-xl, 1rem);
|
|
1568
|
+
border-top-style: var(--tw-border-style);
|
|
1569
|
+
border-top-width: 1px;
|
|
1570
|
+
background-color: var(--color-base-foreground-surface-subtle, oklch(0.966 0.007 260.732));
|
|
1571
|
+
padding: var(--card-spacing);
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1575
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1576
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1577
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1578
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1579
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1580
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1581
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1582
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1583
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1584
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1585
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1586
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1587
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1588
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1589
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1590
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1591
|
+
|
|
1592
|
+
/* src/components/Checkbox/Checkbox.module.css */
|
|
1593
|
+
@layer theme, base, components, utilities;
|
|
1594
|
+
@layer components {
|
|
1595
|
+
.Checkbox_root {
|
|
1596
|
+
position: relative;
|
|
1597
|
+
display: flex;
|
|
1598
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
1599
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
1600
|
+
flex-shrink: 0;
|
|
1601
|
+
align-items: center;
|
|
1602
|
+
justify-content: center;
|
|
1603
|
+
border-radius: 4px;
|
|
1604
|
+
border-style: var(--tw-border-style);
|
|
1605
|
+
border-width: 1px;
|
|
1606
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
1607
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
1608
|
+
transition-property:
|
|
1609
|
+
color,
|
|
1610
|
+
background-color,
|
|
1611
|
+
border-color,
|
|
1612
|
+
outline-color,
|
|
1613
|
+
text-decoration-color,
|
|
1614
|
+
fill,
|
|
1615
|
+
stroke,
|
|
1616
|
+
--tw-gradient-from,
|
|
1617
|
+
--tw-gradient-via,
|
|
1618
|
+
--tw-gradient-to;
|
|
1619
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
1620
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
1621
|
+
--tw-outline-style: none;
|
|
1622
|
+
outline-style: none;
|
|
1623
|
+
&::after {
|
|
1624
|
+
content: var(--tw-content);
|
|
1625
|
+
position: absolute;
|
|
1626
|
+
}
|
|
1627
|
+
&::after {
|
|
1628
|
+
content: var(--tw-content);
|
|
1629
|
+
inset-inline: calc(var(--spacing, 0.25rem) * -3);
|
|
1630
|
+
}
|
|
1631
|
+
&::after {
|
|
1632
|
+
content: var(--tw-content);
|
|
1633
|
+
inset-block: calc(var(--spacing, 0.25rem) * -2);
|
|
1634
|
+
}
|
|
1635
|
+
&:hover {
|
|
1636
|
+
@media (hover: hover) {
|
|
1637
|
+
border-color: var(--color-on-base-border-hover, oklch(0.824 0.016 257.205));
|
|
1638
|
+
}
|
|
1639
|
+
}
|
|
1640
|
+
&:focus-visible {
|
|
1641
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
1642
|
+
}
|
|
1643
|
+
&:focus-visible {
|
|
1644
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1645
|
+
box-shadow:
|
|
1646
|
+
var(--tw-inset-shadow),
|
|
1647
|
+
var(--tw-inset-ring-shadow),
|
|
1648
|
+
var(--tw-ring-offset-shadow),
|
|
1649
|
+
var(--tw-ring-shadow),
|
|
1650
|
+
var(--tw-shadow);
|
|
1651
|
+
}
|
|
1652
|
+
&:focus-visible {
|
|
1653
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.187 0 0) 30%, transparent);
|
|
1654
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1655
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary-border-strong, oklch(0.187 0 0)) 30%, transparent);
|
|
1656
|
+
}
|
|
1657
|
+
}
|
|
1658
|
+
&[aria-invalid=true] {
|
|
1659
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
1660
|
+
}
|
|
1661
|
+
&[aria-invalid=true] {
|
|
1662
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1663
|
+
box-shadow:
|
|
1664
|
+
var(--tw-inset-shadow),
|
|
1665
|
+
var(--tw-inset-ring-shadow),
|
|
1666
|
+
var(--tw-ring-offset-shadow),
|
|
1667
|
+
var(--tw-ring-shadow),
|
|
1668
|
+
var(--tw-shadow);
|
|
1669
|
+
}
|
|
1670
|
+
&[aria-invalid=true] {
|
|
1671
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
1672
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
1673
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
&:where([data-state=checked]),
|
|
1677
|
+
&:where([data-checked]:not([data-checked=false])) {
|
|
1678
|
+
border-color: var(--color-primary-foreground-default, oklch(0.187 0 0));
|
|
1679
|
+
}
|
|
1680
|
+
&:where([data-state=checked]),
|
|
1681
|
+
&:where([data-checked]:not([data-checked=false])) {
|
|
1682
|
+
background-color: var(--color-primary-foreground-default, oklch(0.187 0 0));
|
|
1683
|
+
}
|
|
1684
|
+
&:where([data-state=checked]),
|
|
1685
|
+
&:where([data-checked]:not([data-checked=false])) {
|
|
1686
|
+
color: var(--color-on-primary-content-high, oklch(1 0 0));
|
|
1687
|
+
}
|
|
1688
|
+
&:where([data-state=checked]),
|
|
1689
|
+
&:where([data-checked]:not([data-checked=false])) {
|
|
1690
|
+
&:hover {
|
|
1691
|
+
@media (hover: hover) {
|
|
1692
|
+
background-color: var(--color-primary-foreground-hover, oklch(0.264 0 0));
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
&:where([data-disabled=true]),
|
|
1697
|
+
&:where([data-disabled]:not([data-disabled=false])) {
|
|
1698
|
+
cursor: not-allowed;
|
|
1699
|
+
}
|
|
1700
|
+
&:where([data-disabled=true]),
|
|
1701
|
+
&:where([data-disabled]:not([data-disabled=false])) {
|
|
1702
|
+
opacity: 50%;
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
[data-slot=field]:has([data-disabled]) .Checkbox_root {
|
|
1706
|
+
opacity: 50%;
|
|
1707
|
+
}
|
|
1708
|
+
.Checkbox_indicator {
|
|
1709
|
+
display: grid;
|
|
1710
|
+
place-content: center;
|
|
1711
|
+
color: currentcolor;
|
|
1712
|
+
transition-property: none;
|
|
1713
|
+
& > svg {
|
|
1714
|
+
width: calc(var(--spacing, 0.25rem) * 3.5);
|
|
1715
|
+
height: calc(var(--spacing, 0.25rem) * 3.5);
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1720
|
+
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
1721
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1722
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1723
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1724
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1725
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1726
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1727
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1728
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1729
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1730
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1731
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1732
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1733
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1734
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1735
|
+
|
|
1736
|
+
/* src/components/Dialog/Dialog.module.css */
|
|
1737
|
+
@layer theme, base, components, utilities;
|
|
1738
|
+
@layer components {
|
|
1739
|
+
.Dialog_overlay {
|
|
1740
|
+
position: fixed;
|
|
1741
|
+
inset: 0px;
|
|
1742
|
+
isolation: isolate;
|
|
1743
|
+
z-index: 50;
|
|
1744
|
+
background-color: var(--color-base-foreground-blanket, oklch(0 0 0 / 50%));
|
|
1745
|
+
--tw-duration: 100ms;
|
|
1746
|
+
transition-duration: 100ms;
|
|
1747
|
+
@supports (backdrop-filter: var(--tw)) {
|
|
1748
|
+
--tw-backdrop-blur: blur(var(--blur-xs, 4px));
|
|
1749
|
+
-webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
|
|
1750
|
+
backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
|
|
1751
|
+
}
|
|
1752
|
+
&:where([data-state=open]),
|
|
1753
|
+
&:where([data-open]:not([data-open=false])) {
|
|
1754
|
+
animation: Dialog_enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
1755
|
+
}
|
|
1756
|
+
&:where([data-state=open]),
|
|
1757
|
+
&:where([data-open]:not([data-open=false])) {
|
|
1758
|
+
--tw-enter-opacity: calc(0/100);
|
|
1759
|
+
--tw-enter-opacity: 0;
|
|
1760
|
+
}
|
|
1761
|
+
&:where([data-state=closed]),
|
|
1762
|
+
&:where([data-closed]:not([data-closed=false])) {
|
|
1763
|
+
animation: Dialog_exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
1764
|
+
}
|
|
1765
|
+
&:where([data-state=closed]),
|
|
1766
|
+
&:where([data-closed]:not([data-closed=false])) {
|
|
1767
|
+
--tw-exit-opacity: calc(0/100);
|
|
1768
|
+
--tw-exit-opacity: 0;
|
|
1769
|
+
}
|
|
1770
|
+
}
|
|
1771
|
+
.Dialog_content {
|
|
1772
|
+
position: fixed;
|
|
1773
|
+
top: calc(1 / 2 * 100%);
|
|
1774
|
+
left: calc(1 / 2 * 100%);
|
|
1775
|
+
z-index: 50;
|
|
1776
|
+
display: grid;
|
|
1777
|
+
width: 100%;
|
|
1778
|
+
max-width: calc(100% - 2rem);
|
|
1779
|
+
--tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
1780
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1781
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1782
|
+
gap: calc(var(--spacing, 0.25rem) * 4);
|
|
1783
|
+
border-radius: var(--radius-xl, 1rem);
|
|
1784
|
+
background-color: var(--color-base-foreground-card, oklch(1 0 0));
|
|
1785
|
+
padding: calc(var(--spacing, 0.25rem) * 4);
|
|
1786
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1787
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1788
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1789
|
+
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
1790
|
+
box-shadow:
|
|
1791
|
+
var(--tw-inset-shadow),
|
|
1792
|
+
var(--tw-inset-ring-shadow),
|
|
1793
|
+
var(--tw-ring-offset-shadow),
|
|
1794
|
+
var(--tw-ring-shadow),
|
|
1795
|
+
var(--tw-shadow);
|
|
1796
|
+
--tw-duration: 100ms;
|
|
1797
|
+
transition-duration: 100ms;
|
|
1798
|
+
--tw-outline-style: none;
|
|
1799
|
+
outline-style: none;
|
|
1800
|
+
@media (width >= 40rem) {
|
|
1801
|
+
max-width: var(--container-sm, 24rem);
|
|
1802
|
+
}
|
|
1803
|
+
&:where([data-state=open]),
|
|
1804
|
+
&:where([data-open]:not([data-open=false])) {
|
|
1805
|
+
animation: Dialog_enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
1806
|
+
}
|
|
1807
|
+
&:where([data-state=open]),
|
|
1808
|
+
&:where([data-open]:not([data-open=false])) {
|
|
1809
|
+
--tw-enter-opacity: calc(0/100);
|
|
1810
|
+
--tw-enter-opacity: 0;
|
|
1811
|
+
}
|
|
1812
|
+
&:where([data-state=open]),
|
|
1813
|
+
&:where([data-open]:not([data-open=false])) {
|
|
1814
|
+
--tw-enter-scale: calc(95*1%);
|
|
1815
|
+
--tw-enter-scale: .95;
|
|
1816
|
+
}
|
|
1817
|
+
&:where([data-state=closed]),
|
|
1818
|
+
&:where([data-closed]:not([data-closed=false])) {
|
|
1819
|
+
animation: Dialog_exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none);
|
|
1820
|
+
}
|
|
1821
|
+
&:where([data-state=closed]),
|
|
1822
|
+
&:where([data-closed]:not([data-closed=false])) {
|
|
1823
|
+
--tw-exit-opacity: calc(0/100);
|
|
1824
|
+
--tw-exit-opacity: 0;
|
|
1825
|
+
}
|
|
1826
|
+
&:where([data-state=closed]),
|
|
1827
|
+
&:where([data-closed]:not([data-closed=false])) {
|
|
1828
|
+
--tw-exit-scale: calc(95*1%);
|
|
1829
|
+
--tw-exit-scale: .95;
|
|
1830
|
+
}
|
|
1831
|
+
}
|
|
1832
|
+
.Dialog_close {
|
|
1833
|
+
position: absolute;
|
|
1834
|
+
top: calc(var(--spacing, 0.25rem) * 2);
|
|
1835
|
+
right: calc(var(--spacing, 0.25rem) * 2);
|
|
1836
|
+
}
|
|
1837
|
+
.Dialog_header {
|
|
1838
|
+
display: flex;
|
|
1839
|
+
flex-direction: column;
|
|
1840
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
1841
|
+
}
|
|
1842
|
+
.Dialog_footer {
|
|
1843
|
+
margin-inline: calc(var(--spacing, 0.25rem) * -4);
|
|
1844
|
+
margin-bottom: calc(var(--spacing, 0.25rem) * -4);
|
|
1845
|
+
display: flex;
|
|
1846
|
+
flex-direction: column-reverse;
|
|
1847
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
1848
|
+
border-bottom-right-radius: var(--radius-xl, 1rem);
|
|
1849
|
+
border-bottom-left-radius: var(--radius-xl, 1rem);
|
|
1850
|
+
border-top-style: var(--tw-border-style);
|
|
1851
|
+
border-top-width: 1px;
|
|
1852
|
+
background-color: var(--color-base-foreground-surface-subtle, oklch(0.966 0.007 260.732));
|
|
1853
|
+
padding: calc(var(--spacing, 0.25rem) * 4);
|
|
1854
|
+
@media (width >= 40rem) {
|
|
1855
|
+
flex-direction: row;
|
|
1856
|
+
}
|
|
1857
|
+
@media (width >= 40rem) {
|
|
1858
|
+
justify-content: flex-end;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
.Dialog_title {
|
|
1862
|
+
font-family: var(--font-sans);
|
|
1863
|
+
font-size: var(--text-base, 1rem);
|
|
1864
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
1865
|
+
--tw-leading: 1;
|
|
1866
|
+
line-height: 1;
|
|
1867
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
1868
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1869
|
+
}
|
|
1870
|
+
.Dialog_description {
|
|
1871
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1872
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1873
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
1874
|
+
:is(& > *) {
|
|
1875
|
+
&:is(a) {
|
|
1876
|
+
text-decoration-line: underline;
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
:is(& > *) {
|
|
1880
|
+
&:is(a) {
|
|
1881
|
+
text-underline-offset: 3px;
|
|
1882
|
+
}
|
|
1883
|
+
}
|
|
1884
|
+
:is(& > *) {
|
|
1885
|
+
&:is(a) {
|
|
1886
|
+
&:hover {
|
|
1887
|
+
@media (hover: hover) {
|
|
1888
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
1889
|
+
}
|
|
1890
|
+
}
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1893
|
+
}
|
|
1894
|
+
}
|
|
1895
|
+
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
1896
|
+
@property --tw-backdrop-blur { syntax: "*"; inherits: false; }
|
|
1897
|
+
@property --tw-backdrop-brightness { syntax: "*"; inherits: false; }
|
|
1898
|
+
@property --tw-backdrop-contrast { syntax: "*"; inherits: false; }
|
|
1899
|
+
@property --tw-backdrop-grayscale { syntax: "*"; inherits: false; }
|
|
1900
|
+
@property --tw-backdrop-hue-rotate { syntax: "*"; inherits: false; }
|
|
1901
|
+
@property --tw-backdrop-invert { syntax: "*"; inherits: false; }
|
|
1902
|
+
@property --tw-backdrop-opacity { syntax: "*"; inherits: false; }
|
|
1903
|
+
@property --tw-backdrop-saturate { syntax: "*"; inherits: false; }
|
|
1904
|
+
@property --tw-backdrop-sepia { syntax: "*"; inherits: false; }
|
|
1905
|
+
@property --tw-translate-x { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1906
|
+
@property --tw-translate-y { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1907
|
+
@property --tw-translate-z { syntax: "*"; inherits: false; initial-value: 0; }
|
|
1908
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1909
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
1910
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1911
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1912
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
1913
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
1914
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
1915
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1916
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
1917
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1918
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
1919
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
1920
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
1921
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
1922
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
1923
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1924
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1925
|
+
@keyframes Dialog_enter {
|
|
1926
|
+
from {
|
|
1927
|
+
opacity: var(--tw-enter-opacity,1);
|
|
1928
|
+
transform: translate3d(var(--tw-enter-translate-x,0), var(--tw-enter-translate-y,0), 0)scale3d(var(--tw-enter-scale,1), var(--tw-enter-scale,1), var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0));
|
|
1929
|
+
filter: blur(var(--tw-enter-blur,0));
|
|
1930
|
+
}
|
|
1931
|
+
}
|
|
1932
|
+
@keyframes Dialog_exit {
|
|
1933
|
+
to {
|
|
1934
|
+
opacity: var(--tw-exit-opacity,1);
|
|
1935
|
+
transform: translate3d(var(--tw-exit-translate-x,0), var(--tw-exit-translate-y,0), 0)scale3d(var(--tw-exit-scale,1), var(--tw-exit-scale,1), var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0));
|
|
1936
|
+
filter: blur(var(--tw-exit-blur,0));
|
|
1937
|
+
}
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
/* src/components/Label/Label.module.css */
|
|
1941
|
+
@layer theme, base, components, utilities;
|
|
1942
|
+
@layer components {
|
|
1943
|
+
.Label_root {
|
|
1944
|
+
display: flex;
|
|
1945
|
+
align-items: center;
|
|
1946
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
1947
|
+
font-size: var(--text-sm, 0.875rem);
|
|
1948
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
1949
|
+
--tw-leading: 1;
|
|
1950
|
+
line-height: 1;
|
|
1951
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
1952
|
+
font-weight: var(--font-weight-medium, 500);
|
|
1953
|
+
-webkit-user-select: none;
|
|
1954
|
+
user-select: none;
|
|
1955
|
+
}
|
|
1956
|
+
[data-disabled=true] .Label_root,
|
|
1957
|
+
:disabled ~ .Label_root,
|
|
1958
|
+
[data-disabled] ~ .Label_root {
|
|
1959
|
+
pointer-events: none;
|
|
1960
|
+
opacity: 50%;
|
|
1961
|
+
}
|
|
1962
|
+
}
|
|
1963
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
1964
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
1965
|
+
|
|
1966
|
+
/* src/components/Separator/Separator.module.css */
|
|
1967
|
+
@layer theme, base, components, utilities;
|
|
1968
|
+
@layer components {
|
|
1969
|
+
.Separator_root {
|
|
1970
|
+
flex-shrink: 0;
|
|
1971
|
+
background-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
1972
|
+
&:where([data-orientation=horizontal]) {
|
|
1973
|
+
height: 1px;
|
|
1974
|
+
}
|
|
1975
|
+
&:where([data-orientation=horizontal]) {
|
|
1976
|
+
width: 100%;
|
|
1977
|
+
}
|
|
1978
|
+
&:where([data-orientation=vertical]) {
|
|
1979
|
+
width: 1px;
|
|
1980
|
+
}
|
|
1981
|
+
&:where([data-orientation=vertical]) {
|
|
1982
|
+
align-self: stretch;
|
|
1983
|
+
}
|
|
1984
|
+
}
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
/* src/components/Field/Field.module.css */
|
|
1988
|
+
@layer theme, base, components, utilities;
|
|
1989
|
+
@layer components {
|
|
1990
|
+
.Field_set {
|
|
1991
|
+
display: flex;
|
|
1992
|
+
flex-direction: column;
|
|
1993
|
+
gap: calc(var(--spacing, 0.25rem) * 4);
|
|
1994
|
+
&:has(> [data-slot=checkbox-group]) {
|
|
1995
|
+
gap: calc(var(--spacing, 0.25rem) * 3);
|
|
1996
|
+
}
|
|
1997
|
+
&:has(> [data-slot=radio-group]) {
|
|
1998
|
+
gap: calc(var(--spacing, 0.25rem) * 3);
|
|
1999
|
+
}
|
|
2000
|
+
}
|
|
2001
|
+
.Field_legend {
|
|
2002
|
+
margin-bottom: calc(var(--spacing, 0.25rem) * 1.5);
|
|
2003
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
2004
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2005
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2006
|
+
&[data-variant=label] {
|
|
2007
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2008
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2009
|
+
}
|
|
2010
|
+
&[data-variant=legend] {
|
|
2011
|
+
font-size: var(--text-base, 1rem);
|
|
2012
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
2013
|
+
}
|
|
2014
|
+
}
|
|
2015
|
+
.Field_group {
|
|
2016
|
+
container-type: inline-size;
|
|
2017
|
+
container-name: Field_field-group;
|
|
2018
|
+
display: flex;
|
|
2019
|
+
width: 100%;
|
|
2020
|
+
flex-direction: column;
|
|
2021
|
+
gap: calc(var(--spacing, 0.25rem) * 5);
|
|
2022
|
+
&[data-slot=checkbox-group] {
|
|
2023
|
+
gap: calc(var(--spacing, 0.25rem) * 3);
|
|
2024
|
+
}
|
|
2025
|
+
:is(& > *) {
|
|
2026
|
+
&[data-slot=field-group] {
|
|
2027
|
+
gap: calc(var(--spacing, 0.25rem) * 4);
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
.Field_field {
|
|
2032
|
+
display: flex;
|
|
2033
|
+
width: 100%;
|
|
2034
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2035
|
+
&[data-invalid=true] {
|
|
2036
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
2037
|
+
}
|
|
2038
|
+
}
|
|
2039
|
+
.Field_vertical {
|
|
2040
|
+
flex-direction: column;
|
|
2041
|
+
:is(& > *) {
|
|
2042
|
+
width: 100%;
|
|
2043
|
+
}
|
|
2044
|
+
& > .Field_sr-only {
|
|
2045
|
+
width: auto;
|
|
2046
|
+
}
|
|
2047
|
+
}
|
|
2048
|
+
.Field_horizontal {
|
|
2049
|
+
flex-direction: row;
|
|
2050
|
+
align-items: center;
|
|
2051
|
+
&:has(> [data-slot=field-content]) {
|
|
2052
|
+
align-items: flex-start;
|
|
2053
|
+
}
|
|
2054
|
+
:is(& > *) {
|
|
2055
|
+
&[data-slot=field-label] {
|
|
2056
|
+
flex: auto;
|
|
2057
|
+
}
|
|
2058
|
+
}
|
|
2059
|
+
&:has(> [data-slot=field-content]) {
|
|
2060
|
+
& > [role=checkbox],
|
|
2061
|
+
[role=radio] {
|
|
2062
|
+
margin-top: 1px;
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
.Field_responsive {
|
|
2067
|
+
flex-direction: column;
|
|
2068
|
+
:is(& > *) {
|
|
2069
|
+
width: 100%;
|
|
2070
|
+
}
|
|
2071
|
+
@container Field_field-group (width >= 28rem) {
|
|
2072
|
+
flex-direction: row;
|
|
2073
|
+
}
|
|
2074
|
+
@container Field_field-group (width >= 28rem) {
|
|
2075
|
+
align-items: center;
|
|
2076
|
+
}
|
|
2077
|
+
@container Field_field-group (width >= 28rem) {
|
|
2078
|
+
:is(& > *) {
|
|
2079
|
+
width: auto;
|
|
2080
|
+
}
|
|
2081
|
+
}
|
|
2082
|
+
@container Field_field-group (width >= 28rem) {
|
|
2083
|
+
&:has(> [data-slot=field-content]) {
|
|
2084
|
+
align-items: flex-start;
|
|
2085
|
+
}
|
|
2086
|
+
}
|
|
2087
|
+
@container Field_field-group (width >= 28rem) {
|
|
2088
|
+
:is(& > *) {
|
|
2089
|
+
&[data-slot=field-label] {
|
|
2090
|
+
flex: auto;
|
|
2091
|
+
}
|
|
2092
|
+
}
|
|
2093
|
+
}
|
|
2094
|
+
& > .Field_sr-only {
|
|
2095
|
+
width: auto;
|
|
2096
|
+
}
|
|
2097
|
+
@container Field_field-group (width >= 28rem) {
|
|
2098
|
+
&:has(> [data-slot=field-content]) {
|
|
2099
|
+
& > [role=checkbox],
|
|
2100
|
+
[role=radio] {
|
|
2101
|
+
margin-top: 1px;
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
.Field_content {
|
|
2107
|
+
display: flex;
|
|
2108
|
+
flex: 1;
|
|
2109
|
+
flex-direction: column;
|
|
2110
|
+
gap: calc(var(--spacing, 0.25rem) * 0.5);
|
|
2111
|
+
--tw-leading: var(--leading-snug, 1.375);
|
|
2112
|
+
line-height: var(--leading-snug, 1.375);
|
|
2113
|
+
}
|
|
2114
|
+
.Field_label {
|
|
2115
|
+
display: flex;
|
|
2116
|
+
width: fit-content;
|
|
2117
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2118
|
+
--tw-leading: var(--leading-snug, 1.375);
|
|
2119
|
+
line-height: var(--leading-snug, 1.375);
|
|
2120
|
+
&:has(*:where([data-state=checked]), *:where([data-checked]:not([data-checked=false]))) {
|
|
2121
|
+
border-color: var(--color-primary-border-default, oklch(0.823 0 0));
|
|
2122
|
+
}
|
|
2123
|
+
&:has(*:where([data-state=checked]), *:where([data-checked]:not([data-checked=false]))) {
|
|
2124
|
+
background-color: var(--color-primary-foreground-subtle, oklch(0.967 0 0));
|
|
2125
|
+
}
|
|
2126
|
+
&:has(> [data-slot=field]) {
|
|
2127
|
+
width: 100%;
|
|
2128
|
+
}
|
|
2129
|
+
&:has(> [data-slot=field]) {
|
|
2130
|
+
flex-direction: column;
|
|
2131
|
+
}
|
|
2132
|
+
&:has(> [data-slot=field]) {
|
|
2133
|
+
border-radius: var(--radius-lg, 0.75rem);
|
|
2134
|
+
}
|
|
2135
|
+
&:has(> [data-slot=field]) {
|
|
2136
|
+
border-style: var(--tw-border-style);
|
|
2137
|
+
border-width: 1px;
|
|
2138
|
+
}
|
|
2139
|
+
&:has(> [data-slot=field]) {
|
|
2140
|
+
&:not(*:has(*:is(:disabled, [data-disabled]))) {
|
|
2141
|
+
&:hover {
|
|
2142
|
+
@media (hover: hover) {
|
|
2143
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
}
|
|
2147
|
+
}
|
|
2148
|
+
&:has(> [data-slot=field]) {
|
|
2149
|
+
&:has(*:is(:focus-visible)) {
|
|
2150
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
&:has(> [data-slot=field]) {
|
|
2154
|
+
&:has(*:is(:focus-visible)) {
|
|
2155
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2156
|
+
box-shadow:
|
|
2157
|
+
var(--tw-inset-shadow),
|
|
2158
|
+
var(--tw-inset-ring-shadow),
|
|
2159
|
+
var(--tw-ring-offset-shadow),
|
|
2160
|
+
var(--tw-ring-shadow),
|
|
2161
|
+
var(--tw-shadow);
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
&:has(> [data-slot=field]) {
|
|
2165
|
+
&:has(*:is(:focus-visible)) {
|
|
2166
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.187 0 0) 30%, transparent);
|
|
2167
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2168
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary-border-strong, oklch(0.187 0 0)) 30%, transparent);
|
|
2169
|
+
}
|
|
2170
|
+
}
|
|
2171
|
+
}
|
|
2172
|
+
:is(& > *) {
|
|
2173
|
+
&[data-slot=field] {
|
|
2174
|
+
padding: calc(var(--spacing, 0.25rem) * 2.5);
|
|
2175
|
+
}
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
.Field_title {
|
|
2179
|
+
display: flex;
|
|
2180
|
+
width: fit-content;
|
|
2181
|
+
align-items: center;
|
|
2182
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2183
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2184
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2185
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
2186
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2187
|
+
}
|
|
2188
|
+
.Field_field[data-disabled=true] .Field_label,
|
|
2189
|
+
.Field_field[data-disabled=true] .Field_title {
|
|
2190
|
+
opacity: 50%;
|
|
2191
|
+
}
|
|
2192
|
+
.Field_description {
|
|
2193
|
+
text-align: left;
|
|
2194
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2195
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2196
|
+
--tw-leading: var(--leading-normal, 1.5);
|
|
2197
|
+
line-height: var(--leading-normal, 1.5);
|
|
2198
|
+
--tw-font-weight: var(--font-weight-normal, 400);
|
|
2199
|
+
font-weight: var(--font-weight-normal, 400);
|
|
2200
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
2201
|
+
&:last-child {
|
|
2202
|
+
margin-top: 0px;
|
|
2203
|
+
}
|
|
2204
|
+
&:nth-last-child(2) {
|
|
2205
|
+
margin-top: calc(var(--spacing, 0.25rem) * -1);
|
|
2206
|
+
}
|
|
2207
|
+
& > a {
|
|
2208
|
+
text-decoration-line: underline;
|
|
2209
|
+
}
|
|
2210
|
+
& > a {
|
|
2211
|
+
text-underline-offset: 4px;
|
|
2212
|
+
}
|
|
2213
|
+
& > a:hover {
|
|
2214
|
+
color: var(--color-primary-content-default, oklch(0.187 0 0));
|
|
2215
|
+
}
|
|
2216
|
+
[data-variant=legend] + & {
|
|
2217
|
+
margin-top: calc(var(--spacing, 0.25rem) * -1.5);
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
.Field_field[data-orientation=horizontal] .Field_description {
|
|
2221
|
+
text-wrap: balance;
|
|
2222
|
+
}
|
|
2223
|
+
.Field_separator {
|
|
2224
|
+
position: relative;
|
|
2225
|
+
margin-block: calc(var(--spacing, 0.25rem) * -2);
|
|
2226
|
+
height: calc(var(--spacing, 0.25rem) * 5);
|
|
2227
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2228
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2229
|
+
}
|
|
2230
|
+
.Field_separatorContent {
|
|
2231
|
+
position: relative;
|
|
2232
|
+
margin-inline: auto;
|
|
2233
|
+
display: block;
|
|
2234
|
+
width: fit-content;
|
|
2235
|
+
background-color: var(--color-base-foreground-ground, oklch(1 0 0));
|
|
2236
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2);
|
|
2237
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
2238
|
+
}
|
|
2239
|
+
[data-slot=card] .Field_separatorContent {
|
|
2240
|
+
background-color: var(--color-base-foreground-card, oklch(1 0 0));
|
|
2241
|
+
}
|
|
2242
|
+
.Field_error {
|
|
2243
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2244
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2245
|
+
--tw-font-weight: var(--font-weight-normal, 400);
|
|
2246
|
+
font-weight: var(--font-weight-normal, 400);
|
|
2247
|
+
color: var(--color-danger-content-default, oklch(0.572 0.173 26.645));
|
|
2248
|
+
}
|
|
2249
|
+
}
|
|
2250
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
2251
|
+
@property --tw-leading { syntax: "*"; inherits: false; }
|
|
2252
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
2253
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2254
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
2255
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2256
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2257
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
2258
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2259
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
2260
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2261
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
2262
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2263
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
2264
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
2265
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
2266
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2267
|
+
|
|
2268
|
+
/* src/components/Input/Input.module.css */
|
|
2269
|
+
@layer theme, base, components, utilities;
|
|
2270
|
+
@layer components {
|
|
2271
|
+
.Input_root {
|
|
2272
|
+
height: calc(var(--spacing, 0.25rem) * 8);
|
|
2273
|
+
width: 100%;
|
|
2274
|
+
min-width: 0px;
|
|
2275
|
+
border-radius: var(--radius-comp-input, 0.5rem);
|
|
2276
|
+
border-style: var(--tw-border-style);
|
|
2277
|
+
border-width: 1px;
|
|
2278
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
2279
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2280
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
|
|
2281
|
+
padding-block: var(--spacing, 0.25rem);
|
|
2282
|
+
font-size: var(--text-base, 1rem);
|
|
2283
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
2284
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2285
|
+
transition-property:
|
|
2286
|
+
color,
|
|
2287
|
+
background-color,
|
|
2288
|
+
border-color,
|
|
2289
|
+
outline-color,
|
|
2290
|
+
text-decoration-color,
|
|
2291
|
+
fill,
|
|
2292
|
+
stroke,
|
|
2293
|
+
--tw-gradient-from,
|
|
2294
|
+
--tw-gradient-via,
|
|
2295
|
+
--tw-gradient-to;
|
|
2296
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
2297
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
2298
|
+
--tw-outline-style: none;
|
|
2299
|
+
outline-style: none;
|
|
2300
|
+
&::file-selector-button {
|
|
2301
|
+
display: inline-flex;
|
|
2302
|
+
}
|
|
2303
|
+
&::file-selector-button {
|
|
2304
|
+
height: calc(var(--spacing, 0.25rem) * 6);
|
|
2305
|
+
}
|
|
2306
|
+
&::file-selector-button {
|
|
2307
|
+
border-style: var(--tw-border-style);
|
|
2308
|
+
border-width: 0px;
|
|
2309
|
+
}
|
|
2310
|
+
&::file-selector-button {
|
|
2311
|
+
background-color: transparent;
|
|
2312
|
+
}
|
|
2313
|
+
&::file-selector-button {
|
|
2314
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2315
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2316
|
+
}
|
|
2317
|
+
&::file-selector-button {
|
|
2318
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
2319
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2320
|
+
}
|
|
2321
|
+
&::file-selector-button {
|
|
2322
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2323
|
+
}
|
|
2324
|
+
&::placeholder {
|
|
2325
|
+
color: var(--color-on-base-content-low, oklch(0.742 0.018 256.302));
|
|
2326
|
+
}
|
|
2327
|
+
&:hover {
|
|
2328
|
+
@media (hover: hover) {
|
|
2329
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
2330
|
+
}
|
|
2331
|
+
}
|
|
2332
|
+
&:focus-visible {
|
|
2333
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2334
|
+
}
|
|
2335
|
+
&:focus-visible {
|
|
2336
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2337
|
+
}
|
|
2338
|
+
&:focus-visible {
|
|
2339
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2340
|
+
box-shadow:
|
|
2341
|
+
var(--tw-inset-shadow),
|
|
2342
|
+
var(--tw-inset-ring-shadow),
|
|
2343
|
+
var(--tw-ring-offset-shadow),
|
|
2344
|
+
var(--tw-ring-shadow),
|
|
2345
|
+
var(--tw-shadow);
|
|
2346
|
+
}
|
|
2347
|
+
&:focus-visible {
|
|
2348
|
+
--tw-ring-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2349
|
+
}
|
|
2350
|
+
&:disabled {
|
|
2351
|
+
pointer-events: none;
|
|
2352
|
+
}
|
|
2353
|
+
&:disabled {
|
|
2354
|
+
cursor: not-allowed;
|
|
2355
|
+
}
|
|
2356
|
+
&:disabled {
|
|
2357
|
+
border-color: var(--color-on-base-border-disable, oklch(0 0 0 / 15%));
|
|
2358
|
+
}
|
|
2359
|
+
&:disabled {
|
|
2360
|
+
background-color: var(--color-base-foreground-disable, oklch(0 0 0 / 3%));
|
|
2361
|
+
}
|
|
2362
|
+
&:disabled {
|
|
2363
|
+
color: var(--color-on-base-content-low, oklch(0.742 0.018 256.302));
|
|
2364
|
+
}
|
|
2365
|
+
&:disabled {
|
|
2366
|
+
&::placeholder {
|
|
2367
|
+
color: var(--color-on-base-content-disable, oklch(0 0 0 / 15%));
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
&[aria-invalid=true] {
|
|
2371
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2372
|
+
}
|
|
2373
|
+
&[aria-invalid=true] {
|
|
2374
|
+
&:hover {
|
|
2375
|
+
@media (hover: hover) {
|
|
2376
|
+
border-color: var(--color-danger-border-default, oklch(0.851 0.081 17.956));
|
|
2377
|
+
}
|
|
2378
|
+
}
|
|
2379
|
+
}
|
|
2380
|
+
&[aria-invalid=true] {
|
|
2381
|
+
&:focus-visible {
|
|
2382
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2383
|
+
}
|
|
2384
|
+
}
|
|
2385
|
+
&[aria-invalid=true] {
|
|
2386
|
+
&:focus-visible {
|
|
2387
|
+
--tw-ring-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2388
|
+
}
|
|
2389
|
+
}
|
|
2390
|
+
@media (width >= 48rem) {
|
|
2391
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2392
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2393
|
+
}
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
2397
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
2398
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2399
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
2400
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2401
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2402
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
2403
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2404
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
2405
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2406
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
2407
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2408
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
2409
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
2410
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
2411
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2412
|
+
|
|
2413
|
+
/* src/components/Textarea/Textarea.module.css */
|
|
2414
|
+
@layer theme, base, components, utilities;
|
|
2415
|
+
@layer components {
|
|
2416
|
+
.Textarea_root {
|
|
2417
|
+
display: flex;
|
|
2418
|
+
field-sizing: content;
|
|
2419
|
+
min-height: calc(var(--spacing, 0.25rem) * 16);
|
|
2420
|
+
width: 100%;
|
|
2421
|
+
border-radius: var(--radius-comp-input, 0.5rem);
|
|
2422
|
+
border-style: var(--tw-border-style);
|
|
2423
|
+
border-width: 1px;
|
|
2424
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
2425
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2426
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
|
|
2427
|
+
padding-block: calc(var(--spacing, 0.25rem) * 2);
|
|
2428
|
+
font-size: var(--text-base, 1rem);
|
|
2429
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
2430
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2431
|
+
transition-property:
|
|
2432
|
+
color,
|
|
2433
|
+
background-color,
|
|
2434
|
+
border-color,
|
|
2435
|
+
outline-color,
|
|
2436
|
+
text-decoration-color,
|
|
2437
|
+
fill,
|
|
2438
|
+
stroke,
|
|
2439
|
+
--tw-gradient-from,
|
|
2440
|
+
--tw-gradient-via,
|
|
2441
|
+
--tw-gradient-to;
|
|
2442
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
2443
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
2444
|
+
--tw-outline-style: none;
|
|
2445
|
+
outline-style: none;
|
|
2446
|
+
&::placeholder {
|
|
2447
|
+
color: var(--color-on-base-content-low, oklch(0.742 0.018 256.302));
|
|
2448
|
+
}
|
|
2449
|
+
&:hover {
|
|
2450
|
+
@media (hover: hover) {
|
|
2451
|
+
background-color: var(--color-base-foreground-action-hover, oklch(0.966 0.007 260.732));
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
&:focus-visible {
|
|
2455
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2456
|
+
}
|
|
2457
|
+
&:focus-visible {
|
|
2458
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2459
|
+
}
|
|
2460
|
+
&:focus-visible {
|
|
2461
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2462
|
+
box-shadow:
|
|
2463
|
+
var(--tw-inset-shadow),
|
|
2464
|
+
var(--tw-inset-ring-shadow),
|
|
2465
|
+
var(--tw-ring-offset-shadow),
|
|
2466
|
+
var(--tw-ring-shadow),
|
|
2467
|
+
var(--tw-shadow);
|
|
2468
|
+
}
|
|
2469
|
+
&:focus-visible {
|
|
2470
|
+
--tw-ring-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2471
|
+
}
|
|
2472
|
+
&:disabled {
|
|
2473
|
+
cursor: not-allowed;
|
|
2474
|
+
}
|
|
2475
|
+
&:disabled {
|
|
2476
|
+
border-color: var(--color-on-base-border-disable, oklch(0 0 0 / 15%));
|
|
2477
|
+
}
|
|
2478
|
+
&:disabled {
|
|
2479
|
+
background-color: var(--color-base-foreground-disable, oklch(0 0 0 / 3%));
|
|
2480
|
+
}
|
|
2481
|
+
&:disabled {
|
|
2482
|
+
color: var(--color-on-base-content-low, oklch(0.742 0.018 256.302));
|
|
2483
|
+
}
|
|
2484
|
+
&:disabled {
|
|
2485
|
+
&::placeholder {
|
|
2486
|
+
color: var(--color-on-base-content-disable, oklch(0 0 0 / 15%));
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
&[aria-invalid=true] {
|
|
2490
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2491
|
+
}
|
|
2492
|
+
&[aria-invalid=true] {
|
|
2493
|
+
&:hover {
|
|
2494
|
+
@media (hover: hover) {
|
|
2495
|
+
border-color: var(--color-danger-border-default, oklch(0.851 0.081 17.956));
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
&[aria-invalid=true] {
|
|
2500
|
+
&:focus-visible {
|
|
2501
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2502
|
+
}
|
|
2503
|
+
}
|
|
2504
|
+
&[aria-invalid=true] {
|
|
2505
|
+
&:focus-visible {
|
|
2506
|
+
--tw-ring-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
@media (width >= 48rem) {
|
|
2510
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2511
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2512
|
+
}
|
|
2513
|
+
}
|
|
2514
|
+
}
|
|
2515
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
2516
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2517
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
2518
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2519
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2520
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
2521
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2522
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
2523
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2524
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
2525
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2526
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
2527
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
2528
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
2529
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2530
|
+
|
|
2531
|
+
/* src/components/InputGroup/InputGroup.module.css */
|
|
2532
|
+
@layer theme, base, components, utilities;
|
|
2533
|
+
@layer components {
|
|
2534
|
+
.InputGroup_root {
|
|
2535
|
+
position: relative;
|
|
2536
|
+
display: flex;
|
|
2537
|
+
height: calc(var(--spacing, 0.25rem) * 8);
|
|
2538
|
+
width: 100%;
|
|
2539
|
+
min-width: 0px;
|
|
2540
|
+
align-items: center;
|
|
2541
|
+
border-radius: var(--radius-comp-input, 0.5rem);
|
|
2542
|
+
border-style: var(--tw-border-style);
|
|
2543
|
+
border-width: 1px;
|
|
2544
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
2545
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2546
|
+
transition-property:
|
|
2547
|
+
color,
|
|
2548
|
+
background-color,
|
|
2549
|
+
border-color,
|
|
2550
|
+
outline-color,
|
|
2551
|
+
text-decoration-color,
|
|
2552
|
+
fill,
|
|
2553
|
+
stroke,
|
|
2554
|
+
--tw-gradient-from,
|
|
2555
|
+
--tw-gradient-via,
|
|
2556
|
+
--tw-gradient-to;
|
|
2557
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
2558
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
2559
|
+
--tw-outline-style: none;
|
|
2560
|
+
outline-style: none;
|
|
2561
|
+
:where(*[data-slot=combobox-content]) & {
|
|
2562
|
+
&:focus-within {
|
|
2563
|
+
border-color: inherit;
|
|
2564
|
+
}
|
|
2565
|
+
}
|
|
2566
|
+
:where(*[data-slot=combobox-content]) & {
|
|
2567
|
+
&:focus-within {
|
|
2568
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2569
|
+
box-shadow:
|
|
2570
|
+
var(--tw-inset-shadow),
|
|
2571
|
+
var(--tw-inset-ring-shadow),
|
|
2572
|
+
var(--tw-ring-offset-shadow),
|
|
2573
|
+
var(--tw-ring-shadow),
|
|
2574
|
+
var(--tw-shadow);
|
|
2575
|
+
}
|
|
2576
|
+
}
|
|
2577
|
+
&:has(*:disabled) {
|
|
2578
|
+
border-color: var(--color-on-base-border-disable, oklch(0 0 0 / 15%));
|
|
2579
|
+
}
|
|
2580
|
+
&:has(*:disabled) {
|
|
2581
|
+
background-color: var(--color-base-foreground-disable, oklch(0 0 0 / 3%));
|
|
2582
|
+
}
|
|
2583
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
2584
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2585
|
+
}
|
|
2586
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
2587
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2588
|
+
box-shadow:
|
|
2589
|
+
var(--tw-inset-shadow),
|
|
2590
|
+
var(--tw-inset-ring-shadow),
|
|
2591
|
+
var(--tw-ring-offset-shadow),
|
|
2592
|
+
var(--tw-ring-shadow),
|
|
2593
|
+
var(--tw-shadow);
|
|
2594
|
+
}
|
|
2595
|
+
&:has(*:is([data-slot=input-group-control]:focus-visible)) {
|
|
2596
|
+
--tw-ring-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2597
|
+
}
|
|
2598
|
+
&:has(*:is([data-slot][aria-invalid=true])) {
|
|
2599
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2600
|
+
}
|
|
2601
|
+
&:has(*:is([data-slot][aria-invalid=true])) {
|
|
2602
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2603
|
+
box-shadow:
|
|
2604
|
+
var(--tw-inset-shadow),
|
|
2605
|
+
var(--tw-inset-ring-shadow),
|
|
2606
|
+
var(--tw-ring-offset-shadow),
|
|
2607
|
+
var(--tw-ring-shadow),
|
|
2608
|
+
var(--tw-shadow);
|
|
2609
|
+
}
|
|
2610
|
+
&:has(*:is([data-slot][aria-invalid=true])) {
|
|
2611
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
2612
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2613
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
2614
|
+
}
|
|
2615
|
+
}
|
|
2616
|
+
&:has(> [data-align=block-end]) {
|
|
2617
|
+
height: auto;
|
|
2618
|
+
}
|
|
2619
|
+
&:has(> [data-align=block-end]) {
|
|
2620
|
+
flex-direction: column;
|
|
2621
|
+
}
|
|
2622
|
+
&:has(> [data-align=block-start]) {
|
|
2623
|
+
height: auto;
|
|
2624
|
+
}
|
|
2625
|
+
&:has(> [data-align=block-start]) {
|
|
2626
|
+
flex-direction: column;
|
|
2627
|
+
}
|
|
2628
|
+
&:has(> textarea) {
|
|
2629
|
+
height: auto;
|
|
2630
|
+
}
|
|
2631
|
+
&:has(> [data-align=block-end]) {
|
|
2632
|
+
& > input {
|
|
2633
|
+
padding-top: calc(var(--spacing, 0.25rem) * 3);
|
|
2634
|
+
}
|
|
2635
|
+
}
|
|
2636
|
+
&:has(> [data-align=block-start]) {
|
|
2637
|
+
& > input {
|
|
2638
|
+
padding-bottom: calc(var(--spacing, 0.25rem) * 3);
|
|
2639
|
+
}
|
|
2640
|
+
}
|
|
2641
|
+
&:has(> [data-align=inline-end]) {
|
|
2642
|
+
& > input {
|
|
2643
|
+
padding-right: calc(var(--spacing, 0.25rem) * 1.5);
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
&:has(> [data-align=inline-start]) {
|
|
2647
|
+
& > input {
|
|
2648
|
+
padding-left: calc(var(--spacing, 0.25rem) * 1.5);
|
|
2649
|
+
}
|
|
2650
|
+
}
|
|
2651
|
+
}
|
|
2652
|
+
.InputGroup_addon {
|
|
2653
|
+
display: flex;
|
|
2654
|
+
height: auto;
|
|
2655
|
+
cursor: text;
|
|
2656
|
+
align-items: center;
|
|
2657
|
+
justify-content: center;
|
|
2658
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2659
|
+
padding-block: calc(var(--spacing, 0.25rem) * 1.5);
|
|
2660
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2661
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2662
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
2663
|
+
font-weight: var(--font-weight-medium, 500);
|
|
2664
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
2665
|
+
-webkit-user-select: none;
|
|
2666
|
+
user-select: none;
|
|
2667
|
+
& > kbd {
|
|
2668
|
+
border-radius: var(--radius-xs, 0.25rem);
|
|
2669
|
+
}
|
|
2670
|
+
& > svg:not([class*=size-]) {
|
|
2671
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
2672
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
2673
|
+
}
|
|
2674
|
+
}
|
|
2675
|
+
.InputGroup_root[data-disabled=true] .InputGroup_addon {
|
|
2676
|
+
opacity: 50%;
|
|
2677
|
+
}
|
|
2678
|
+
.InputGroup_inline-start {
|
|
2679
|
+
order: -9999;
|
|
2680
|
+
padding-left: calc(var(--spacing, 0.25rem) * 2);
|
|
2681
|
+
&:has(> button) {
|
|
2682
|
+
margin-left: -0.3rem;
|
|
2683
|
+
}
|
|
2684
|
+
&:has(> kbd) {
|
|
2685
|
+
margin-left: -0.15rem;
|
|
2686
|
+
}
|
|
2687
|
+
}
|
|
2688
|
+
.InputGroup_inline-end {
|
|
2689
|
+
order: 9999;
|
|
2690
|
+
padding-right: calc(var(--spacing, 0.25rem) * 2);
|
|
2691
|
+
&:has(> button) {
|
|
2692
|
+
margin-right: -0.3rem;
|
|
2693
|
+
}
|
|
2694
|
+
&:has(> kbd) {
|
|
2695
|
+
margin-right: -0.15rem;
|
|
2696
|
+
}
|
|
2697
|
+
}
|
|
2698
|
+
.InputGroup_block-start {
|
|
2699
|
+
order: -9999;
|
|
2700
|
+
width: 100%;
|
|
2701
|
+
justify-content: flex-start;
|
|
2702
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
|
|
2703
|
+
padding-top: calc(var(--spacing, 0.25rem) * 2);
|
|
2704
|
+
&:is(.InputGroup_border-b) {
|
|
2705
|
+
padding-bottom: calc(var(--spacing, 0.25rem) * 2);
|
|
2706
|
+
}
|
|
2707
|
+
}
|
|
2708
|
+
.InputGroup_block-end {
|
|
2709
|
+
order: 9999;
|
|
2710
|
+
width: 100%;
|
|
2711
|
+
justify-content: flex-start;
|
|
2712
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 2.5);
|
|
2713
|
+
padding-bottom: calc(var(--spacing, 0.25rem) * 2);
|
|
2714
|
+
&:is(.InputGroup_border-t) {
|
|
2715
|
+
padding-top: calc(var(--spacing, 0.25rem) * 2);
|
|
2716
|
+
}
|
|
2717
|
+
}
|
|
2718
|
+
.InputGroup_root:has(> input) .InputGroup_block-start {
|
|
2719
|
+
padding-top: calc(var(--spacing, 0.25rem) * 2);
|
|
2720
|
+
}
|
|
2721
|
+
.InputGroup_root:has(> input) .InputGroup_block-end {
|
|
2722
|
+
padding-bottom: calc(var(--spacing, 0.25rem) * 2);
|
|
2723
|
+
}
|
|
2724
|
+
.InputGroup_root .InputGroup_button {
|
|
2725
|
+
display: flex;
|
|
2726
|
+
min-width: 0px;
|
|
2727
|
+
align-items: center;
|
|
2728
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2729
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2730
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2731
|
+
--tw-shadow: 0 0 #0000;
|
|
2732
|
+
box-shadow:
|
|
2733
|
+
var(--tw-inset-shadow),
|
|
2734
|
+
var(--tw-inset-ring-shadow),
|
|
2735
|
+
var(--tw-ring-offset-shadow),
|
|
2736
|
+
var(--tw-ring-shadow),
|
|
2737
|
+
var(--tw-shadow);
|
|
2738
|
+
}
|
|
2739
|
+
.InputGroup_root .InputGroup_button.InputGroup_button-xs {
|
|
2740
|
+
height: calc(var(--spacing, 0.25rem) * 6);
|
|
2741
|
+
gap: var(--spacing, 0.25rem);
|
|
2742
|
+
border-radius: var(--radius-xs, 0.25rem);
|
|
2743
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 1.5);
|
|
2744
|
+
& > svg:not([class*=size-]) {
|
|
2745
|
+
width: calc(var(--spacing, 0.25rem) * 3.5);
|
|
2746
|
+
height: calc(var(--spacing, 0.25rem) * 3.5);
|
|
2747
|
+
}
|
|
2748
|
+
}
|
|
2749
|
+
.InputGroup_root .InputGroup_button.InputGroup_button-icon-xs {
|
|
2750
|
+
width: calc(var(--spacing, 0.25rem) * 6);
|
|
2751
|
+
height: calc(var(--spacing, 0.25rem) * 6);
|
|
2752
|
+
border-radius: var(--radius-xs, 0.25rem);
|
|
2753
|
+
padding: 0px;
|
|
2754
|
+
&:has(> svg) {
|
|
2755
|
+
padding: 0px;
|
|
2756
|
+
}
|
|
2757
|
+
}
|
|
2758
|
+
.InputGroup_root .InputGroup_button.InputGroup_button-icon-sm {
|
|
2759
|
+
width: calc(var(--spacing, 0.25rem) * 8);
|
|
2760
|
+
height: calc(var(--spacing, 0.25rem) * 8);
|
|
2761
|
+
padding: 0px;
|
|
2762
|
+
&:has(> svg) {
|
|
2763
|
+
padding: 0px;
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2766
|
+
.InputGroup_text {
|
|
2767
|
+
display: flex;
|
|
2768
|
+
align-items: center;
|
|
2769
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
2770
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2771
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2772
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
2773
|
+
& svg {
|
|
2774
|
+
pointer-events: none;
|
|
2775
|
+
}
|
|
2776
|
+
& svg:not([class*=size-]) {
|
|
2777
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
2778
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
.InputGroup_root .InputGroup_control {
|
|
2782
|
+
flex: 1;
|
|
2783
|
+
border-radius: 0;
|
|
2784
|
+
border-style: var(--tw-border-style);
|
|
2785
|
+
border-width: 0px;
|
|
2786
|
+
background-color: transparent;
|
|
2787
|
+
--tw-shadow: 0 0 #0000;
|
|
2788
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2789
|
+
box-shadow:
|
|
2790
|
+
var(--tw-inset-shadow),
|
|
2791
|
+
var(--tw-inset-ring-shadow),
|
|
2792
|
+
var(--tw-ring-offset-shadow),
|
|
2793
|
+
var(--tw-ring-shadow),
|
|
2794
|
+
var(--tw-shadow);
|
|
2795
|
+
&:hover {
|
|
2796
|
+
@media (hover: hover) {
|
|
2797
|
+
background-color: transparent;
|
|
2798
|
+
}
|
|
2799
|
+
}
|
|
2800
|
+
&:focus-visible {
|
|
2801
|
+
background-color: transparent;
|
|
2802
|
+
}
|
|
2803
|
+
&:focus-visible {
|
|
2804
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2805
|
+
box-shadow:
|
|
2806
|
+
var(--tw-inset-shadow),
|
|
2807
|
+
var(--tw-inset-ring-shadow),
|
|
2808
|
+
var(--tw-ring-offset-shadow),
|
|
2809
|
+
var(--tw-ring-shadow),
|
|
2810
|
+
var(--tw-shadow);
|
|
2811
|
+
}
|
|
2812
|
+
&:disabled {
|
|
2813
|
+
background-color: transparent;
|
|
2814
|
+
}
|
|
2815
|
+
&[aria-invalid=true] {
|
|
2816
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2817
|
+
box-shadow:
|
|
2818
|
+
var(--tw-inset-shadow),
|
|
2819
|
+
var(--tw-inset-ring-shadow),
|
|
2820
|
+
var(--tw-ring-offset-shadow),
|
|
2821
|
+
var(--tw-ring-shadow),
|
|
2822
|
+
var(--tw-shadow);
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
.InputGroup_root .InputGroup_textarea {
|
|
2826
|
+
resize: none;
|
|
2827
|
+
padding-block: calc(var(--spacing, 0.25rem) * 2);
|
|
2828
|
+
}
|
|
2829
|
+
}
|
|
2830
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
2831
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2832
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
2833
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2834
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2835
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
2836
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2837
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
2838
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2839
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
2840
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2841
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
2842
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
2843
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
2844
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2845
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
2846
|
+
|
|
2847
|
+
/* src/components/InputOTP/InputOTP.module.css */
|
|
2848
|
+
@layer theme, base, components, utilities;
|
|
2849
|
+
@layer components {
|
|
2850
|
+
.InputOTP_container {
|
|
2851
|
+
display: flex;
|
|
2852
|
+
align-items: center;
|
|
2853
|
+
&:has(*:disabled) {
|
|
2854
|
+
opacity: 50%;
|
|
2855
|
+
}
|
|
2856
|
+
}
|
|
2857
|
+
.InputOTP_input:disabled {
|
|
2858
|
+
cursor: not-allowed;
|
|
2859
|
+
}
|
|
2860
|
+
.InputOTP_group {
|
|
2861
|
+
display: flex;
|
|
2862
|
+
align-items: center;
|
|
2863
|
+
border-radius: var(--radius-comp-input, 0.5rem);
|
|
2864
|
+
&:has(*[aria-invalid=true]) {
|
|
2865
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2866
|
+
}
|
|
2867
|
+
&:has(*[aria-invalid=true]) {
|
|
2868
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2869
|
+
box-shadow:
|
|
2870
|
+
var(--tw-inset-shadow),
|
|
2871
|
+
var(--tw-inset-ring-shadow),
|
|
2872
|
+
var(--tw-ring-offset-shadow),
|
|
2873
|
+
var(--tw-ring-shadow),
|
|
2874
|
+
var(--tw-shadow);
|
|
2875
|
+
}
|
|
2876
|
+
&:has(*[aria-invalid=true]) {
|
|
2877
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.572 0.173 26.645) 20%, transparent);
|
|
2878
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
2879
|
+
--tw-ring-color: color-mix(in oklab, var(--color-danger-border-strong, oklch(0.572 0.173 26.645)) 20%, transparent);
|
|
2880
|
+
}
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
.InputOTP_slot {
|
|
2884
|
+
position: relative;
|
|
2885
|
+
display: flex;
|
|
2886
|
+
width: calc(var(--spacing, 0.25rem) * 8);
|
|
2887
|
+
height: calc(var(--spacing, 0.25rem) * 8);
|
|
2888
|
+
align-items: center;
|
|
2889
|
+
justify-content: center;
|
|
2890
|
+
border-block-style: var(--tw-border-style);
|
|
2891
|
+
border-block-width: 1px;
|
|
2892
|
+
border-right-style: var(--tw-border-style);
|
|
2893
|
+
border-right-width: 1px;
|
|
2894
|
+
border-color: var(--color-on-base-border-default, oklch(0.886 0.014 258.348));
|
|
2895
|
+
background-color: var(--color-base-foreground-action, oklch(1 0 0));
|
|
2896
|
+
font-size: var(--text-sm, 0.875rem);
|
|
2897
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
2898
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2899
|
+
transition-property: all;
|
|
2900
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
2901
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
2902
|
+
--tw-outline-style: none;
|
|
2903
|
+
outline-style: none;
|
|
2904
|
+
&:first-child {
|
|
2905
|
+
border-top-left-radius: var(--radius-comp-input, 0.5rem);
|
|
2906
|
+
border-bottom-left-radius: var(--radius-comp-input, 0.5rem);
|
|
2907
|
+
}
|
|
2908
|
+
&:first-child {
|
|
2909
|
+
border-left-style: var(--tw-border-style);
|
|
2910
|
+
border-left-width: 1px;
|
|
2911
|
+
}
|
|
2912
|
+
&:last-child {
|
|
2913
|
+
border-top-right-radius: var(--radius-comp-input, 0.5rem);
|
|
2914
|
+
border-bottom-right-radius: var(--radius-comp-input, 0.5rem);
|
|
2915
|
+
}
|
|
2916
|
+
&[aria-invalid=true] {
|
|
2917
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2918
|
+
}
|
|
2919
|
+
&[data-active=true] {
|
|
2920
|
+
z-index: 10;
|
|
2921
|
+
}
|
|
2922
|
+
&[data-active=true] {
|
|
2923
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2924
|
+
}
|
|
2925
|
+
&[data-active=true] {
|
|
2926
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2927
|
+
box-shadow:
|
|
2928
|
+
var(--tw-inset-shadow),
|
|
2929
|
+
var(--tw-inset-ring-shadow),
|
|
2930
|
+
var(--tw-ring-offset-shadow),
|
|
2931
|
+
var(--tw-ring-shadow),
|
|
2932
|
+
var(--tw-shadow);
|
|
2933
|
+
}
|
|
2934
|
+
&[data-active=true] {
|
|
2935
|
+
--tw-ring-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
2936
|
+
}
|
|
2937
|
+
&[data-active=true] {
|
|
2938
|
+
&[aria-invalid=true] {
|
|
2939
|
+
border-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2940
|
+
}
|
|
2941
|
+
}
|
|
2942
|
+
&[data-active=true] {
|
|
2943
|
+
&[aria-invalid=true] {
|
|
2944
|
+
--tw-ring-color: var(--color-danger-border-strong, oklch(0.572 0.173 26.645));
|
|
2945
|
+
}
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
.InputOTP_caret {
|
|
2949
|
+
pointer-events: none;
|
|
2950
|
+
position: absolute;
|
|
2951
|
+
inset: 0px;
|
|
2952
|
+
display: flex;
|
|
2953
|
+
align-items: center;
|
|
2954
|
+
justify-content: center;
|
|
2955
|
+
}
|
|
2956
|
+
.InputOTP_caret-line {
|
|
2957
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
2958
|
+
width: 1px;
|
|
2959
|
+
animation: InputOTP_caret-blink 1.25s ease-out infinite;
|
|
2960
|
+
background-color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
2961
|
+
--tw-duration: 1000ms;
|
|
2962
|
+
transition-duration: 1000ms;
|
|
2963
|
+
}
|
|
2964
|
+
.InputOTP_separator {
|
|
2965
|
+
display: flex;
|
|
2966
|
+
align-items: center;
|
|
2967
|
+
& svg:not([class*=size-]) {
|
|
2968
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
2969
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
2970
|
+
}
|
|
2971
|
+
}
|
|
2972
|
+
}
|
|
2973
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2974
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
2975
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2976
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2977
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
2978
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
2979
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
2980
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2981
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
2982
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2983
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
2984
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
2985
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
2986
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
2987
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
2988
|
+
@property --tw-duration { syntax: "*"; inherits: false; }
|
|
2989
|
+
@keyframes InputOTP_caret-blink {
|
|
2990
|
+
0%, 70%, 100% {
|
|
2991
|
+
opacity: 1;
|
|
2992
|
+
}
|
|
2993
|
+
20%, 50% {
|
|
2994
|
+
opacity: 0;
|
|
2995
|
+
}
|
|
2996
|
+
}
|
|
2997
|
+
|
|
2998
|
+
/* src/components/ProductCard/ProductCard.module.css */
|
|
2999
|
+
@layer theme, base, components, utilities;
|
|
3000
|
+
@layer components {
|
|
3001
|
+
.ProductCard_image {
|
|
3002
|
+
aspect-ratio: 1 / 1;
|
|
3003
|
+
width: 100%;
|
|
3004
|
+
background-color: var(--color-base-foreground-inset, oklch(0.618 0.095 260.406 / 5%));
|
|
3005
|
+
object-fit: cover;
|
|
3006
|
+
}
|
|
3007
|
+
.ProductCard_brand {
|
|
3008
|
+
font-size: var(--text-xs, 0.75rem);
|
|
3009
|
+
line-height: var(--tw-leading, var(--text-xs--line-height, calc(1 / 0.75)));
|
|
3010
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
3011
|
+
}
|
|
3012
|
+
.ProductCard_name {
|
|
3013
|
+
overflow: hidden;
|
|
3014
|
+
display: -webkit-box;
|
|
3015
|
+
-webkit-box-orient: vertical;
|
|
3016
|
+
-webkit-line-clamp: 2;
|
|
3017
|
+
}
|
|
3018
|
+
.ProductCard_price {
|
|
3019
|
+
font-size: var(--text-base, 1rem);
|
|
3020
|
+
line-height: var(--tw-leading, var(--text-base--line-height, calc(1.5 / 1)));
|
|
3021
|
+
--tw-font-weight: var(--font-weight-semibold, 600);
|
|
3022
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
3023
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
3024
|
+
}
|
|
3025
|
+
}
|
|
3026
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
3027
|
+
|
|
3028
|
+
/* src/components/Tabs/Tabs.module.css */
|
|
3029
|
+
@layer theme, base, components, utilities;
|
|
3030
|
+
@layer components {
|
|
3031
|
+
.Tabs_root {
|
|
3032
|
+
display: flex;
|
|
3033
|
+
gap: calc(var(--spacing, 0.25rem) * 2);
|
|
3034
|
+
}
|
|
3035
|
+
.Tabs_root[data-orientation=horizontal] {
|
|
3036
|
+
flex-direction: column;
|
|
3037
|
+
}
|
|
3038
|
+
.Tabs_list {
|
|
3039
|
+
display: inline-flex;
|
|
3040
|
+
width: fit-content;
|
|
3041
|
+
align-items: center;
|
|
3042
|
+
justify-content: center;
|
|
3043
|
+
border-radius: var(--radius-lg, 0.75rem);
|
|
3044
|
+
padding: 3px;
|
|
3045
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
3046
|
+
}
|
|
3047
|
+
.Tabs_root[data-orientation=horizontal] .Tabs_list {
|
|
3048
|
+
height: calc(var(--spacing, 0.25rem) * 8);
|
|
3049
|
+
}
|
|
3050
|
+
.Tabs_root[data-orientation=vertical] .Tabs_list {
|
|
3051
|
+
height: fit-content;
|
|
3052
|
+
flex-direction: column;
|
|
3053
|
+
}
|
|
3054
|
+
.Tabs_default {
|
|
3055
|
+
background-color: var(--color-base-foreground-inset, oklch(0.618 0.095 260.406 / 5%));
|
|
3056
|
+
}
|
|
3057
|
+
.Tabs_line {
|
|
3058
|
+
gap: var(--spacing, 0.25rem);
|
|
3059
|
+
border-radius: 0;
|
|
3060
|
+
background-color: transparent;
|
|
3061
|
+
}
|
|
3062
|
+
.Tabs_trigger {
|
|
3063
|
+
position: relative;
|
|
3064
|
+
display: inline-flex;
|
|
3065
|
+
height: calc(100% - 1px);
|
|
3066
|
+
flex: 1;
|
|
3067
|
+
align-items: center;
|
|
3068
|
+
justify-content: center;
|
|
3069
|
+
gap: calc(var(--spacing, 0.25rem) * 1.5);
|
|
3070
|
+
border-radius: var(--radius-md, 0.5rem);
|
|
3071
|
+
border-style: var(--tw-border-style);
|
|
3072
|
+
border-width: 1px;
|
|
3073
|
+
border-color: transparent;
|
|
3074
|
+
padding-inline: calc(var(--spacing, 0.25rem) * 1.5);
|
|
3075
|
+
padding-block: calc(var(--spacing, 0.25rem) * 0.5);
|
|
3076
|
+
font-size: var(--text-sm, 0.875rem);
|
|
3077
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
3078
|
+
--tw-font-weight: var(--font-weight-medium, 500);
|
|
3079
|
+
font-weight: var(--font-weight-medium, 500);
|
|
3080
|
+
white-space: nowrap;
|
|
3081
|
+
color: var(--color-on-base-content-medium, oklch(0.536 0.025 259.187));
|
|
3082
|
+
transition-property: all;
|
|
3083
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
3084
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
3085
|
+
--tw-outline-style: none;
|
|
3086
|
+
outline-style: none;
|
|
3087
|
+
&:hover {
|
|
3088
|
+
@media (hover: hover) {
|
|
3089
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
3090
|
+
}
|
|
3091
|
+
}
|
|
3092
|
+
&:focus-visible {
|
|
3093
|
+
border-color: var(--color-primary-border-strong, oklch(0.187 0 0));
|
|
3094
|
+
}
|
|
3095
|
+
&:focus-visible {
|
|
3096
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
3097
|
+
box-shadow:
|
|
3098
|
+
var(--tw-inset-shadow),
|
|
3099
|
+
var(--tw-inset-ring-shadow),
|
|
3100
|
+
var(--tw-ring-offset-shadow),
|
|
3101
|
+
var(--tw-ring-shadow),
|
|
3102
|
+
var(--tw-shadow);
|
|
3103
|
+
}
|
|
3104
|
+
&:focus-visible {
|
|
3105
|
+
--tw-ring-color: color-mix(in srgb, oklch(0.187 0 0) 30%, transparent);
|
|
3106
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
3107
|
+
--tw-ring-color: color-mix(in oklab, var(--color-primary-border-strong, oklch(0.187 0 0)) 30%, transparent);
|
|
3108
|
+
}
|
|
3109
|
+
}
|
|
3110
|
+
&:disabled {
|
|
3111
|
+
pointer-events: none;
|
|
3112
|
+
}
|
|
3113
|
+
&:disabled {
|
|
3114
|
+
opacity: 50%;
|
|
3115
|
+
}
|
|
3116
|
+
&:has(*[data-icon=inline-end]) {
|
|
3117
|
+
padding-right: var(--spacing, 0.25rem);
|
|
3118
|
+
}
|
|
3119
|
+
&:has(*[data-icon=inline-start]) {
|
|
3120
|
+
padding-left: var(--spacing, 0.25rem);
|
|
3121
|
+
}
|
|
3122
|
+
&[aria-disabled=true] {
|
|
3123
|
+
pointer-events: none;
|
|
3124
|
+
}
|
|
3125
|
+
&[aria-disabled=true] {
|
|
3126
|
+
opacity: 50%;
|
|
3127
|
+
}
|
|
3128
|
+
&:where([data-state=active]),
|
|
3129
|
+
&:where([data-active]:not([data-active=false])) {
|
|
3130
|
+
color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
3131
|
+
}
|
|
3132
|
+
& svg {
|
|
3133
|
+
pointer-events: none;
|
|
3134
|
+
}
|
|
3135
|
+
& svg {
|
|
3136
|
+
flex-shrink: 0;
|
|
3137
|
+
}
|
|
3138
|
+
& svg:not([class*=size-]) {
|
|
3139
|
+
width: calc(var(--spacing, 0.25rem) * 4);
|
|
3140
|
+
height: calc(var(--spacing, 0.25rem) * 4);
|
|
3141
|
+
}
|
|
3142
|
+
&::after {
|
|
3143
|
+
content: var(--tw-content);
|
|
3144
|
+
position: absolute;
|
|
3145
|
+
}
|
|
3146
|
+
&::after {
|
|
3147
|
+
content: var(--tw-content);
|
|
3148
|
+
background-color: var(--color-on-base-content-high, oklch(0.299 0.018 258.369));
|
|
3149
|
+
}
|
|
3150
|
+
&::after {
|
|
3151
|
+
content: var(--tw-content);
|
|
3152
|
+
opacity: 0%;
|
|
3153
|
+
}
|
|
3154
|
+
&::after {
|
|
3155
|
+
content: var(--tw-content);
|
|
3156
|
+
transition-property: opacity;
|
|
3157
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
|
|
3158
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
|
|
3159
|
+
}
|
|
3160
|
+
}
|
|
3161
|
+
.Tabs_root[data-orientation=vertical] .Tabs_trigger {
|
|
3162
|
+
width: 100%;
|
|
3163
|
+
justify-content: flex-start;
|
|
3164
|
+
}
|
|
3165
|
+
.Tabs_default .Tabs_trigger:where([data-state=active]),
|
|
3166
|
+
.Tabs_default .Tabs_trigger:where([data-active]:not([data-active=false])) {
|
|
3167
|
+
background-color: var(--color-base-foreground-card, oklch(1 0 0));
|
|
3168
|
+
--tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
3169
|
+
box-shadow:
|
|
3170
|
+
var(--tw-inset-shadow),
|
|
3171
|
+
var(--tw-inset-ring-shadow),
|
|
3172
|
+
var(--tw-ring-offset-shadow),
|
|
3173
|
+
var(--tw-ring-shadow),
|
|
3174
|
+
var(--tw-shadow);
|
|
3175
|
+
}
|
|
3176
|
+
.Tabs_line .Tabs_trigger {
|
|
3177
|
+
background-color: transparent;
|
|
3178
|
+
&:where([data-state=active]),
|
|
3179
|
+
&:where([data-active]:not([data-active=false])) {
|
|
3180
|
+
background-color: transparent;
|
|
3181
|
+
}
|
|
3182
|
+
&:where([data-state=active]),
|
|
3183
|
+
&:where([data-active]:not([data-active=false])) {
|
|
3184
|
+
&::after {
|
|
3185
|
+
content: var(--tw-content);
|
|
3186
|
+
opacity: 100%;
|
|
3187
|
+
}
|
|
3188
|
+
}
|
|
3189
|
+
}
|
|
3190
|
+
.Tabs_root[data-orientation=horizontal] .Tabs_trigger::after {
|
|
3191
|
+
inset-inline: 0px;
|
|
3192
|
+
bottom: -5px;
|
|
3193
|
+
content: var(--tw-content);
|
|
3194
|
+
height: calc(var(--spacing, 0.25rem) * 0.5);
|
|
3195
|
+
}
|
|
3196
|
+
.Tabs_root[data-orientation=vertical] .Tabs_trigger::after {
|
|
3197
|
+
inset-block: 0px;
|
|
3198
|
+
right: calc(var(--spacing, 0.25rem) * -1);
|
|
3199
|
+
content: var(--tw-content);
|
|
3200
|
+
width: calc(var(--spacing, 0.25rem) * 0.5);
|
|
3201
|
+
}
|
|
3202
|
+
.Tabs_content {
|
|
3203
|
+
flex: 1;
|
|
3204
|
+
font-size: var(--text-sm, 0.875rem);
|
|
3205
|
+
line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
|
|
3206
|
+
--tw-outline-style: none;
|
|
3207
|
+
outline-style: none;
|
|
3208
|
+
}
|
|
3209
|
+
}
|
|
3210
|
+
@property --tw-border-style { syntax: "*"; inherits: false; initial-value: solid; }
|
|
3211
|
+
@property --tw-font-weight { syntax: "*"; inherits: false; }
|
|
3212
|
+
@property --tw-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3213
|
+
@property --tw-shadow-color { syntax: "*"; inherits: false; }
|
|
3214
|
+
@property --tw-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
3215
|
+
@property --tw-inset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3216
|
+
@property --tw-inset-shadow-color { syntax: "*"; inherits: false; }
|
|
3217
|
+
@property --tw-inset-shadow-alpha { syntax: "<percentage>"; inherits: false; initial-value: 100%; }
|
|
3218
|
+
@property --tw-ring-color { syntax: "*"; inherits: false; }
|
|
3219
|
+
@property --tw-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3220
|
+
@property --tw-inset-ring-color { syntax: "*"; inherits: false; }
|
|
3221
|
+
@property --tw-inset-ring-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3222
|
+
@property --tw-ring-inset { syntax: "*"; inherits: false; }
|
|
3223
|
+
@property --tw-ring-offset-width { syntax: "<length>"; inherits: false; initial-value: 0px; }
|
|
3224
|
+
@property --tw-ring-offset-color { syntax: "*"; inherits: false; initial-value: #fff; }
|
|
3225
|
+
@property --tw-ring-offset-shadow { syntax: "*"; inherits: false; initial-value: 0 0 #0000; }
|
|
3226
|
+
@property --tw-content { syntax: "*"; initial-value: ""; inherits: false; }
|
|
3227
|
+
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|