@seed-design/css 2.1.1 → 2.1.3
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/all.css +495 -511
- package/all.layered.css +495 -511
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +277 -277
- package/base.layered.css +277 -277
- package/base.layered.min.css +1 -1
- package/base.min.css +1 -1
- package/package.json +1 -1
- package/recipes/action-button.css +36 -36
- package/recipes/action-button.layered.css +36 -36
- package/recipes/bottom-sheet.css +39 -39
- package/recipes/bottom-sheet.layered.css +39 -39
- package/recipes/floating-action-button.css +2 -2
- package/recipes/floating-action-button.layered.css +2 -2
- package/recipes/help-bubble.css +10 -10
- package/recipes/help-bubble.layered.css +10 -10
- package/recipes/image-frame-reaction-button.css +1 -3
- package/recipes/image-frame-reaction-button.layered.css +1 -4
- package/recipes/list-item.css +36 -36
- package/recipes/list-item.layered.css +36 -36
- package/recipes/side-panel.css +74 -87
- package/recipes/side-panel.layered.css +74 -87
- package/recipes/skeleton.css +20 -20
- package/recipes/skeleton.layered.css +20 -20
- package/vars/component/floating-action-button.d.ts +1 -1
- package/vars/component/floating-action-button.mjs +1 -1
- package/vars/component/image-frame-reaction-button.d.ts +3 -2
- package/vars/component/image-frame-reaction-button.mjs +3 -2
- package/vars/component/side-panel-close-button.d.ts +6 -2
- package/vars/component/side-panel-close-button.mjs +6 -2
- package/vars/component/side-panel.d.ts +7 -4
- package/vars/component/side-panel.mjs +6 -4
|
@@ -42,19 +42,20 @@
|
|
|
42
42
|
background: var(--seed-color-bg-layer-floating);
|
|
43
43
|
touch-action: none;
|
|
44
44
|
will-change: transform;
|
|
45
|
-
--
|
|
46
|
-
--seed-box-width-
|
|
47
|
-
--seed-box-width-
|
|
48
|
-
--seed-box-width-
|
|
49
|
-
--seed-box-width-
|
|
50
|
-
--seed-box-width: var(--seed-box-width-
|
|
45
|
+
--side-panel-default-width: calc(.8 * 100vw);
|
|
46
|
+
--seed-box-width-base: var(--side-panel-default-width);
|
|
47
|
+
--seed-box-width-sm: var(--seed-box-width-base, initial);
|
|
48
|
+
--seed-box-width-md: var(--seed-box-width-sm, initial);
|
|
49
|
+
--seed-box-width-lg: var(--seed-box-width-md, initial);
|
|
50
|
+
--seed-box-width-xl: var(--seed-box-width-lg, initial);
|
|
51
|
+
--seed-box-width: var(--seed-box-width-base, initial);
|
|
51
52
|
--seed-box-max-width-base: calc(.8 * 100%);
|
|
52
|
-
--seed-box-max-width-sm: var(--seed-box-max-width-base);
|
|
53
|
-
--seed-box-max-width-md: var(--seed-box-max-width-sm);
|
|
54
|
-
--seed-box-max-width-lg: var(--seed-box-max-width-md);
|
|
55
|
-
--seed-box-max-width-xl: var(--seed-box-max-width-lg);
|
|
56
|
-
--seed-box-max-width: var(--seed-box-max-width-base);
|
|
57
|
-
width: var(--seed-box-width
|
|
53
|
+
--seed-box-max-width-sm: var(--seed-box-max-width-base, initial);
|
|
54
|
+
--seed-box-max-width-md: var(--seed-box-max-width-sm, initial);
|
|
55
|
+
--seed-box-max-width-lg: var(--seed-box-max-width-md, initial);
|
|
56
|
+
--seed-box-max-width-xl: var(--seed-box-max-width-lg, initial);
|
|
57
|
+
--seed-box-max-width: var(--seed-box-max-width-base, initial);
|
|
58
|
+
width: var(--seed-box-width);
|
|
58
59
|
max-width: var(--seed-box-max-width);
|
|
59
60
|
padding-bottom: var(--seed-safe-area-bottom);
|
|
60
61
|
flex-direction: column;
|
|
@@ -66,7 +67,7 @@
|
|
|
66
67
|
|
|
67
68
|
@media (width >= 768px) {
|
|
68
69
|
.seed-side-panel__content {
|
|
69
|
-
|
|
70
|
+
--side-panel-default-width: var(--side-panel-size-width);
|
|
70
71
|
}
|
|
71
72
|
}
|
|
72
73
|
|
|
@@ -158,7 +159,7 @@
|
|
|
158
159
|
}
|
|
159
160
|
|
|
160
161
|
.seed-side-panel__header[data-show-close-button] {
|
|
161
|
-
padding-right: calc(var(--seed-dimension-
|
|
162
|
+
padding-right: calc(24px + 22px + var(--seed-dimension-x1_5));
|
|
162
163
|
}
|
|
163
164
|
|
|
164
165
|
.seed-side-panel__title {
|
|
@@ -180,30 +181,31 @@
|
|
|
180
181
|
}
|
|
181
182
|
|
|
182
183
|
.seed-side-panel__body {
|
|
184
|
+
box-sizing: border-box;
|
|
183
185
|
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
184
|
-
--seed-box-padding-x-sm: var(--seed-box-padding-x-base);
|
|
185
|
-
--seed-box-padding-x-md: var(--seed-box-padding-x-sm);
|
|
186
|
-
--seed-box-padding-x-lg: var(--seed-box-padding-x-md);
|
|
187
|
-
--seed-box-padding-x-xl: var(--seed-box-padding-x-lg);
|
|
188
|
-
--seed-box-padding-x: var(--seed-box-padding-x-base);
|
|
189
|
-
--seed-box-height-base:
|
|
190
|
-
--seed-box-height-sm: var(--seed-box-height-base);
|
|
191
|
-
--seed-box-height-md: var(--seed-box-height-sm);
|
|
192
|
-
--seed-box-height-lg: var(--seed-box-height-md);
|
|
193
|
-
--seed-box-height-xl: var(--seed-box-height-lg);
|
|
194
|
-
--seed-box-height: var(--seed-box-height-base);
|
|
195
|
-
--seed-box-min-height-base:
|
|
196
|
-
--seed-box-min-height-sm: var(--seed-box-min-height-base);
|
|
197
|
-
--seed-box-min-height-md: var(--seed-box-min-height-sm);
|
|
198
|
-
--seed-box-min-height-lg: var(--seed-box-min-height-md);
|
|
199
|
-
--seed-box-min-height-xl: var(--seed-box-min-height-lg);
|
|
200
|
-
--seed-box-min-height: var(--seed-box-min-height-base);
|
|
201
|
-
--seed-box-max-height-base:
|
|
202
|
-
--seed-box-max-height-sm: var(--seed-box-max-height-base);
|
|
203
|
-
--seed-box-max-height-md: var(--seed-box-max-height-sm);
|
|
204
|
-
--seed-box-max-height-lg: var(--seed-box-max-height-md);
|
|
205
|
-
--seed-box-max-height-xl: var(--seed-box-max-height-lg);
|
|
206
|
-
--seed-box-max-height: var(--seed-box-max-height-base);
|
|
186
|
+
--seed-box-padding-x-sm: var(--seed-box-padding-x-base, initial);
|
|
187
|
+
--seed-box-padding-x-md: var(--seed-box-padding-x-sm, initial);
|
|
188
|
+
--seed-box-padding-x-lg: var(--seed-box-padding-x-md, initial);
|
|
189
|
+
--seed-box-padding-x-xl: var(--seed-box-padding-x-lg, initial);
|
|
190
|
+
--seed-box-padding-x: var(--seed-box-padding-x-base, initial);
|
|
191
|
+
--seed-box-height-base: auto;
|
|
192
|
+
--seed-box-height-sm: var(--seed-box-height-base, initial);
|
|
193
|
+
--seed-box-height-md: var(--seed-box-height-sm, initial);
|
|
194
|
+
--seed-box-height-lg: var(--seed-box-height-md, initial);
|
|
195
|
+
--seed-box-height-xl: var(--seed-box-height-lg, initial);
|
|
196
|
+
--seed-box-height: var(--seed-box-height-base, initial);
|
|
197
|
+
--seed-box-min-height-base: auto;
|
|
198
|
+
--seed-box-min-height-sm: var(--seed-box-min-height-base, initial);
|
|
199
|
+
--seed-box-min-height-md: var(--seed-box-min-height-sm, initial);
|
|
200
|
+
--seed-box-min-height-lg: var(--seed-box-min-height-md, initial);
|
|
201
|
+
--seed-box-min-height-xl: var(--seed-box-min-height-lg, initial);
|
|
202
|
+
--seed-box-min-height: var(--seed-box-min-height-base, initial);
|
|
203
|
+
--seed-box-max-height-base: none;
|
|
204
|
+
--seed-box-max-height-sm: var(--seed-box-max-height-base, initial);
|
|
205
|
+
--seed-box-max-height-md: var(--seed-box-max-height-sm, initial);
|
|
206
|
+
--seed-box-max-height-lg: var(--seed-box-max-height-md, initial);
|
|
207
|
+
--seed-box-max-height-xl: var(--seed-box-max-height-lg, initial);
|
|
208
|
+
--seed-box-max-height: var(--seed-box-max-height-base, initial);
|
|
207
209
|
--seed-box-justify-content: initial;
|
|
208
210
|
--seed-box-align-items: initial;
|
|
209
211
|
padding-left: var(--seed-box-padding-x);
|
|
@@ -240,57 +242,42 @@
|
|
|
240
242
|
}
|
|
241
243
|
|
|
242
244
|
.seed-side-panel__closeButton {
|
|
245
|
+
background: var(--seed-color-bg-transparent);
|
|
243
246
|
top: calc(28px + var(--seed-safe-area-top));
|
|
244
247
|
border-radius: var(--seed-radius-r3);
|
|
245
|
-
background: var(--seed-color-bg-transparent);
|
|
246
248
|
cursor: pointer;
|
|
249
|
+
transition: background var(--seed-duration-color-transition) var(--seed-timing-function-easing), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
247
250
|
--seed-icon-size: 22px;
|
|
248
251
|
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
252
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
253
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
249
254
|
border: none;
|
|
250
255
|
justify-content: center;
|
|
251
256
|
align-items: center;
|
|
252
|
-
|
|
253
|
-
|
|
257
|
+
margin: -15px;
|
|
258
|
+
padding: 15px;
|
|
254
259
|
display: flex;
|
|
255
260
|
position: absolute;
|
|
256
261
|
right: 24px;
|
|
257
262
|
}
|
|
258
263
|
|
|
259
|
-
.seed-side-panel__closeButton
|
|
260
|
-
|
|
264
|
+
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]) {
|
|
265
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
266
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
261
267
|
}
|
|
262
268
|
|
|
263
269
|
@media (hover: hover) and (pointer: fine) {
|
|
264
270
|
.seed-side-panel__closeButton:is(:hover, [data-hover]) {
|
|
265
|
-
|
|
271
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
266
272
|
}
|
|
267
273
|
}
|
|
268
274
|
|
|
269
275
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
270
276
|
.seed-side-panel__closeButton:is(:active, [data-active]) {
|
|
271
|
-
|
|
277
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
272
278
|
}
|
|
273
279
|
}
|
|
274
280
|
|
|
275
|
-
.seed-side-panel__closeButton:after {
|
|
276
|
-
content: "";
|
|
277
|
-
border-radius: var(--seed-radius-r3);
|
|
278
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
279
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
280
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
281
|
-
position: absolute;
|
|
282
|
-
inset: -15px;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
.seed-side-panel__closeButton:is(:focus, [data-focus]) {
|
|
286
|
-
outline: none;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
.seed-side-panel__closeButton:is(:focus-visible, [data-focus-visible]):after {
|
|
290
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
291
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
292
|
-
}
|
|
293
|
-
|
|
294
281
|
.seed-side-panel__content--size_small {
|
|
295
282
|
--side-panel-size-width: 480px;
|
|
296
283
|
}
|
|
@@ -305,57 +292,57 @@
|
|
|
305
292
|
|
|
306
293
|
@media (width >= 480px) {
|
|
307
294
|
.seed-side-panel__content {
|
|
308
|
-
--seed-box-width: var(--seed-box-width-sm);
|
|
309
|
-
--seed-box-max-width: var(--seed-box-max-width-sm);
|
|
295
|
+
--seed-box-width: var(--seed-box-width-sm, initial);
|
|
296
|
+
--seed-box-max-width: var(--seed-box-max-width-sm, initial);
|
|
310
297
|
}
|
|
311
298
|
|
|
312
299
|
.seed-side-panel__body {
|
|
313
|
-
--seed-box-padding-x: var(--seed-box-padding-x-sm);
|
|
314
|
-
--seed-box-height: var(--seed-box-height-sm);
|
|
315
|
-
--seed-box-min-height: var(--seed-box-min-height-sm);
|
|
316
|
-
--seed-box-max-height: var(--seed-box-max-height-sm);
|
|
300
|
+
--seed-box-padding-x: var(--seed-box-padding-x-sm, initial);
|
|
301
|
+
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
302
|
+
--seed-box-min-height: var(--seed-box-min-height-sm, initial);
|
|
303
|
+
--seed-box-max-height: var(--seed-box-max-height-sm, initial);
|
|
317
304
|
}
|
|
318
305
|
}
|
|
319
306
|
|
|
320
307
|
@media (width >= 768px) {
|
|
321
308
|
.seed-side-panel__content {
|
|
322
|
-
--seed-box-width: var(--seed-box-width-md);
|
|
323
|
-
--seed-box-max-width: var(--seed-box-max-width-md);
|
|
309
|
+
--seed-box-width: var(--seed-box-width-md, initial);
|
|
310
|
+
--seed-box-max-width: var(--seed-box-max-width-md, initial);
|
|
324
311
|
}
|
|
325
312
|
|
|
326
313
|
.seed-side-panel__body {
|
|
327
|
-
--seed-box-padding-x: var(--seed-box-padding-x-md);
|
|
328
|
-
--seed-box-height: var(--seed-box-height-md);
|
|
329
|
-
--seed-box-min-height: var(--seed-box-min-height-md);
|
|
330
|
-
--seed-box-max-height: var(--seed-box-max-height-md);
|
|
314
|
+
--seed-box-padding-x: var(--seed-box-padding-x-md, initial);
|
|
315
|
+
--seed-box-height: var(--seed-box-height-md, initial);
|
|
316
|
+
--seed-box-min-height: var(--seed-box-min-height-md, initial);
|
|
317
|
+
--seed-box-max-height: var(--seed-box-max-height-md, initial);
|
|
331
318
|
}
|
|
332
319
|
}
|
|
333
320
|
|
|
334
321
|
@media (width >= 1280px) {
|
|
335
322
|
.seed-side-panel__content {
|
|
336
|
-
--seed-box-width: var(--seed-box-width-lg);
|
|
337
|
-
--seed-box-max-width: var(--seed-box-max-width-lg);
|
|
323
|
+
--seed-box-width: var(--seed-box-width-lg, initial);
|
|
324
|
+
--seed-box-max-width: var(--seed-box-max-width-lg, initial);
|
|
338
325
|
}
|
|
339
326
|
|
|
340
327
|
.seed-side-panel__body {
|
|
341
|
-
--seed-box-padding-x: var(--seed-box-padding-x-lg);
|
|
342
|
-
--seed-box-height: var(--seed-box-height-lg);
|
|
343
|
-
--seed-box-min-height: var(--seed-box-min-height-lg);
|
|
344
|
-
--seed-box-max-height: var(--seed-box-max-height-lg);
|
|
328
|
+
--seed-box-padding-x: var(--seed-box-padding-x-lg, initial);
|
|
329
|
+
--seed-box-height: var(--seed-box-height-lg, initial);
|
|
330
|
+
--seed-box-min-height: var(--seed-box-min-height-lg, initial);
|
|
331
|
+
--seed-box-max-height: var(--seed-box-max-height-lg, initial);
|
|
345
332
|
}
|
|
346
333
|
}
|
|
347
334
|
|
|
348
335
|
@media (width >= 1440px) {
|
|
349
336
|
.seed-side-panel__content {
|
|
350
|
-
--seed-box-width: var(--seed-box-width-xl);
|
|
351
|
-
--seed-box-max-width: var(--seed-box-max-width-xl);
|
|
337
|
+
--seed-box-width: var(--seed-box-width-xl, initial);
|
|
338
|
+
--seed-box-max-width: var(--seed-box-max-width-xl, initial);
|
|
352
339
|
}
|
|
353
340
|
|
|
354
341
|
.seed-side-panel__body {
|
|
355
|
-
--seed-box-padding-x: var(--seed-box-padding-x-xl);
|
|
356
|
-
--seed-box-height: var(--seed-box-height-xl);
|
|
357
|
-
--seed-box-min-height: var(--seed-box-min-height-xl);
|
|
358
|
-
--seed-box-max-height: var(--seed-box-max-height-xl);
|
|
342
|
+
--seed-box-padding-x: var(--seed-box-padding-x-xl, initial);
|
|
343
|
+
--seed-box-height: var(--seed-box-height-xl, initial);
|
|
344
|
+
--seed-box-min-height: var(--seed-box-min-height-xl, initial);
|
|
345
|
+
--seed-box-max-height: var(--seed-box-max-height-xl, initial);
|
|
359
346
|
}
|
|
360
347
|
}
|
|
361
348
|
}
|
package/recipes/skeleton.css
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
display: inline-block;
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
overflow: hidden;
|
|
5
|
-
--seed-box-width-base:
|
|
6
|
-
--seed-box-width-sm: var(--seed-box-width-base);
|
|
7
|
-
--seed-box-width-md: var(--seed-box-width-sm);
|
|
8
|
-
--seed-box-width-lg: var(--seed-box-width-md);
|
|
9
|
-
--seed-box-width-xl: var(--seed-box-width-lg);
|
|
10
|
-
--seed-box-width: var(--seed-box-width-base);
|
|
11
|
-
--seed-box-height-base:
|
|
12
|
-
--seed-box-height-sm: var(--seed-box-height-base);
|
|
13
|
-
--seed-box-height-md: var(--seed-box-height-sm);
|
|
14
|
-
--seed-box-height-lg: var(--seed-box-height-md);
|
|
15
|
-
--seed-box-height-xl: var(--seed-box-height-lg);
|
|
16
|
-
--seed-box-height: var(--seed-box-height-base);
|
|
5
|
+
--seed-box-width-base: auto;
|
|
6
|
+
--seed-box-width-sm: var(--seed-box-width-base, initial);
|
|
7
|
+
--seed-box-width-md: var(--seed-box-width-sm, initial);
|
|
8
|
+
--seed-box-width-lg: var(--seed-box-width-md, initial);
|
|
9
|
+
--seed-box-width-xl: var(--seed-box-width-lg, initial);
|
|
10
|
+
--seed-box-width: var(--seed-box-width-base, initial);
|
|
11
|
+
--seed-box-height-base: auto;
|
|
12
|
+
--seed-box-height-sm: var(--seed-box-height-base, initial);
|
|
13
|
+
--seed-box-height-md: var(--seed-box-height-sm, initial);
|
|
14
|
+
--seed-box-height-lg: var(--seed-box-height-md, initial);
|
|
15
|
+
--seed-box-height-xl: var(--seed-box-height-lg, initial);
|
|
16
|
+
--seed-box-height: var(--seed-box-height-base, initial);
|
|
17
17
|
width: var(--seed-box-width);
|
|
18
18
|
height: var(--seed-box-height);
|
|
19
19
|
}
|
|
@@ -55,25 +55,25 @@
|
|
|
55
55
|
}
|
|
56
56
|
@media (min-width: 480px) {
|
|
57
57
|
.seed-skeleton {
|
|
58
|
-
--seed-box-width: var(--seed-box-width-sm);
|
|
59
|
-
--seed-box-height: var(--seed-box-height-sm);
|
|
58
|
+
--seed-box-width: var(--seed-box-width-sm, initial);
|
|
59
|
+
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
@media (min-width: 768px) {
|
|
63
63
|
.seed-skeleton {
|
|
64
|
-
--seed-box-width: var(--seed-box-width-md);
|
|
65
|
-
--seed-box-height: var(--seed-box-height-md);
|
|
64
|
+
--seed-box-width: var(--seed-box-width-md, initial);
|
|
65
|
+
--seed-box-height: var(--seed-box-height-md, initial);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
@media (min-width: 1280px) {
|
|
69
69
|
.seed-skeleton {
|
|
70
|
-
--seed-box-width: var(--seed-box-width-lg);
|
|
71
|
-
--seed-box-height: var(--seed-box-height-lg);
|
|
70
|
+
--seed-box-width: var(--seed-box-width-lg, initial);
|
|
71
|
+
--seed-box-height: var(--seed-box-height-lg, initial);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
@media (min-width: 1440px) {
|
|
75
75
|
.seed-skeleton {
|
|
76
|
-
--seed-box-width: var(--seed-box-width-xl);
|
|
77
|
-
--seed-box-height: var(--seed-box-height-xl);
|
|
76
|
+
--seed-box-width: var(--seed-box-width-xl, initial);
|
|
77
|
+
--seed-box-height: var(--seed-box-height-xl, initial);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
@layer seed-components {
|
|
2
2
|
.seed-skeleton {
|
|
3
3
|
box-sizing: border-box;
|
|
4
|
-
--seed-box-width-base:
|
|
5
|
-
--seed-box-width-sm: var(--seed-box-width-base);
|
|
6
|
-
--seed-box-width-md: var(--seed-box-width-sm);
|
|
7
|
-
--seed-box-width-lg: var(--seed-box-width-md);
|
|
8
|
-
--seed-box-width-xl: var(--seed-box-width-lg);
|
|
9
|
-
--seed-box-width: var(--seed-box-width-base);
|
|
10
|
-
--seed-box-height-base:
|
|
11
|
-
--seed-box-height-sm: var(--seed-box-height-base);
|
|
12
|
-
--seed-box-height-md: var(--seed-box-height-sm);
|
|
13
|
-
--seed-box-height-lg: var(--seed-box-height-md);
|
|
14
|
-
--seed-box-height-xl: var(--seed-box-height-lg);
|
|
15
|
-
--seed-box-height: var(--seed-box-height-base);
|
|
4
|
+
--seed-box-width-base: auto;
|
|
5
|
+
--seed-box-width-sm: var(--seed-box-width-base, initial);
|
|
6
|
+
--seed-box-width-md: var(--seed-box-width-sm, initial);
|
|
7
|
+
--seed-box-width-lg: var(--seed-box-width-md, initial);
|
|
8
|
+
--seed-box-width-xl: var(--seed-box-width-lg, initial);
|
|
9
|
+
--seed-box-width: var(--seed-box-width-base, initial);
|
|
10
|
+
--seed-box-height-base: auto;
|
|
11
|
+
--seed-box-height-sm: var(--seed-box-height-base, initial);
|
|
12
|
+
--seed-box-height-md: var(--seed-box-height-sm, initial);
|
|
13
|
+
--seed-box-height-lg: var(--seed-box-height-md, initial);
|
|
14
|
+
--seed-box-height-xl: var(--seed-box-height-lg, initial);
|
|
15
|
+
--seed-box-height: var(--seed-box-height-base, initial);
|
|
16
16
|
width: var(--seed-box-width);
|
|
17
17
|
height: var(--seed-box-height);
|
|
18
18
|
display: inline-block;
|
|
@@ -66,29 +66,29 @@
|
|
|
66
66
|
|
|
67
67
|
@media (width >= 480px) {
|
|
68
68
|
.seed-skeleton {
|
|
69
|
-
--seed-box-width: var(--seed-box-width-sm);
|
|
70
|
-
--seed-box-height: var(--seed-box-height-sm);
|
|
69
|
+
--seed-box-width: var(--seed-box-width-sm, initial);
|
|
70
|
+
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
@media (width >= 768px) {
|
|
75
75
|
.seed-skeleton {
|
|
76
|
-
--seed-box-width: var(--seed-box-width-md);
|
|
77
|
-
--seed-box-height: var(--seed-box-height-md);
|
|
76
|
+
--seed-box-width: var(--seed-box-width-md, initial);
|
|
77
|
+
--seed-box-height: var(--seed-box-height-md, initial);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
@media (width >= 1280px) {
|
|
82
82
|
.seed-skeleton {
|
|
83
|
-
--seed-box-width: var(--seed-box-width-lg);
|
|
84
|
-
--seed-box-height: var(--seed-box-height-lg);
|
|
83
|
+
--seed-box-width: var(--seed-box-width-lg, initial);
|
|
84
|
+
--seed-box-height: var(--seed-box-height-lg, initial);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
@media (width >= 1440px) {
|
|
89
89
|
.seed-skeleton {
|
|
90
|
-
--seed-box-width: var(--seed-box-width-xl);
|
|
91
|
-
--seed-box-height: var(--seed-box-height-xl);
|
|
90
|
+
--seed-box-width: var(--seed-box-width-xl, initial);
|
|
91
|
+
--seed-box-height: var(--seed-box-height-xl, initial);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -10,9 +10,10 @@ export declare const vars: {
|
|
|
10
10
|
},
|
|
11
11
|
/** lineIcon 아래에 내려가는 하트 아이콘입니다. */
|
|
12
12
|
"fillIcon": {
|
|
13
|
-
"gradient": "var(--seed-color-palette-static-black-alpha-
|
|
13
|
+
"gradient": "var(--seed-color-palette-static-black-alpha-600) 0%, var(--seed-color-palette-static-black-alpha-600) 100%",
|
|
14
14
|
/** 보이는 버튼 크기입니다. */
|
|
15
|
-
"size": "var(--seed-dimension-x6)"
|
|
15
|
+
"size": "var(--seed-dimension-x6)",
|
|
16
|
+
"shadow": "0px 2px 4px 0px #00000026"
|
|
16
17
|
},
|
|
17
18
|
/** fillIcon 위로 올라가는 하트 아이콘입니다. */
|
|
18
19
|
"lineIcon": {
|
|
@@ -6,8 +6,9 @@ export const vars = {
|
|
|
6
6
|
"targetSize": "var(--seed-dimension-x10)"
|
|
7
7
|
},
|
|
8
8
|
"fillIcon": {
|
|
9
|
-
"gradient": "var(--seed-color-palette-static-black-alpha-
|
|
10
|
-
"size": "var(--seed-dimension-x6)"
|
|
9
|
+
"gradient": "var(--seed-color-palette-static-black-alpha-600) 0%, var(--seed-color-palette-static-black-alpha-600) 100%",
|
|
10
|
+
"size": "var(--seed-dimension-x6)",
|
|
11
|
+
"shadow": "0px 2px 4px 0px #00000026"
|
|
11
12
|
},
|
|
12
13
|
"lineIcon": {
|
|
13
14
|
"color": "var(--seed-color-palette-static-white)",
|
|
@@ -4,8 +4,9 @@ export declare const vars: {
|
|
|
4
4
|
"root": {
|
|
5
5
|
"color": "var(--seed-color-bg-transparent)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-r3)",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"size": "52px",
|
|
8
|
+
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
10
|
},
|
|
10
11
|
"icon": {
|
|
11
12
|
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
@@ -15,6 +16,9 @@ export declare const vars: {
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"pressed": {
|
|
19
|
+
"root": {
|
|
20
|
+
"color": "var(--seed-color-bg-transparent-pressed)"
|
|
21
|
+
},
|
|
18
22
|
"icon": {
|
|
19
23
|
"color": "var(--seed-color-fg-neutral)"
|
|
20
24
|
}
|
|
@@ -4,8 +4,9 @@ export const vars = {
|
|
|
4
4
|
"root": {
|
|
5
5
|
"color": "var(--seed-color-bg-transparent)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-r3)",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
7
|
+
"size": "52px",
|
|
8
|
+
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
10
|
},
|
|
10
11
|
"icon": {
|
|
11
12
|
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
@@ -15,6 +16,9 @@ export const vars = {
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"pressed": {
|
|
19
|
+
"root": {
|
|
20
|
+
"color": "var(--seed-color-bg-transparent-pressed)"
|
|
21
|
+
},
|
|
18
22
|
"icon": {
|
|
19
23
|
"color": "var(--seed-color-fg-neutral)"
|
|
20
24
|
}
|
|
@@ -27,14 +27,16 @@ export declare const vars: {
|
|
|
27
27
|
/** 이 값은 상단 safe-area inset과 합산하여 적용합니다. */
|
|
28
28
|
"paddingTop": "var(--seed-dimension-x6)",
|
|
29
29
|
/** body의 하단 padding이며, 동시에 하단 scroll fog 그라데이션의 높이로도 사용됩니다. */
|
|
30
|
-
"paddingBottom": "var(--seed-dimension-x4)"
|
|
30
|
+
"paddingBottom": "var(--seed-dimension-x4)",
|
|
31
|
+
/** closeButton이 표시되는 경우 paddingRight에 추가되는 여백입니다. */
|
|
32
|
+
"closeButtonGap": "var(--seed-dimension-x1_5)"
|
|
31
33
|
},
|
|
32
34
|
"body": {
|
|
33
35
|
"paddingX": "var(--seed-dimension-x6)",
|
|
34
36
|
/** body의 하단 padding이며, 동시에 하단 scroll fog 그라데이션의 높이로도 사용됩니다. */
|
|
35
37
|
"paddingBottom": "var(--seed-dimension-x12)",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
+
"strokeDuration": "var(--seed-duration-color-transition)",
|
|
39
|
+
"strokeTimingFunction": "var(--seed-timing-function-easing)"
|
|
38
40
|
},
|
|
39
41
|
"footer": {
|
|
40
42
|
"paddingX": "var(--seed-dimension-x6)",
|
|
@@ -62,8 +64,9 @@ export declare const vars: {
|
|
|
62
64
|
},
|
|
63
65
|
"scrolled": {
|
|
64
66
|
"body": {
|
|
67
|
+
"strokeWidth": "1px",
|
|
65
68
|
/** 본문이 스크롤된(scrolled) 상태에서 body 상단에 나타나는 divider의 색상입니다. */
|
|
66
|
-
"
|
|
69
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)"
|
|
67
70
|
}
|
|
68
71
|
}
|
|
69
72
|
},
|
|
@@ -23,13 +23,14 @@ export const vars = {
|
|
|
23
23
|
"minHeight": "70px",
|
|
24
24
|
"paddingX": "var(--seed-dimension-x6)",
|
|
25
25
|
"paddingTop": "var(--seed-dimension-x6)",
|
|
26
|
-
"paddingBottom": "var(--seed-dimension-x4)"
|
|
26
|
+
"paddingBottom": "var(--seed-dimension-x4)",
|
|
27
|
+
"closeButtonGap": "var(--seed-dimension-x1_5)"
|
|
27
28
|
},
|
|
28
29
|
"body": {
|
|
29
30
|
"paddingX": "var(--seed-dimension-x6)",
|
|
30
31
|
"paddingBottom": "var(--seed-dimension-x12)",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
32
|
+
"strokeDuration": "var(--seed-duration-color-transition)",
|
|
33
|
+
"strokeTimingFunction": "var(--seed-timing-function-easing)"
|
|
33
34
|
},
|
|
34
35
|
"footer": {
|
|
35
36
|
"paddingX": "var(--seed-dimension-x6)",
|
|
@@ -55,7 +56,8 @@ export const vars = {
|
|
|
55
56
|
},
|
|
56
57
|
"scrolled": {
|
|
57
58
|
"body": {
|
|
58
|
-
"
|
|
59
|
+
"strokeWidth": "1px",
|
|
60
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)"
|
|
59
61
|
}
|
|
60
62
|
}
|
|
61
63
|
},
|