@timebraid/tokens 1.16.0 → 1.18.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/package.json +1 -1
- package/tokens/base.css +7 -0
- package/tokens/theme.css +4 -0
package/package.json
CHANGED
package/tokens/base.css
CHANGED
|
@@ -12,13 +12,20 @@ a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,[t
|
|
|
12
12
|
.ellipsis{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
13
13
|
::selection{background:var(--accent-soft-2)}
|
|
14
14
|
@keyframes t-pulse{0%,100%{opacity:1}50%{opacity:.35}}
|
|
15
|
+
@keyframes t-shimmer{from{background-position:200% 0}to{background-position:-200% 0}}
|
|
16
|
+
.t-skeleton{background:linear-gradient(90deg,var(--fill) 25%,var(--fill-2) 50%,var(--fill) 75%);background-size:400% 100%;animation:t-shimmer 1.6s linear infinite}
|
|
17
|
+
@media (prefers-reduced-motion:reduce){.t-skeleton{animation:none;background:var(--fill)}}
|
|
15
18
|
@keyframes t-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
|
|
16
19
|
@keyframes t-sheet{from{transform:translateY(100%)}to{transform:none}}
|
|
17
20
|
@keyframes t-drawer{from{transform:translateX(-100%)}to{transform:none}}
|
|
18
21
|
@keyframes t-scrim{from{opacity:0}to{opacity:1}}
|
|
19
22
|
@keyframes t-pop{from{opacity:0;transform:scale(.96) translateY(6px)}to{opacity:1;transform:none}}
|
|
20
23
|
@keyframes t-island{from{transform:scaleX(.6);opacity:.4}to{transform:none;opacity:1}}
|
|
24
|
+
@keyframes t-sweep{from{transform:rotate(0)}to{transform:rotate(360deg)}}
|
|
25
|
+
@keyframes t-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
|
|
26
|
+
@keyframes t-flash{0%,30%{background-color:var(--accent-soft);box-shadow:inset 0 0 0 1.5px var(--accent)}100%{background-color:transparent;box-shadow:none}}
|
|
21
27
|
.view-in{animation:t-in var(--t-base) var(--ease-out) both}
|
|
28
|
+
.t-flash{animation:t-flash 2s var(--ease) 1 both}
|
|
22
29
|
.press{transition:transform var(--t-fast) var(--ease),background var(--t-fast) var(--ease),opacity var(--t-fast) var(--ease)}
|
|
23
30
|
.press:active{transform:scale(.98)}
|
|
24
31
|
.row-press:active{background:var(--fill-2)!important}
|
package/tokens/theme.css
CHANGED
|
@@ -34,6 +34,10 @@
|
|
|
34
34
|
--red:#D6453D;--red-soft:rgba(214,69,61,.10);
|
|
35
35
|
--orange:#D97B0F;
|
|
36
36
|
|
|
37
|
+
--brand-field:#5D68CF; /* the app icon's indigo field, same in both themes */
|
|
38
|
+
--brand-field-deep:#191E5E;
|
|
39
|
+
--brand-ink:#141846; /* the icon's navy half */
|
|
40
|
+
|
|
37
41
|
--r-cell:12px;--r-card:14px;--r-btn:10px;--r-pill:999px;--r-sheet:20px;--r-window:12px;
|
|
38
42
|
--sh-card:0 1px 2px rgba(14,16,36,.04),0 0 0 1px rgba(14,16,36,.04);
|
|
39
43
|
--sh-float:0 12px 32px -8px rgba(14,16,36,.22),0 2px 6px rgba(14,16,36,.08),0 0 0 1px rgba(14,16,36,.05);
|