m3-svelte 6.0.0 → 6.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package/buttons/Button.svelte +13 -43
- package/package/buttons/FAB.svelte +1 -7
- package/package/buttons/SplitButton.svelte +2 -8
- package/package/containers/BottomSheet.svelte +4 -4
- package/package/containers/Dialog.svelte +3 -15
- package/package/containers/ListItem.svelte +7 -31
- package/package/containers/MenuItem.svelte +4 -10
- package/package/containers/Snackbar.svelte +2 -14
- package/package/containers/StandardSideSheet.svelte +1 -7
- package/package/forms/Checkbox.svelte +2 -2
- package/package/forms/Chip.svelte +4 -10
- package/package/forms/DateField.svelte +7 -19
- package/package/forms/DateFieldOutlined.svelte +9 -21
- package/package/forms/RadioAnim1.svelte +1 -1
- package/package/forms/RadioAnim2.svelte +1 -1
- package/package/forms/RadioAnim3.svelte +1 -1
- package/package/forms/Select.svelte +4 -16
- package/package/forms/SelectOutlined.svelte +4 -16
- package/package/forms/Slider.svelte +5 -11
- package/package/forms/Switch.svelte +7 -7
- package/package/forms/TextField.svelte +10 -28
- package/package/forms/TextFieldMultiline.svelte +10 -28
- package/package/forms/TextFieldOutlined.svelte +8 -26
- package/package/forms/TextFieldOutlinedMultiline.svelte +8 -26
- package/package/forms/_picker/CalendarPicker.svelte +1 -7
- package/package/forms/_picker/FocusPicker.svelte +1 -7
- package/package/forms/_picker/Header.svelte +2 -8
- package/package/forms/_picker/Item.svelte +2 -8
- package/package/misc/recommended-styles.css +1 -1
- package/package/misc/styles.css +10 -10
- package/package/misc/tailwind-styles.css +15 -105
- package/package/nav/NavCMLX.svelte +8 -38
- package/package/nav/NavCMLXItem.svelte +17 -277
- package/package/nav/Tabs.svelte +1 -7
- package/package/nav/TabsLink.svelte +1 -7
- package/package/nav/VariableTabs.svelte +1 -7
- package/package/nav/VariableTabsLink.svelte +1 -7
- package/package.json +2 -2
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
background-color: selecteditem;
|
|
267
267
|
}
|
|
268
268
|
&:is(input:disabled ~ .track-1) {
|
|
269
|
-
background-color:
|
|
269
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
270
270
|
@media screen and (forced-colors: active) {
|
|
271
271
|
background-color: canvastext;
|
|
272
272
|
}
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
background-color: canvastext;
|
|
296
296
|
}
|
|
297
297
|
&:is(input:disabled ~ .track-2) {
|
|
298
|
-
background-color:
|
|
298
|
+
background-color: --translucent(var(--m3c-on-surface), 0.12);
|
|
299
299
|
@media screen and (forced-colors: active) {
|
|
300
300
|
background-color: graytext;
|
|
301
301
|
}
|
|
@@ -324,7 +324,7 @@
|
|
|
324
324
|
&:is(.track-2 > .stop) {
|
|
325
325
|
background-color: var(--m3c-primary);
|
|
326
326
|
&:is(input:disabled ~ .track-2 > .stop) {
|
|
327
|
-
background-color:
|
|
327
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
330
|
pointer-events: none;
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
background-color: selecteditem;
|
|
353
353
|
}
|
|
354
354
|
&:is(input:disabled ~ .handle) {
|
|
355
|
-
background-color:
|
|
355
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
356
356
|
@media screen and (forced-colors: active) {
|
|
357
357
|
background-color: graytext;
|
|
358
358
|
}
|
|
@@ -360,13 +360,7 @@
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
.value {
|
|
363
|
-
|
|
364
|
-
font-family: var(--m3-font);
|
|
365
|
-
font-size: 0.875rem;
|
|
366
|
-
line-height: 1.429;
|
|
367
|
-
letter-spacing: 0.006rem;
|
|
368
|
-
font-weight: 500;
|
|
369
|
-
|
|
363
|
+
@apply --m3-label-large;
|
|
370
364
|
display: flex;
|
|
371
365
|
align-items: center;
|
|
372
366
|
justify-content: center;
|
|
@@ -159,10 +159,10 @@
|
|
|
159
159
|
color: var(--m3c-on-primary-container);
|
|
160
160
|
}
|
|
161
161
|
.m3-container:hover > input ~ .hover {
|
|
162
|
-
background-color:
|
|
162
|
+
background-color: --translucent(var(--m3c-on-surface), 0.08);
|
|
163
163
|
}
|
|
164
164
|
.m3-container:hover > input:checked ~ .hover {
|
|
165
|
-
background-color:
|
|
165
|
+
background-color: --translucent(var(--m3c-primary), 0.08);
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
input:checked {
|
|
@@ -189,23 +189,23 @@
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
input:disabled {
|
|
192
|
-
background-color:
|
|
193
|
-
border-color:
|
|
192
|
+
background-color: --translucent(var(--m3c-surface-container-highest), 0.12);
|
|
193
|
+
border-color: --translucent(var(--m3c-outline), 0.12);
|
|
194
194
|
cursor: auto;
|
|
195
195
|
}
|
|
196
196
|
input:disabled:checked {
|
|
197
|
-
background-color:
|
|
197
|
+
background-color: --translucent(var(--m3c-on-surface), 0.12);
|
|
198
198
|
border-color: transparent;
|
|
199
199
|
}
|
|
200
200
|
input:disabled + .handle {
|
|
201
|
-
background-color:
|
|
201
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
202
202
|
cursor: auto;
|
|
203
203
|
}
|
|
204
204
|
input:disabled:checked + .handle {
|
|
205
205
|
background-color: var(--m3c-surface);
|
|
206
206
|
}
|
|
207
207
|
input:disabled:checked + .handle > :global(svg) {
|
|
208
|
-
color:
|
|
208
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
209
209
|
}
|
|
210
210
|
input:disabled ~ .hover {
|
|
211
211
|
display: none;
|
|
@@ -69,17 +69,11 @@
|
|
|
69
69
|
display: inline-flex;
|
|
70
70
|
position: relative;
|
|
71
71
|
align-items: center;
|
|
72
|
-
height:
|
|
72
|
+
height: --m3-density(3.5rem);
|
|
73
73
|
min-width: 15rem;
|
|
74
74
|
}
|
|
75
75
|
input {
|
|
76
|
-
|
|
77
|
-
font-family: var(--m3-font);
|
|
78
|
-
font-size: 1rem;
|
|
79
|
-
line-height: 1.5;
|
|
80
|
-
letter-spacing: 0;
|
|
81
|
-
font-weight: 400;
|
|
82
|
-
|
|
76
|
+
@apply --m3-body-large;
|
|
83
77
|
position: absolute;
|
|
84
78
|
inset: 0;
|
|
85
79
|
width: 100%;
|
|
@@ -92,13 +86,7 @@
|
|
|
92
86
|
color: var(--m3c-on-surface);
|
|
93
87
|
}
|
|
94
88
|
label {
|
|
95
|
-
|
|
96
|
-
font-family: var(--m3-font);
|
|
97
|
-
font-size: 1rem;
|
|
98
|
-
line-height: 1.5;
|
|
99
|
-
letter-spacing: 0;
|
|
100
|
-
font-weight: 400;
|
|
101
|
-
|
|
89
|
+
@apply --m3-body-large;
|
|
102
90
|
position: absolute;
|
|
103
91
|
inset-inline-start: 1rem;
|
|
104
92
|
top: 50%;
|
|
@@ -111,16 +99,10 @@
|
|
|
111
99
|
color: var(--error, var(--m3c-primary));
|
|
112
100
|
}
|
|
113
101
|
&:is(input:disabled ~ label) {
|
|
114
|
-
color:
|
|
102
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
115
103
|
}
|
|
116
104
|
&:is(input:focus ~ label, input:not(:placeholder-shown) ~ label) {
|
|
117
|
-
|
|
118
|
-
font-family: var(--m3-font);
|
|
119
|
-
font-size: 0.75rem;
|
|
120
|
-
line-height: 1.333;
|
|
121
|
-
letter-spacing: 0.025rem;
|
|
122
|
-
font-weight: 400;
|
|
123
|
-
|
|
105
|
+
@apply --m3-body-small;
|
|
124
106
|
top: 0.5rem;
|
|
125
107
|
translate: 0 0;
|
|
126
108
|
}
|
|
@@ -140,7 +122,7 @@
|
|
|
140
122
|
pointer-events: none;
|
|
141
123
|
transition: all 100ms;
|
|
142
124
|
&:is(input:enabled:hover ~ .layer) {
|
|
143
|
-
background-color:
|
|
125
|
+
background-color: --translucent(var(--m3c-on-surface), 0.08);
|
|
144
126
|
}
|
|
145
127
|
}
|
|
146
128
|
.layer::after {
|
|
@@ -203,14 +185,14 @@
|
|
|
203
185
|
--error: var(--m3c-on-error-container);
|
|
204
186
|
}
|
|
205
187
|
input:disabled {
|
|
206
|
-
background-color:
|
|
207
|
-
color:
|
|
188
|
+
background-color: --translucent(var(--m3c-on-surface), 0.04);
|
|
189
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
208
190
|
}
|
|
209
191
|
input:disabled ~ .layer::after {
|
|
210
|
-
background-color:
|
|
192
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
211
193
|
}
|
|
212
194
|
input:disabled ~ :global(svg) {
|
|
213
|
-
color:
|
|
195
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
214
196
|
}
|
|
215
197
|
|
|
216
198
|
.m3-container {
|
|
@@ -63,17 +63,11 @@
|
|
|
63
63
|
display: inline-flex;
|
|
64
64
|
position: relative;
|
|
65
65
|
align-items: center;
|
|
66
|
-
min-height:
|
|
66
|
+
min-height: --m3-density(5rem);
|
|
67
67
|
min-width: 15rem;
|
|
68
68
|
}
|
|
69
69
|
textarea {
|
|
70
|
-
|
|
71
|
-
font-family: var(--m3-font);
|
|
72
|
-
font-size: 1rem;
|
|
73
|
-
line-height: 1.5;
|
|
74
|
-
letter-spacing: 0;
|
|
75
|
-
font-weight: 400;
|
|
76
|
-
|
|
70
|
+
@apply --m3-body-large;
|
|
77
71
|
position: absolute;
|
|
78
72
|
inset: 0;
|
|
79
73
|
width: 100%;
|
|
@@ -87,13 +81,7 @@
|
|
|
87
81
|
resize: none;
|
|
88
82
|
}
|
|
89
83
|
label {
|
|
90
|
-
|
|
91
|
-
font-family: var(--m3-font);
|
|
92
|
-
font-size: 1rem;
|
|
93
|
-
line-height: 1.5;
|
|
94
|
-
letter-spacing: 0;
|
|
95
|
-
font-weight: 400;
|
|
96
|
-
|
|
84
|
+
@apply --m3-body-large;
|
|
97
85
|
position: absolute;
|
|
98
86
|
inset-inline-start: 1rem;
|
|
99
87
|
top: 50%;
|
|
@@ -106,16 +94,10 @@
|
|
|
106
94
|
color: var(--error, var(--m3c-primary));
|
|
107
95
|
}
|
|
108
96
|
&:is(textarea:disabled ~ label) {
|
|
109
|
-
color:
|
|
97
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
110
98
|
}
|
|
111
99
|
&:is(textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label) {
|
|
112
|
-
|
|
113
|
-
font-family: var(--m3-font);
|
|
114
|
-
font-size: 0.75rem;
|
|
115
|
-
line-height: 1.333;
|
|
116
|
-
letter-spacing: 0.025rem;
|
|
117
|
-
font-weight: 400;
|
|
118
|
-
|
|
100
|
+
@apply --m3-body-small;
|
|
119
101
|
top: 0.5rem;
|
|
120
102
|
translate: 0 0;
|
|
121
103
|
}
|
|
@@ -135,7 +117,7 @@
|
|
|
135
117
|
pointer-events: none;
|
|
136
118
|
transition: all 100ms;
|
|
137
119
|
&:is(textarea:enabled:hover ~ .layer) {
|
|
138
|
-
background-color:
|
|
120
|
+
background-color: --translucent(var(--m3c-on-surface), 0.08);
|
|
139
121
|
}
|
|
140
122
|
}
|
|
141
123
|
.layer::after {
|
|
@@ -177,14 +159,14 @@
|
|
|
177
159
|
--error: var(--m3c-on-error-container);
|
|
178
160
|
}
|
|
179
161
|
textarea:disabled {
|
|
180
|
-
background-color:
|
|
181
|
-
color:
|
|
162
|
+
background-color: --translucent(var(--m3c-on-surface), 0.04);
|
|
163
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
182
164
|
}
|
|
183
165
|
textarea:disabled ~ .layer::after {
|
|
184
|
-
background-color:
|
|
166
|
+
background-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
185
167
|
}
|
|
186
168
|
textarea:disabled ~ :global(svg) {
|
|
187
|
-
color:
|
|
169
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
188
170
|
}
|
|
189
171
|
|
|
190
172
|
.m3-container {
|
|
@@ -72,17 +72,11 @@
|
|
|
72
72
|
display: inline-flex;
|
|
73
73
|
position: relative;
|
|
74
74
|
align-items: center;
|
|
75
|
-
height:
|
|
75
|
+
height: --m3-density(3.5rem);
|
|
76
76
|
min-width: 15rem;
|
|
77
77
|
}
|
|
78
78
|
input {
|
|
79
|
-
|
|
80
|
-
font-family: var(--m3-font);
|
|
81
|
-
font-size: 1rem;
|
|
82
|
-
line-height: 1.5;
|
|
83
|
-
letter-spacing: 0;
|
|
84
|
-
font-weight: 400;
|
|
85
|
-
|
|
79
|
+
@apply --m3-body-large;
|
|
86
80
|
position: absolute;
|
|
87
81
|
inset: 0;
|
|
88
82
|
width: 100%;
|
|
@@ -95,13 +89,7 @@
|
|
|
95
89
|
color: var(--m3c-on-surface);
|
|
96
90
|
}
|
|
97
91
|
label {
|
|
98
|
-
|
|
99
|
-
font-family: var(--m3-font);
|
|
100
|
-
font-size: 1rem;
|
|
101
|
-
line-height: 1.5;
|
|
102
|
-
letter-spacing: 0;
|
|
103
|
-
font-weight: 400;
|
|
104
|
-
|
|
92
|
+
@apply --m3-body-large;
|
|
105
93
|
position: absolute;
|
|
106
94
|
inset-inline-start: 0.75rem;
|
|
107
95
|
top: 50%;
|
|
@@ -116,16 +104,10 @@
|
|
|
116
104
|
color: var(--error, var(--m3c-primary));
|
|
117
105
|
}
|
|
118
106
|
&:is(input:disabled ~ label) {
|
|
119
|
-
color:
|
|
107
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
120
108
|
}
|
|
121
109
|
&:is(input:focus ~ label, input:not(:placeholder-shown) ~ label) {
|
|
122
|
-
|
|
123
|
-
font-family: var(--m3-font);
|
|
124
|
-
font-size: 0.75rem;
|
|
125
|
-
line-height: 1.333;
|
|
126
|
-
letter-spacing: 0.025rem;
|
|
127
|
-
font-weight: 400;
|
|
128
|
-
|
|
110
|
+
@apply --m3-body-small;
|
|
129
111
|
top: 0;
|
|
130
112
|
}
|
|
131
113
|
pointer-events: none;
|
|
@@ -197,13 +179,13 @@
|
|
|
197
179
|
}
|
|
198
180
|
|
|
199
181
|
input:disabled {
|
|
200
|
-
color:
|
|
182
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
201
183
|
}
|
|
202
184
|
input:disabled ~ .layer {
|
|
203
|
-
border-color:
|
|
185
|
+
border-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
204
186
|
}
|
|
205
187
|
input:disabled ~ :global(svg) {
|
|
206
|
-
color:
|
|
188
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
207
189
|
}
|
|
208
190
|
|
|
209
191
|
.m3-container {
|
|
@@ -67,17 +67,11 @@
|
|
|
67
67
|
display: inline-flex;
|
|
68
68
|
position: relative;
|
|
69
69
|
align-items: center;
|
|
70
|
-
min-height:
|
|
70
|
+
min-height: --m3-density(5rem);
|
|
71
71
|
min-width: 15rem;
|
|
72
72
|
}
|
|
73
73
|
textarea {
|
|
74
|
-
|
|
75
|
-
font-family: var(--m3-font);
|
|
76
|
-
font-size: 1rem;
|
|
77
|
-
line-height: 1.5;
|
|
78
|
-
letter-spacing: 0;
|
|
79
|
-
font-weight: 400;
|
|
80
|
-
|
|
74
|
+
@apply --m3-body-large;
|
|
81
75
|
position: absolute;
|
|
82
76
|
inset: 0;
|
|
83
77
|
width: 100%;
|
|
@@ -91,13 +85,7 @@
|
|
|
91
85
|
resize: none;
|
|
92
86
|
}
|
|
93
87
|
label {
|
|
94
|
-
|
|
95
|
-
font-family: var(--m3-font);
|
|
96
|
-
font-size: 1rem;
|
|
97
|
-
line-height: 1.5;
|
|
98
|
-
letter-spacing: 0;
|
|
99
|
-
font-weight: 400;
|
|
100
|
-
|
|
88
|
+
@apply --m3-body-large;
|
|
101
89
|
position: absolute;
|
|
102
90
|
inset-inline-start: 0.75rem;
|
|
103
91
|
top: 50%;
|
|
@@ -112,16 +100,10 @@
|
|
|
112
100
|
color: var(--error, var(--m3c-primary));
|
|
113
101
|
}
|
|
114
102
|
&:is(textarea:disabled ~ label) {
|
|
115
|
-
color:
|
|
103
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
116
104
|
}
|
|
117
105
|
&:is(textarea:focus ~ label, textarea:not(:placeholder-shown) ~ label) {
|
|
118
|
-
|
|
119
|
-
font-family: var(--m3-font);
|
|
120
|
-
font-size: 0.75rem;
|
|
121
|
-
line-height: 1.333;
|
|
122
|
-
letter-spacing: 0.025rem;
|
|
123
|
-
font-weight: 400;
|
|
124
|
-
|
|
106
|
+
@apply --m3-body-small;
|
|
125
107
|
top: 0;
|
|
126
108
|
}
|
|
127
109
|
pointer-events: none;
|
|
@@ -172,13 +154,13 @@
|
|
|
172
154
|
}
|
|
173
155
|
|
|
174
156
|
textarea:disabled {
|
|
175
|
-
color:
|
|
157
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
176
158
|
}
|
|
177
159
|
textarea:disabled ~ .layer {
|
|
178
|
-
border-color:
|
|
160
|
+
border-color: --translucent(var(--m3c-on-surface), 0.38);
|
|
179
161
|
}
|
|
180
162
|
textarea:disabled ~ :global(svg) {
|
|
181
|
-
color:
|
|
163
|
+
color: --translucent(var(--m3c-on-surface), 0.38);
|
|
182
164
|
}
|
|
183
165
|
|
|
184
166
|
.m3-container {
|
|
@@ -58,13 +58,7 @@
|
|
|
58
58
|
gap: 0.25rem;
|
|
59
59
|
}
|
|
60
60
|
.day {
|
|
61
|
-
|
|
62
|
-
font-family: var(--m3-font);
|
|
63
|
-
font-size: 0.75rem;
|
|
64
|
-
line-height: 1.333;
|
|
65
|
-
letter-spacing: 0.025rem;
|
|
66
|
-
font-weight: 400;
|
|
67
|
-
|
|
61
|
+
@apply --m3-body-small;
|
|
68
62
|
display: inline-flex;
|
|
69
63
|
width: 2.5rem;
|
|
70
64
|
height: 2.5rem;
|
|
@@ -35,13 +35,7 @@
|
|
|
35
35
|
margin-bottom: 1.25rem;
|
|
36
36
|
}
|
|
37
37
|
button {
|
|
38
|
-
|
|
39
|
-
font-family: var(--m3-font);
|
|
40
|
-
font-size: 1rem;
|
|
41
|
-
line-height: 1.5;
|
|
42
|
-
letter-spacing: 0;
|
|
43
|
-
font-weight: 400;
|
|
44
|
-
|
|
38
|
+
@apply --m3-body-large;
|
|
45
39
|
display: inline-flex;
|
|
46
40
|
align-items: center;
|
|
47
41
|
height: 3rem;
|
|
@@ -108,17 +108,11 @@
|
|
|
108
108
|
}
|
|
109
109
|
button:disabled {
|
|
110
110
|
cursor: auto;
|
|
111
|
-
color:
|
|
111
|
+
color: --translucent(var(--m3c-on-surface-variant), 0.38);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.chooser {
|
|
115
|
-
|
|
116
|
-
font-family: var(--m3-font);
|
|
117
|
-
font-size: 0.875rem;
|
|
118
|
-
line-height: 1.429;
|
|
119
|
-
letter-spacing: 0.006rem;
|
|
120
|
-
font-weight: 500;
|
|
121
|
-
|
|
115
|
+
@apply --m3-label-large;
|
|
122
116
|
flex-grow: 1;
|
|
123
117
|
}
|
|
124
118
|
.chooser :global(svg) {
|
|
@@ -30,13 +30,7 @@
|
|
|
30
30
|
|
|
31
31
|
<style>
|
|
32
32
|
.item {
|
|
33
|
-
|
|
34
|
-
font-family: var(--m3-font);
|
|
35
|
-
font-size: 0.75rem;
|
|
36
|
-
line-height: 1.333;
|
|
37
|
-
letter-spacing: 0.025rem;
|
|
38
|
-
font-weight: 400;
|
|
39
|
-
|
|
33
|
+
@apply --m3-body-small;
|
|
40
34
|
display: inline-flex;
|
|
41
35
|
width: 2.5rem;
|
|
42
36
|
height: 2.5rem;
|
|
@@ -53,7 +47,7 @@
|
|
|
53
47
|
}
|
|
54
48
|
button:disabled {
|
|
55
49
|
cursor: auto;
|
|
56
|
-
color:
|
|
50
|
+
color: --translucent(var(--m3c-on-surface-variant), 0.38);
|
|
57
51
|
}
|
|
58
52
|
.today {
|
|
59
53
|
border: solid 1px var(--m3c-primary);
|
package/package/misc/styles.css
CHANGED
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
--m3-elevation-0: none;
|
|
12
12
|
--m3-elevation-1:
|
|
13
13
|
/* Spot */
|
|
14
|
-
0px 1px 2px 0px
|
|
15
|
-
/* Ambient */ 0px 1px 3px 1px
|
|
14
|
+
0px 1px 2px 0px --translucent(var(--m3c-shadow), 0.3),
|
|
15
|
+
/* Ambient */ 0px 1px 3px 1px --translucent(var(--m3c-shadow), 0.15);
|
|
16
16
|
--m3-elevation-2:
|
|
17
|
-
0px 1px 2px 0px
|
|
18
|
-
0px 2px 6px 2px
|
|
17
|
+
0px 1px 2px 0px --translucent(var(--m3c-shadow), 0.3),
|
|
18
|
+
0px 2px 6px 2px --translucent(var(--m3c-shadow), 0.15);
|
|
19
19
|
--m3-elevation-3:
|
|
20
|
-
0px 1px 3px 0px
|
|
21
|
-
0px 4px 8px 3px
|
|
20
|
+
0px 1px 3px 0px --translucent(var(--m3c-shadow), 0.3),
|
|
21
|
+
0px 4px 8px 3px --translucent(var(--m3c-shadow), 0.15);
|
|
22
22
|
--m3-elevation-4:
|
|
23
|
-
0px 2px 3px 0px
|
|
24
|
-
0px 6px 10px 4px
|
|
23
|
+
0px 2px 3px 0px --translucent(var(--m3c-shadow), 0.3),
|
|
24
|
+
0px 6px 10px 4px --translucent(var(--m3c-shadow), 0.15);
|
|
25
25
|
--m3-elevation-5:
|
|
26
|
-
0px 4px 4px 0px
|
|
27
|
-
0px 8px 12px 6px
|
|
26
|
+
0px 4px 4px 0px --translucent(var(--m3c-shadow), 0.3),
|
|
27
|
+
0px 8px 12px 6px --translucent(var(--m3c-shadow), 0.15);
|
|
28
28
|
|
|
29
29
|
/* Shapes */
|
|
30
30
|
--m3-shape-none: 0;
|
|
@@ -125,139 +125,49 @@
|
|
|
125
125
|
}
|
|
126
126
|
|
|
127
127
|
@utility m3-font-display-large {
|
|
128
|
-
|
|
129
|
-
font-family: var(--m3-font);
|
|
130
|
-
font-size: 3.563rem;
|
|
131
|
-
line-height: 1.123;
|
|
132
|
-
letter-spacing: 0;
|
|
133
|
-
font-weight: 400;
|
|
134
|
-
|
|
128
|
+
@apply --m3-display-large;
|
|
135
129
|
}
|
|
136
130
|
@utility m3-font-display-medium {
|
|
137
|
-
|
|
138
|
-
font-family: var(--m3-font);
|
|
139
|
-
font-size: 2.813rem;
|
|
140
|
-
line-height: 1.156;
|
|
141
|
-
letter-spacing: 0;
|
|
142
|
-
font-weight: 400;
|
|
143
|
-
|
|
131
|
+
@apply --m3-display-medium;
|
|
144
132
|
}
|
|
145
133
|
@utility m3-font-display-small {
|
|
146
|
-
|
|
147
|
-
font-family: var(--m3-font);
|
|
148
|
-
font-size: 2.25rem;
|
|
149
|
-
line-height: 1.222;
|
|
150
|
-
letter-spacing: 0;
|
|
151
|
-
font-weight: 400;
|
|
152
|
-
|
|
134
|
+
@apply --m3-display-small;
|
|
153
135
|
}
|
|
154
136
|
@utility m3-font-headline-large {
|
|
155
|
-
|
|
156
|
-
font-family: var(--m3-font);
|
|
157
|
-
font-size: 2rem;
|
|
158
|
-
line-height: 1.25;
|
|
159
|
-
letter-spacing: 0;
|
|
160
|
-
font-weight: 400;
|
|
161
|
-
|
|
137
|
+
@apply --m3-headline-large;
|
|
162
138
|
}
|
|
163
139
|
@utility m3-font-headline-medium {
|
|
164
|
-
|
|
165
|
-
font-family: var(--m3-font);
|
|
166
|
-
font-size: 1.75rem;
|
|
167
|
-
line-height: 1.286;
|
|
168
|
-
letter-spacing: 0;
|
|
169
|
-
font-weight: 400;
|
|
170
|
-
|
|
140
|
+
@apply --m3-headline-medium;
|
|
171
141
|
}
|
|
172
142
|
@utility m3-font-headline-small {
|
|
173
|
-
|
|
174
|
-
font-family: var(--m3-font);
|
|
175
|
-
font-size: 1.5rem;
|
|
176
|
-
line-height: 1.333;
|
|
177
|
-
letter-spacing: 0;
|
|
178
|
-
font-weight: 400;
|
|
179
|
-
|
|
143
|
+
@apply --m3-headline-small;
|
|
180
144
|
}
|
|
181
145
|
@utility m3-font-title-large {
|
|
182
|
-
|
|
183
|
-
font-family: var(--m3-font);
|
|
184
|
-
font-size: 1.375rem;
|
|
185
|
-
line-height: 1.273;
|
|
186
|
-
letter-spacing: 0;
|
|
187
|
-
font-weight: 400;
|
|
188
|
-
|
|
146
|
+
@apply --m3-title-large;
|
|
189
147
|
}
|
|
190
148
|
@utility m3-font-title-medium {
|
|
191
|
-
|
|
192
|
-
font-family: var(--m3-font);
|
|
193
|
-
font-size: 1rem;
|
|
194
|
-
line-height: 1.5;
|
|
195
|
-
letter-spacing: 0;
|
|
196
|
-
font-weight: 500;
|
|
197
|
-
|
|
149
|
+
@apply --m3-title-medium;
|
|
198
150
|
}
|
|
199
151
|
@utility m3-font-title-small {
|
|
200
|
-
|
|
201
|
-
font-family: var(--m3-font);
|
|
202
|
-
font-size: 0.875rem;
|
|
203
|
-
line-height: 1.429;
|
|
204
|
-
letter-spacing: 0.006rem;
|
|
205
|
-
font-weight: 500;
|
|
206
|
-
|
|
152
|
+
@apply --m3-title-small;
|
|
207
153
|
}
|
|
208
154
|
@utility m3-font-label-large {
|
|
209
|
-
|
|
210
|
-
font-family: var(--m3-font);
|
|
211
|
-
font-size: 0.875rem;
|
|
212
|
-
line-height: 1.429;
|
|
213
|
-
letter-spacing: 0.006rem;
|
|
214
|
-
font-weight: 500;
|
|
215
|
-
|
|
155
|
+
@apply --m3-label-large;
|
|
216
156
|
}
|
|
217
157
|
@utility m3-font-label-medium {
|
|
218
|
-
|
|
219
|
-
font-family: var(--m3-font);
|
|
220
|
-
font-size: 0.75rem;
|
|
221
|
-
line-height: 1.333;
|
|
222
|
-
letter-spacing: 0.031rem;
|
|
223
|
-
font-weight: 500;
|
|
224
|
-
|
|
158
|
+
@apply --m3-label-medium;
|
|
225
159
|
}
|
|
226
160
|
@utility m3-font-label-small {
|
|
227
|
-
|
|
228
|
-
font-family: var(--m3-font);
|
|
229
|
-
font-size: 0.688rem;
|
|
230
|
-
line-height: 1.455;
|
|
231
|
-
letter-spacing: 0.031rem;
|
|
232
|
-
font-weight: 500;
|
|
233
|
-
|
|
161
|
+
@apply --m3-label-small;
|
|
234
162
|
}
|
|
235
163
|
@utility m3-font-body-large {
|
|
236
|
-
|
|
237
|
-
font-family: var(--m3-font);
|
|
238
|
-
font-size: 1rem;
|
|
239
|
-
line-height: 1.5;
|
|
240
|
-
letter-spacing: 0;
|
|
241
|
-
font-weight: 400;
|
|
242
|
-
|
|
164
|
+
@apply --m3-body-large;
|
|
243
165
|
}
|
|
244
166
|
@utility m3-font-body-medium {
|
|
245
|
-
|
|
246
|
-
font-family: var(--m3-font);
|
|
247
|
-
font-size: 0.875rem;
|
|
248
|
-
line-height: 1.429;
|
|
249
|
-
letter-spacing: 0.016rem;
|
|
250
|
-
font-weight: 400;
|
|
251
|
-
|
|
167
|
+
@apply --m3-body-medium;
|
|
252
168
|
}
|
|
253
169
|
@utility m3-font-body-small {
|
|
254
|
-
|
|
255
|
-
font-family: var(--m3-font);
|
|
256
|
-
font-size: 0.75rem;
|
|
257
|
-
line-height: 1.333;
|
|
258
|
-
letter-spacing: 0.025rem;
|
|
259
|
-
font-weight: 400;
|
|
260
|
-
|
|
170
|
+
@apply --m3-body-small;
|
|
261
171
|
}
|
|
262
172
|
|
|
263
173
|
@layer base {
|