@passui/tokens 0.1.2 → 0.1.4

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.
@@ -25,32 +25,32 @@
25
25
  * by every glass surface.
26
26
  */
27
27
  :root {
28
- --grain-sea-salt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
28
+ --grain-sea-salt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
29
29
  }
30
30
 
31
31
  /** Centered page container with comfortable gutters. */
32
32
  @utility container {
33
- margin-inline: auto;
34
- padding-inline: 1.5rem;
33
+ margin-inline: auto;
34
+ padding-inline: 1.5rem;
35
35
 
36
- @media (width >= --theme(--breakpoint-sm)) {
37
- max-width: none;
38
- }
36
+ @media (width >= --theme(--breakpoint-sm)) {
37
+ max-width: none;
38
+ }
39
39
 
40
- @media (width >= 1440px) {
41
- padding-inline: 2rem;
42
- max-width: 1440px;
43
- }
40
+ @media (width >= 1440px) {
41
+ padding-inline: 2rem;
42
+ max-width: 1440px;
43
+ }
44
44
  }
45
45
 
46
46
  /** Scrollable without a visible scrollbar. */
47
47
  @utility no-scrollbar {
48
- scrollbar-width: none;
49
- -ms-overflow-style: none;
48
+ scrollbar-width: none;
49
+ -ms-overflow-style: none;
50
50
 
51
- &::-webkit-scrollbar {
52
- display: none;
53
- }
51
+ &::-webkit-scrollbar {
52
+ display: none;
53
+ }
54
54
  }
55
55
 
56
56
  /**
@@ -58,13 +58,13 @@
58
58
  * reads as "there's more" rather than as broken layout.
59
59
  */
60
60
  @utility scroll-fade-x {
61
- mask-image: linear-gradient(
62
- to right,
63
- transparent,
64
- #000 14px,
65
- #000 calc(100% - 14px),
66
- transparent
67
- );
61
+ mask-image: linear-gradient(
62
+ to right,
63
+ transparent,
64
+ #000 14px,
65
+ #000 calc(100% - 14px),
66
+ transparent
67
+ );
68
68
  }
69
69
 
70
70
  /**
@@ -73,69 +73,77 @@
73
73
  * slight tilt in opposite directions.
74
74
  */
75
75
  @utility dualTone {
76
- cursor: pointer;
77
- color: currentcolor;
78
- stroke-width: 2;
79
-
80
- & path {
81
- transform-box: fill-box;
82
- transition:
83
- opacity 200ms ease,
84
- transform 200ms var(--ease-emphasized);
85
- }
86
-
87
- & path:first-child {
88
- opacity: 80%;
89
- transform-origin: 0% 100%;
90
- }
91
-
92
- & path:not(:first-child) {
93
- opacity: 40%;
94
- transform-origin: 100% 100%;
95
- }
96
-
97
- .group:hover & path:first-child {
98
- opacity: 100%;
99
- transform: rotate(-3deg);
100
- }
101
-
102
- .group:hover & path:not(:first-child) {
103
- opacity: 100%;
104
- transform: rotate(3deg);
105
- }
76
+ cursor: pointer;
77
+ color: currentcolor;
78
+ stroke-width: 2;
79
+
80
+ & path {
81
+ transform-box: fill-box;
82
+ transition:
83
+ opacity 200ms ease,
84
+ transform 200ms var(--ease-emphasized);
85
+ }
86
+
87
+ & path:first-child {
88
+ opacity: 80%;
89
+ transform-origin: 0% 100%;
90
+ }
91
+
92
+ & path:not(:first-child) {
93
+ opacity: 40%;
94
+ transform-origin: 100% 100%;
95
+ }
96
+
97
+ .group:hover & path:first-child {
98
+ opacity: 100%;
99
+ transform: rotate(-3deg);
100
+ }
101
+
102
+ .group:hover & path:not(:first-child) {
103
+ opacity: 100%;
104
+ transform: rotate(3deg);
105
+ }
106
106
  }
107
107
 
108
108
  /**
109
- * Liquid Glass, clear: the most transparent of Apple's glass, for controls
110
- * floating over content (the tab bar, its search button, toolbars). Content
111
- * shows through vividly; a light blur and lift keep labels legible, and a
112
- * specular rim, an inner glow and a sheen give the edge its glassiness.
109
+ * Sea Glass: passui's signature surface — smooth, frosted, translucent,
110
+ * like gummy sweets tumbled by the sea. Not liquid glass (which is highly
111
+ * transparent with vivid color pop), but satin privacy level 5 glass:
112
+ * a soft, diffused quality with muted color depth. The grain-sea-salt
113
+ * texture gives the surface its frosted/satin quality.
114
+ *
115
+ * Tuned away from liquid glass: reduced brightness (no liquid sheen),
116
+ * reduced saturation (muted colors, not vivid pop), slightly more blur
117
+ * (more diffusion), and softer specular (less sharp edge light).
113
118
  * With Reduce Transparency it becomes solid, as on Apple platforms.
114
119
  */
115
120
  @utility glass {
116
- background-color: var(--color-glass-tint);
117
- background-image:
118
- linear-gradient(
119
- 135deg,
120
- var(--color-glass-sheen),
121
- transparent 42%,
122
- transparent 70%,
123
- color-mix(in srgb, var(--color-glass-sheen) 50%, transparent)
124
- ),
125
- var(--grain-sea-salt);
126
- backdrop-filter: blur(12px) saturate(190%) brightness(1.05);
127
- box-shadow:
128
- inset 1px 1.5px 0 -0.5px var(--color-glass-specular),
129
- inset -1px -1px 0 -0.5px color-mix(in srgb, var(--color-glass-specular) 45%, transparent),
130
- inset 0 0 0 0.5px var(--color-glass-rim),
131
- inset 0 0 16px 0 color-mix(in srgb, var(--color-glass-sheen) 60%, transparent),
132
- 0 10px 30px -10px var(--color-shadow-floating);
133
-
134
- @media (prefers-reduced-transparency: reduce) {
135
- background-color: var(--color-elevated);
136
- background-image: none;
137
- backdrop-filter: none;
138
- }
121
+ background-color: var(--color-glass-tint);
122
+ background-image:
123
+ linear-gradient(
124
+ 135deg,
125
+ var(--color-glass-sheen),
126
+ transparent 42%,
127
+ transparent 70%,
128
+ color-mix(in srgb, var(--color-glass-sheen) 50%, transparent)
129
+ ),
130
+ var(--grain-sea-salt);
131
+ backdrop-filter: blur(14px) saturate(150%) brightness(1);
132
+ box-shadow:
133
+ inset 1px 1.5px 0 -0.5px
134
+ color-mix(in srgb, var(--color-glass-specular) 75%, transparent),
135
+ inset -1px -1px 0 -0.5px
136
+ color-mix(in srgb, var(--color-glass-specular) 35%, transparent),
137
+ inset 0 0 0 0.5px var(--color-glass-rim),
138
+ inset 0 0 16px 0
139
+ color-mix(in srgb, var(--color-glass-sheen) 50%, transparent),
140
+ 0 10px 30px -10px var(--color-shadow-floating);
141
+
142
+ @media (prefers-reduced-transparency: reduce) {
143
+ background-color: var(--color-elevated);
144
+ background-image: none;
145
+ backdrop-filter: none;
146
+ }
139
147
  }
140
148
 
141
149
  /*
@@ -144,12 +152,13 @@
144
152
  * Apple platforms keep the clear glass above.
145
153
  */
146
154
  :root[data-os="android"] .glass {
147
- background-color: var(--color-elevated);
148
- background-image: none;
149
- backdrop-filter: none;
150
- box-shadow:
151
- inset 0 0 0 0.5px color-mix(in srgb, var(--color-separator) 60%, transparent),
152
- 0 8px 24px -10px var(--color-shadow-floating);
155
+ background-color: var(--color-elevated);
156
+ background-image: none;
157
+ backdrop-filter: none;
158
+ box-shadow:
159
+ inset 0 0 0 0.5px
160
+ color-mix(in srgb, var(--color-separator) 60%, transparent),
161
+ 0 8px 24px -10px var(--color-shadow-floating);
153
162
  }
154
163
 
155
164
  /**
@@ -157,44 +166,45 @@
157
166
  * as the selected tab: the accent at a quarter strength, lit at its rim.
158
167
  */
159
168
  @utility glass-lens {
160
- background-color: color-mix(in srgb, var(--color-accent) 24%, transparent);
161
- background-image: linear-gradient(
162
- 160deg,
163
- color-mix(in srgb, var(--color-glass-specular) 55%, transparent),
164
- transparent 45%
165
- );
166
- box-shadow:
167
- inset 1px 1.5px 0 -0.5px var(--color-glass-specular),
168
- inset 0 0 0 0.5px color-mix(in srgb, var(--color-accent) 45%, transparent),
169
- inset 0 0 14px 0 color-mix(in srgb, var(--color-accent) 30%, transparent),
170
- 0 3px 10px -3px color-mix(in srgb, var(--color-accent) 55%, transparent);
169
+ background-color: color-mix(in srgb, var(--color-accent) 24%, transparent);
170
+ background-image: linear-gradient(
171
+ 160deg,
172
+ color-mix(in srgb, var(--color-glass-specular) 55%, transparent),
173
+ transparent 45%
174
+ );
175
+ box-shadow:
176
+ inset 1px 1.5px 0 -0.5px var(--color-glass-specular),
177
+ inset 0 0 0 0.5px color-mix(in srgb, var(--color-accent) 45%, transparent),
178
+ inset 0 0 14px 0 color-mix(in srgb, var(--color-accent) 30%, transparent),
179
+ 0 3px 10px -3px color-mix(in srgb, var(--color-accent) 55%, transparent);
171
180
  }
172
181
 
173
182
  /* On Android the current choice is a plain tinted pill, matching its solid bar. */
174
183
  :root[data-os="android"] .glass-lens {
175
- background-color: color-mix(in srgb, var(--color-accent) 22%, transparent);
176
- background-image: none;
177
- box-shadow: none;
184
+ background-color: color-mix(in srgb, var(--color-accent) 22%, transparent);
185
+ background-image: none;
186
+ box-shadow: none;
178
187
  }
179
188
 
180
189
  /** A quieter glass for large panes such as the sidebar. */
181
190
  @utility glass-pane {
182
- background-color: color-mix(in srgb, var(--color-sidebar) 78%, transparent);
183
- backdrop-filter: blur(30px) saturate(160%);
191
+ background-color: color-mix(in srgb, var(--color-sidebar) 78%, transparent);
192
+ backdrop-filter: blur(30px) saturate(160%);
184
193
  }
185
194
 
186
195
  /** Glass for edge-attached bars (headers): content scrolls beneath it. */
187
196
  @utility glass-bar {
188
- background-color: color-mix(in srgb, var(--color-paper) 72%, transparent);
189
- backdrop-filter: blur(20px) saturate(180%);
190
- box-shadow: inset 0 -1px 0 0 color-mix(in srgb, var(--color-separator) 30%, transparent);
197
+ background-color: color-mix(in srgb, var(--color-paper) 72%, transparent);
198
+ backdrop-filter: blur(20px) saturate(180%);
199
+ box-shadow: inset 0 -1px 0 0
200
+ color-mix(in srgb, var(--color-separator) 30%, transparent);
191
201
  }
192
202
 
193
203
  /* Android's web view drops the blur under sticky bars, which left them see-through;
194
204
  Android's own top bars are solid anyway. */
195
205
  :root[data-os="android"] .glass-bar {
196
- background-color: var(--color-paper);
197
- backdrop-filter: none;
206
+ background-color: var(--color-paper);
207
+ backdrop-filter: none;
198
208
  }
199
209
 
200
210
  /**
@@ -203,21 +213,22 @@
203
213
  * through their parent's backdrop).
204
214
  */
205
215
  @utility glass-menu {
206
- background-color: color-mix(in srgb, var(--color-elevated) 97%, transparent);
207
- background-image: var(--grain-sea-salt);
208
- backdrop-filter: blur(24px) saturate(180%);
209
- box-shadow:
210
- inset 0 0.5px 0 color-mix(in srgb, var(--color-glass-specular) 40%, transparent),
211
- inset 0 0 0 0.5px var(--color-glass-rim),
212
- 0 18px 48px -12px var(--color-shadow-menu);
216
+ background-color: color-mix(in srgb, var(--color-elevated) 97%, transparent);
217
+ background-image: var(--grain-sea-salt);
218
+ backdrop-filter: blur(24px) saturate(180%);
219
+ box-shadow:
220
+ inset 0 0.5px 0
221
+ color-mix(in srgb, var(--color-glass-specular) 40%, transparent),
222
+ inset 0 0 0 0.5px var(--color-glass-rim),
223
+ 0 18px 48px -12px var(--color-shadow-menu);
213
224
  }
214
225
 
215
226
  /** Neutral cards retain a subtle inset edge in either appearance. */
216
227
  @utility card-surface {
217
- background-color: var(--color-paper);
218
- box-shadow:
219
- inset 0 0.5px 0 var(--color-glass-highlight),
220
- inset 0 0 0 0.5px var(--color-glass-rim);
228
+ background-color: var(--color-paper);
229
+ box-shadow:
230
+ inset 0 0.5px 0 var(--color-glass-highlight),
231
+ inset 0 0 0 0.5px var(--color-glass-rim);
221
232
  }
222
233
 
223
234
  /**
@@ -225,39 +236,255 @@
225
236
  * accent glow when focused.
226
237
  */
227
238
  @utility control-field {
228
- background-color: var(--color-fill);
229
- box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-separator) 55%, transparent);
230
- transition:
231
- background-color 160ms var(--ease-standard),
232
- box-shadow 160ms var(--ease-standard);
233
-
234
- &:hover {
235
- box-shadow: inset 0 0 0 1px var(--color-separator);
236
- }
237
-
238
- &:focus,
239
- &:focus-within {
240
- outline: none;
241
- background-color: var(--color-elevated);
242
- box-shadow:
243
- inset 0 0 0 1px color-mix(in srgb, var(--color-accent) 70%, var(--color-separator)),
244
- 0 0 0 1px color-mix(in srgb, var(--color-accent) 30%, transparent);
245
- }
239
+ background-color: var(--color-fill);
240
+ box-shadow: inset 0 0 0 1px
241
+ color-mix(in srgb, var(--color-separator) 55%, transparent);
242
+ transition:
243
+ background-color 160ms var(--ease-standard),
244
+ box-shadow 160ms var(--ease-standard);
245
+
246
+ &:hover {
247
+ box-shadow: inset 0 0 0 1px var(--color-separator);
248
+ }
249
+
250
+ &:focus,
251
+ &:focus-within {
252
+ outline: none;
253
+ background-color: var(--color-elevated);
254
+ box-shadow:
255
+ inset 0 0 0 1px
256
+ color-mix(in srgb, var(--color-accent) 70%, var(--color-separator)),
257
+ 0 0 0 1px color-mix(in srgb, var(--color-accent) 30%, transparent);
258
+ }
246
259
  }
247
260
 
248
261
  /** A neutral window ground with quiet reflected accent at its edges. */
249
262
  @utility app-ground {
250
- background-color: var(--color-background);
251
- background-image:
252
- radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--color-accent-soft) 24%, transparent), transparent 62%),
253
- radial-gradient(ellipse at 100% 100%, color-mix(in srgb, var(--color-accent-soft) 12%, transparent), transparent 58%);
263
+ background-color: var(--color-background);
264
+ background-image:
265
+ radial-gradient(
266
+ ellipse at 0% 0%,
267
+ color-mix(in srgb, var(--color-accent-soft) 24%, transparent),
268
+ transparent 62%
269
+ ),
270
+ radial-gradient(
271
+ ellipse at 100% 100%,
272
+ color-mix(in srgb, var(--color-accent-soft) 12%, transparent),
273
+ transparent 58%
274
+ );
254
275
  }
255
276
 
256
277
  /** Native scrolling, with real content room below floating navigation. */
257
278
  @utility scroll-surface {
258
- min-height: 0;
259
- overflow-y: auto;
260
- overscroll-behavior-y: contain;
261
- scroll-padding-block: 1rem var(--scroll-clearance, 1rem);
262
- padding-bottom: var(--scroll-clearance, 1rem);
279
+ min-height: 0;
280
+ overflow-y: auto;
281
+ overscroll-behavior-y: contain;
282
+ scroll-padding-block: 1rem var(--scroll-clearance, 1rem);
283
+ padding-bottom: var(--scroll-clearance, 1rem);
284
+ }
285
+
286
+ /* Spring easing from the motion tokens, for transitions that settle like a
287
+ physical object: `transition spring-snappy` on a control, `spring-smooth` on a panel. */
288
+ @utility spring-smooth {
289
+ transition-timing-function: var(--spring-smooth);
290
+ transition-duration: var(--spring-smooth-duration);
291
+ }
292
+
293
+ @utility spring-snappy {
294
+ transition-timing-function: var(--spring-snappy);
295
+ transition-duration: var(--spring-snappy-duration);
296
+ }
297
+
298
+ @utility spring-bouncy {
299
+ transition-timing-function: var(--spring-bouncy);
300
+ transition-duration: var(--spring-bouncy-duration);
301
+ }
302
+
303
+ /* Zag writes the content's measured size to --height; these ease it open and shut. */
304
+ @keyframes passui-collapse-open {
305
+ from {
306
+ height: 0;
307
+ opacity: 0;
308
+ }
309
+ to {
310
+ height: var(--height);
311
+ opacity: 1;
312
+ }
313
+ }
314
+
315
+ @keyframes passui-draw {
316
+ from {
317
+ stroke-dashoffset: 1;
318
+ }
319
+ to {
320
+ stroke-dashoffset: 0;
321
+ }
322
+ }
323
+
324
+ @keyframes passui-grow {
325
+ from {
326
+ transform: scaleY(0);
327
+ }
328
+ to {
329
+ transform: scaleY(1);
330
+ }
331
+ }
332
+
333
+ @keyframes passui-fade-in {
334
+ from {
335
+ opacity: 0;
336
+ }
337
+ to {
338
+ opacity: 1;
339
+ }
340
+ }
341
+
342
+ @keyframes passui-step-in {
343
+ from {
344
+ opacity: 0;
345
+ transform: translateY(8px);
346
+ }
347
+ to {
348
+ opacity: 1;
349
+ transform: none;
350
+ }
351
+ }
352
+
353
+ @keyframes passui-collapse-close {
354
+ from {
355
+ height: var(--height);
356
+ opacity: 1;
357
+ }
358
+ to {
359
+ height: 0;
360
+ opacity: 0;
361
+ }
362
+ }
363
+
364
+ @utility collapse-motion {
365
+ overflow: hidden;
366
+
367
+ &[data-state="open"] {
368
+ animation: passui-collapse-open var(--spring-smooth-duration)
369
+ var(--spring-smooth);
370
+ }
371
+
372
+ &[data-state="closed"] {
373
+ animation: passui-collapse-close var(--duration-fast) var(--ease-standard)
374
+ forwards;
375
+ }
376
+
377
+ @media (prefers-reduced-motion: reduce) {
378
+ &[data-state] {
379
+ animation: none;
380
+ }
381
+ }
382
+ }
383
+
384
+ /*
385
+ * iOS liquid glass. One material for every floating surface: a tinted
386
+ * translucent fill, 2xl blur with 180% saturation so what is behind it glows
387
+ * through, a lit top rim, a crisp hairline and layered elevation shadows.
388
+ * Continuous (squircle) corners apply wherever the browser supports them.
389
+ */
390
+ @utility liquid-glass {
391
+ background-color: var(--color-glass-tint);
392
+ background-image:
393
+ linear-gradient(
394
+ 180deg,
395
+ color-mix(in srgb, var(--color-glass-specular) 38%, transparent),
396
+ transparent 42%
397
+ ),
398
+ var(--grain-sea-salt);
399
+ backdrop-filter: blur(40px) saturate(180%);
400
+ -webkit-backdrop-filter: blur(40px) saturate(180%);
401
+ box-shadow:
402
+ inset 0 1px 0 0 var(--color-glass-specular),
403
+ inset 0 0 0 0.5px var(--color-glass-rim),
404
+ 0 1px 2px rgb(0 0 0 / 0.06),
405
+ 0 8px 24px -8px var(--color-shadow-menu),
406
+ 0 28px 64px -24px var(--color-shadow-floating);
407
+ }
408
+
409
+ /* The same glass, denser, for menus and lists where text must stay crisp. */
410
+ @utility liquid-glass-dense {
411
+ background-color: color-mix(in srgb, var(--color-elevated) 86%, transparent);
412
+ background-image:
413
+ linear-gradient(
414
+ 180deg,
415
+ color-mix(in srgb, var(--color-glass-specular) 30%, transparent),
416
+ transparent 36%
417
+ ),
418
+ var(--grain-sea-salt);
419
+ backdrop-filter: blur(40px) saturate(180%);
420
+ -webkit-backdrop-filter: blur(40px) saturate(180%);
421
+ box-shadow:
422
+ inset 0 1px 0 0 var(--color-glass-specular),
423
+ inset 0 0 0 0.5px var(--color-glass-rim),
424
+ 0 1px 2px rgb(0 0 0 / 0.06),
425
+ 0 10px 30px -8px var(--color-shadow-menu),
426
+ 0 30px 70px -26px var(--color-shadow-floating);
427
+ }
428
+
429
+ /*
430
+ * A panel the water drop animates (`data-morph`, set by `useWaterDrop`): its own
431
+ * scale, slide and fade transitions step aside so only the drop moves. Opacity is
432
+ * left alone on purpose, since the drop's animation overrides it anyway.
433
+ */
434
+ @utility morph-reset {
435
+ /* The !important is deliberate: each panel's own `data-starting-style` and
436
+ `data-ending-style` utilities have the same specificity and must lose. */
437
+ &[data-morph] {
438
+ /* biome-ignore lint/complexity/noImportantStyles: must beat same-specificity state utilities */
439
+ transition: none !important;
440
+ /* biome-ignore lint/complexity/noImportantStyles: must beat same-specificity state utilities */
441
+ translate: none !important;
442
+ /* biome-ignore lint/complexity/noImportantStyles: must beat same-specificity state utilities */
443
+ scale: none !important;
444
+ }
445
+ }
446
+
447
+ /* Android keeps the shapes on a solid surface. */
448
+ :root[data-os="android"] :is(.liquid-glass, .liquid-glass-dense) {
449
+ background-image: none;
450
+ background-color: var(--color-elevated);
451
+ backdrop-filter: none;
452
+ -webkit-backdrop-filter: none;
453
+ }
454
+
455
+ /* Continuous iOS corners where `corner-shape` exists; plain rounding elsewhere. */
456
+ @utility squircle {
457
+ @supports (corner-shape: squircle) {
458
+ corner-shape: squircle;
459
+ border-radius: calc(var(--squircle-radius, 1.5rem) * 1.6);
460
+ }
461
+ border-radius: var(--squircle-radius, 1.5rem);
462
+ }
463
+
464
+ /* iOS inset grouped lists: rows on one rounded plate, with hairlines inset from the leading edge. */
465
+ @utility inset-group {
466
+ background-color: var(--color-elevated);
467
+ border-radius: 1.25rem;
468
+ overflow: hidden;
469
+ box-shadow: inset 0 0 0 0.5px
470
+ color-mix(in srgb, var(--color-separator) 55%, transparent);
471
+ }
472
+
473
+ /* The hairline between grouped rows. */
474
+ @utility group-hairline {
475
+ & + & {
476
+ box-shadow: inset 0 0.5px 0 0 var(--color-separator);
477
+ background-clip: padding-box;
478
+ }
479
+ }
480
+
481
+ /* The component showcase sliding by. */
482
+ @theme {
483
+ --animate-marquee: marquee 60s linear infinite;
484
+
485
+ @keyframes marquee {
486
+ to {
487
+ transform: translateX(-100%);
488
+ }
489
+ }
263
490
  }
package/theme.css CHANGED
@@ -83,8 +83,16 @@
83
83
  --duration-fast: 200ms;
84
84
  --duration-normal: 300ms;
85
85
  --duration-slow: 450ms;
86
+ --duration-sheet: 500ms;
86
87
  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
87
88
  --ease-emphasized: cubic-bezier(0.3, 1.3, 0.4, 1);
89
+ --ease-sheet: cubic-bezier(0.32, 0.72, 0, 1);
90
+ --spring-smooth: linear(0, 0.0273, 0.095, 0.1856, 0.2867, 0.3895, 0.4881, 0.579, 0.6602, 0.7308, 0.791, 0.8411, 0.8821, 0.9151, 0.9411, 0.9611, 0.9763, 0.9874, 0.9954, 1.0009, 1.0044, 1.0065, 1.0076, 1.0079, 1.0076, 1.0071, 1.0064, 1.0056, 1.0048, 1.004, 1.0033, 1.0027, 1.0021, 1.0017, 1.0013, 1);
91
+ --spring-smooth-duration: 567ms;
92
+ --spring-snappy: linear(0, 0.0443, 0.1553, 0.3036, 0.4655, 0.6236, 0.7656, 0.8845, 0.9774, 1.0442, 1.0872, 1.1101, 1.1168, 1.1117, 1.0989, 1.0816, 1.0627, 1.0442, 1.0276, 1.0137, 1.0028, 0.9949, 0.9899, 0.9872, 0.9864, 0.9869, 0.9884, 0.9904, 0.9927, 0.9948, 0.9968, 0.9984, 0.9997, 1.0006, 1.0012, 1.0015, 1.0016, 1.0015, 1.0014, 1.0011, 1);
93
+ --spring-snappy-duration: 650ms;
94
+ --spring-bouncy: linear(0, 0.0273, 0.1002, 0.2054, 0.3309, 0.4658, 0.6011, 0.7297, 0.8461, 0.9467, 1.0295, 1.0937, 1.1399, 1.1692, 1.1836, 1.1854, 1.1771, 1.1611, 1.14, 1.1158, 1.0905, 1.0657, 1.0424, 1.0217, 1.0042, 0.9899, 0.9792, 0.9717, 0.9673, 0.9655, 0.9659, 0.968, 0.9713, 0.9755, 0.9801, 0.9848, 0.9893, 0.9935, 0.9972, 1.0002, 1.0026, 1.0044, 1.0056, 1.0063, 1.0064, 1.0062, 1.0058, 1.0051, 1.0043, 1.0034, 1.0025, 1.0017, 1.001, 1.0003, 0.9998, 0.9994, 0.9991, 0.9989, 0.9988, 0.9988, 0.9989, 0.999, 1);
95
+ --spring-bouncy-duration: 1017ms;
88
96
  }
89
97
 
90
98
  :root { color-scheme: light dark; }