@welcome-back/brand 0.7.3 → 0.9.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 +2 -2
- package/dist/cjs/posTokens.js +15 -8
- package/dist/cjs/runnerCss.js +9 -8
- package/dist/esm/posTokens.d.ts +9 -7
- package/dist/esm/posTokens.js +15 -8
- package/dist/esm/runnerCss.d.ts +1 -1
- package/dist/esm/runnerCss.js +9 -8
- package/dist/pos-tokens.css +9 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -460,8 +460,8 @@ React, and then hooks fail with "Invalid hook call".
|
|
|
460
460
|
| To change | Edit | Note |
|
|
461
461
|
|---|---|---|
|
|
462
462
|
| Speed | `--wb-runner-step-default` in `src/runnerCss.ts` | Apps can already override it per use with `--wb-runner-step` |
|
|
463
|
-
| Stride length (swing angles) | `@keyframes wb-runner-swing-front` / `-back` in `src/runnerCss.ts` | Angles are measured from each leg drawing's rest pose. The
|
|
464
|
-
| Where the legs join the body | `@keyframes wb-runner-hip-front` / `-back` | Values are in the art's coordinates (the 1500×1500 PDF page) |
|
|
463
|
+
| Stride length (swing angles) | `@keyframes wb-runner-swing-front` / `-back` in `src/runnerCss.ts` | Angles are measured from each leg drawing's rest pose. The legs cross at `-36deg` (front) and `39deg` (back). The swings are not equal: they are tuned so both shoes reach the same spot forward and back. The crossing keyframes sit at 17% / 83% so each leg moves at an even speed; if you change an end angle, check that both still hold. |
|
|
464
|
+
| Where the legs join the body | `@keyframes wb-runner-hip-front` / `-back` | Values are in the art's coordinates (the 1500×1500 PDF page). The front hip rises at the crossing so its shoe stays inside the viewBox. |
|
|
465
465
|
| What is hidden behind the W | `LEGS_CLIP` / `BODY_CLIP` in `src/runnerArt.ts` | See [Source art](#source-art) |
|
|
466
466
|
| A new prop | `src/RunnerLoader.tsx`, plus a test and a row in the props table | |
|
|
467
467
|
| A new asset (logo, icon, token) | A new file in `src/`, exported from `src/index.ts`, plus a test and a README section | |
|
package/dist/cjs/posTokens.js
CHANGED
|
@@ -28,11 +28,17 @@ exports.POS_TOKENS = {
|
|
|
28
28
|
"--wb-accent-soft": "rgba(23, 23, 23, 0.06)",
|
|
29
29
|
// White page like the dashboard (owner, 2026-10-21); warm neutrals for
|
|
30
30
|
// surfaces and borders. Ivory stays on the ticket, like paper.
|
|
31
|
+
// Contrast floors (WB-3159, owner 2026-10-26: cheap, bright screens lose the
|
|
32
|
+
// greys), asserted in posTokens.test.ts: surfaces >= 1.25:1 on --wb-bg,
|
|
33
|
+
// dividers >= 1.6:1, control edges >= 3:1 on every surface they sit on.
|
|
31
34
|
"--wb-bg": "#ffffff",
|
|
32
35
|
"--wb-surface": "#ffffff",
|
|
33
|
-
"--wb-surface2": "#
|
|
34
|
-
"--wb-ticket-bg": "#
|
|
35
|
-
|
|
36
|
+
"--wb-surface2": "#e6e4db",
|
|
37
|
+
"--wb-ticket-bg": "#eae5d2",
|
|
38
|
+
// Dividers and hairlines.
|
|
39
|
+
"--wb-border": "#cec9bb",
|
|
40
|
+
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
41
|
+
"--wb-border-strong": "#878172",
|
|
36
42
|
// Translucent ivory veil for overlays (e.g. "Agotado").
|
|
37
43
|
"--wb-veil": "rgba(246, 244, 233, 0.72)",
|
|
38
44
|
"--wb-text": "#000000",
|
|
@@ -52,8 +58,8 @@ exports.POS_TOKENS = {
|
|
|
52
58
|
// The «Agotado · vuelve mañana» badge.
|
|
53
59
|
"--wb-soldout": "#fef3c7",
|
|
54
60
|
"--wb-soldout-ink": "#713f12",
|
|
55
|
-
// Placeholder and hint text.
|
|
56
|
-
"--wb-faint": "#
|
|
61
|
+
// Placeholder and hint text (>= 6:1 on bg, surface2 and the ticket).
|
|
62
|
+
"--wb-faint": "#565249",
|
|
57
63
|
"--wb-primary-soft": "rgba(23, 23, 23, 0.15)",
|
|
58
64
|
// The keyboard focus ring (3 px), pos-ui `.focus-ring`. Paper C1.
|
|
59
65
|
"--wb-ring-soft": "rgba(23, 23, 23, 0.5)",
|
|
@@ -119,9 +125,10 @@ exports.POS_DARK_TOKENS = {
|
|
|
119
125
|
"--wb-accent-soft": "rgba(242, 240, 234, 0.08)",
|
|
120
126
|
"--wb-bg": "#121110",
|
|
121
127
|
"--wb-surface": "#1a1917",
|
|
122
|
-
"--wb-surface2": "#
|
|
123
|
-
"--wb-ticket-bg": "#
|
|
128
|
+
"--wb-surface2": "#292723",
|
|
129
|
+
"--wb-ticket-bg": "#2a2722",
|
|
124
130
|
"--wb-border": "#3b3832",
|
|
131
|
+
"--wb-border-strong": "#767064",
|
|
125
132
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
|
126
133
|
"--wb-text": "#f2f0ea",
|
|
127
134
|
"--wb-muted": "#b8b3a7",
|
|
@@ -136,7 +143,7 @@ exports.POS_DARK_TOKENS = {
|
|
|
136
143
|
"--wb-error-strong": "#f87171",
|
|
137
144
|
"--wb-soldout": "#413115",
|
|
138
145
|
"--wb-soldout-ink": "#fcd34d",
|
|
139
|
-
"--wb-faint": "#
|
|
146
|
+
"--wb-faint": "#a9a59b",
|
|
140
147
|
"--wb-primary-soft": "rgba(242, 240, 234, 0.15)",
|
|
141
148
|
"--wb-ring-soft": "rgba(242, 240, 234, 0.5)",
|
|
142
149
|
"--wb-brand": "#f2f0ea",
|
package/dist/cjs/runnerCss.js
CHANGED
|
@@ -5,8 +5,9 @@ exports.RUNNER_CSS = void 0;
|
|
|
5
5
|
* RunnerLoader cycle, shipped inside the SVG as a <style> element so apps need
|
|
6
6
|
* no CSS import. One step = --wb-runner-step; a full stride is two steps.
|
|
7
7
|
* Each leg keeps its own drawing and swings through the other: they meet under
|
|
8
|
-
* the body at
|
|
9
|
-
* Swing from
|
|
8
|
+
* the body at 17% / 83%, overlap, then separate. Rotations are about each hip.
|
|
9
|
+
* Swing from the crossing pose: front leg 52° forward / 92° back, back leg 62° / 131°.
|
|
10
|
+
* The ends are tuned by eye: the bent leg reaches far forward, the straight leg far back.
|
|
10
11
|
* Every instance repeats the same rules; the duplicates are identical.
|
|
11
12
|
*/
|
|
12
13
|
exports.RUNNER_CSS = `
|
|
@@ -17,15 +18,15 @@ exports.RUNNER_CSS = `
|
|
|
17
18
|
.wb-runner-hip-back{animation:wb-runner-hip-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
18
19
|
.wb-runner-swing-front{animation:wb-runner-swing-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
19
20
|
.wb-runner-swing-back{animation:wb-runner-swing-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
20
|
-
@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}
|
|
21
|
-
@keyframes wb-runner-hip-back{0%,100%{animation-timing-function:ease-in;transform:translate(800px,810px)}
|
|
22
|
-
@keyframes wb-runner-swing-front{0%,100%{animation-timing-function:ease-in;transform:rotate(
|
|
23
|
-
@keyframes wb-runner-swing-back{0%,100%{animation-timing-function:ease-in;transform:rotate(-
|
|
21
|
+
@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,740px)}50%{animation-timing-function:ease-in;transform:translate(790px,795px)}}
|
|
22
|
+
@keyframes wb-runner-hip-back{0%,100%{animation-timing-function:ease-in;transform:translate(800px,810px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,795px)}50%{animation-timing-function:ease-in;transform:translate(710px,785px)}}
|
|
23
|
+
@keyframes wb-runner-swing-front{0%,100%{animation-timing-function:ease-in;transform:rotate(16deg) scale(1,1)}17%,83%{animation-timing-function:ease-out;transform:rotate(-36deg) scale(1,.82)}50%{animation-timing-function:ease-in;transform:rotate(-128deg) scale(.85,.85)}}
|
|
24
|
+
@keyframes wb-runner-swing-back{0%,100%{animation-timing-function:ease-in;transform:rotate(-23deg)}17%,83%{animation-timing-function:ease-out;transform:rotate(39deg)}50%{animation-timing-function:ease-in;transform:rotate(170deg)}}
|
|
24
25
|
@keyframes wb-runner-bob{0%,100%{transform:translateY(-14px)}50%{transform:translateY(6px)}}
|
|
25
26
|
@media (prefers-reduced-motion:reduce){
|
|
26
27
|
.wb-runner *{animation:none!important}
|
|
27
28
|
.wb-runner-hip-front{transform:translate(700px,780px)}
|
|
28
29
|
.wb-runner-hip-back{transform:translate(800px,810px)}
|
|
29
|
-
.wb-runner-swing-front{transform:rotate(
|
|
30
|
-
.wb-runner-swing-back{transform:rotate(-
|
|
30
|
+
.wb-runner-swing-front{transform:rotate(16deg)}
|
|
31
|
+
.wb-runner-swing-back{transform:rotate(-23deg)}
|
|
31
32
|
}`;
|
package/dist/esm/posTokens.d.ts
CHANGED
|
@@ -38,9 +38,10 @@ export declare const POS_TOKENS: {
|
|
|
38
38
|
readonly "--wb-accent-soft": "rgba(23, 23, 23, 0.06)";
|
|
39
39
|
readonly "--wb-bg": "#ffffff";
|
|
40
40
|
readonly "--wb-surface": "#ffffff";
|
|
41
|
-
readonly "--wb-surface2": "#
|
|
42
|
-
readonly "--wb-ticket-bg": "#
|
|
43
|
-
readonly "--wb-border": "#
|
|
41
|
+
readonly "--wb-surface2": "#e6e4db";
|
|
42
|
+
readonly "--wb-ticket-bg": "#eae5d2";
|
|
43
|
+
readonly "--wb-border": "#cec9bb";
|
|
44
|
+
readonly "--wb-border-strong": "#878172";
|
|
44
45
|
readonly "--wb-veil": "rgba(246, 244, 233, 0.72)";
|
|
45
46
|
readonly "--wb-text": "#000000";
|
|
46
47
|
readonly "--wb-muted": "#404040";
|
|
@@ -55,7 +56,7 @@ export declare const POS_TOKENS: {
|
|
|
55
56
|
readonly "--wb-error-strong": "#b91c1c";
|
|
56
57
|
readonly "--wb-soldout": "#fef3c7";
|
|
57
58
|
readonly "--wb-soldout-ink": "#713f12";
|
|
58
|
-
readonly "--wb-faint": "#
|
|
59
|
+
readonly "--wb-faint": "#565249";
|
|
59
60
|
readonly "--wb-primary-soft": "rgba(23, 23, 23, 0.15)";
|
|
60
61
|
readonly "--wb-ring-soft": "rgba(23, 23, 23, 0.5)";
|
|
61
62
|
readonly "--wb-on-media": "#ffffff";
|
|
@@ -137,9 +138,10 @@ export declare const POS_DARK_TOKENS: {
|
|
|
137
138
|
readonly "--wb-accent-soft": "rgba(242, 240, 234, 0.08)";
|
|
138
139
|
readonly "--wb-bg": "#121110";
|
|
139
140
|
readonly "--wb-surface": "#1a1917";
|
|
140
|
-
readonly "--wb-surface2": "#
|
|
141
|
-
readonly "--wb-ticket-bg": "#
|
|
141
|
+
readonly "--wb-surface2": "#292723";
|
|
142
|
+
readonly "--wb-ticket-bg": "#2a2722";
|
|
142
143
|
readonly "--wb-border": "#3b3832";
|
|
144
|
+
readonly "--wb-border-strong": "#767064";
|
|
143
145
|
readonly "--wb-veil": "rgba(18, 17, 16, 0.72)";
|
|
144
146
|
readonly "--wb-text": "#f2f0ea";
|
|
145
147
|
readonly "--wb-muted": "#b8b3a7";
|
|
@@ -154,7 +156,7 @@ export declare const POS_DARK_TOKENS: {
|
|
|
154
156
|
readonly "--wb-error-strong": "#f87171";
|
|
155
157
|
readonly "--wb-soldout": "#413115";
|
|
156
158
|
readonly "--wb-soldout-ink": "#fcd34d";
|
|
157
|
-
readonly "--wb-faint": "#
|
|
159
|
+
readonly "--wb-faint": "#a9a59b";
|
|
158
160
|
readonly "--wb-primary-soft": "rgba(242, 240, 234, 0.15)";
|
|
159
161
|
readonly "--wb-ring-soft": "rgba(242, 240, 234, 0.5)";
|
|
160
162
|
readonly "--wb-brand": "#f2f0ea";
|
package/dist/esm/posTokens.js
CHANGED
|
@@ -23,11 +23,17 @@ export const POS_TOKENS = {
|
|
|
23
23
|
"--wb-accent-soft": "rgba(23, 23, 23, 0.06)",
|
|
24
24
|
// White page like the dashboard (owner, 2026-10-21); warm neutrals for
|
|
25
25
|
// surfaces and borders. Ivory stays on the ticket, like paper.
|
|
26
|
+
// Contrast floors (WB-3159, owner 2026-10-26: cheap, bright screens lose the
|
|
27
|
+
// greys), asserted in posTokens.test.ts: surfaces >= 1.25:1 on --wb-bg,
|
|
28
|
+
// dividers >= 1.6:1, control edges >= 3:1 on every surface they sit on.
|
|
26
29
|
"--wb-bg": "#ffffff",
|
|
27
30
|
"--wb-surface": "#ffffff",
|
|
28
|
-
"--wb-surface2": "#
|
|
29
|
-
"--wb-ticket-bg": "#
|
|
30
|
-
|
|
31
|
+
"--wb-surface2": "#e6e4db",
|
|
32
|
+
"--wb-ticket-bg": "#eae5d2",
|
|
33
|
+
// Dividers and hairlines.
|
|
34
|
+
"--wb-border": "#cec9bb",
|
|
35
|
+
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
36
|
+
"--wb-border-strong": "#878172",
|
|
31
37
|
// Translucent ivory veil for overlays (e.g. "Agotado").
|
|
32
38
|
"--wb-veil": "rgba(246, 244, 233, 0.72)",
|
|
33
39
|
"--wb-text": "#000000",
|
|
@@ -47,8 +53,8 @@ export const POS_TOKENS = {
|
|
|
47
53
|
// The «Agotado · vuelve mañana» badge.
|
|
48
54
|
"--wb-soldout": "#fef3c7",
|
|
49
55
|
"--wb-soldout-ink": "#713f12",
|
|
50
|
-
// Placeholder and hint text.
|
|
51
|
-
"--wb-faint": "#
|
|
56
|
+
// Placeholder and hint text (>= 6:1 on bg, surface2 and the ticket).
|
|
57
|
+
"--wb-faint": "#565249",
|
|
52
58
|
"--wb-primary-soft": "rgba(23, 23, 23, 0.15)",
|
|
53
59
|
// The keyboard focus ring (3 px), pos-ui `.focus-ring`. Paper C1.
|
|
54
60
|
"--wb-ring-soft": "rgba(23, 23, 23, 0.5)",
|
|
@@ -114,9 +120,10 @@ export const POS_DARK_TOKENS = {
|
|
|
114
120
|
"--wb-accent-soft": "rgba(242, 240, 234, 0.08)",
|
|
115
121
|
"--wb-bg": "#121110",
|
|
116
122
|
"--wb-surface": "#1a1917",
|
|
117
|
-
"--wb-surface2": "#
|
|
118
|
-
"--wb-ticket-bg": "#
|
|
123
|
+
"--wb-surface2": "#292723",
|
|
124
|
+
"--wb-ticket-bg": "#2a2722",
|
|
119
125
|
"--wb-border": "#3b3832",
|
|
126
|
+
"--wb-border-strong": "#767064",
|
|
120
127
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
|
121
128
|
"--wb-text": "#f2f0ea",
|
|
122
129
|
"--wb-muted": "#b8b3a7",
|
|
@@ -131,7 +138,7 @@ export const POS_DARK_TOKENS = {
|
|
|
131
138
|
"--wb-error-strong": "#f87171",
|
|
132
139
|
"--wb-soldout": "#413115",
|
|
133
140
|
"--wb-soldout-ink": "#fcd34d",
|
|
134
|
-
"--wb-faint": "#
|
|
141
|
+
"--wb-faint": "#a9a59b",
|
|
135
142
|
"--wb-primary-soft": "rgba(242, 240, 234, 0.15)",
|
|
136
143
|
"--wb-ring-soft": "rgba(242, 240, 234, 0.5)",
|
|
137
144
|
"--wb-brand": "#f2f0ea",
|
package/dist/esm/runnerCss.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RUNNER_CSS = "\n.wb-runner{--wb-runner-step-default:0.32s}\n.wb-runner-pants{fill:var(--wb-runner-pants,Canvas)}\n.wb-runner-bob{animation:wb-runner-bob var(--wb-runner-step,var(--wb-runner-step-default)) ease-in-out infinite}\n.wb-runner-hip-front{animation:wb-runner-hip-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-hip-back{animation:wb-runner-hip-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-swing-front{animation:wb-runner-swing-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-swing-back{animation:wb-runner-swing-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}
|
|
1
|
+
export declare const RUNNER_CSS = "\n.wb-runner{--wb-runner-step-default:0.32s}\n.wb-runner-pants{fill:var(--wb-runner-pants,Canvas)}\n.wb-runner-bob{animation:wb-runner-bob var(--wb-runner-step,var(--wb-runner-step-default)) ease-in-out infinite}\n.wb-runner-hip-front{animation:wb-runner-hip-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-hip-back{animation:wb-runner-hip-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-swing-front{animation:wb-runner-swing-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n.wb-runner-swing-back{animation:wb-runner-swing-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}\n@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,740px)}50%{animation-timing-function:ease-in;transform:translate(790px,795px)}}\n@keyframes wb-runner-hip-back{0%,100%{animation-timing-function:ease-in;transform:translate(800px,810px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,795px)}50%{animation-timing-function:ease-in;transform:translate(710px,785px)}}\n@keyframes wb-runner-swing-front{0%,100%{animation-timing-function:ease-in;transform:rotate(16deg) scale(1,1)}17%,83%{animation-timing-function:ease-out;transform:rotate(-36deg) scale(1,.82)}50%{animation-timing-function:ease-in;transform:rotate(-128deg) scale(.85,.85)}}\n@keyframes wb-runner-swing-back{0%,100%{animation-timing-function:ease-in;transform:rotate(-23deg)}17%,83%{animation-timing-function:ease-out;transform:rotate(39deg)}50%{animation-timing-function:ease-in;transform:rotate(170deg)}}\n@keyframes wb-runner-bob{0%,100%{transform:translateY(-14px)}50%{transform:translateY(6px)}}\n@media (prefers-reduced-motion:reduce){\n.wb-runner *{animation:none!important}\n.wb-runner-hip-front{transform:translate(700px,780px)}\n.wb-runner-hip-back{transform:translate(800px,810px)}\n.wb-runner-swing-front{transform:rotate(16deg)}\n.wb-runner-swing-back{transform:rotate(-23deg)}\n}";
|
package/dist/esm/runnerCss.js
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* RunnerLoader cycle, shipped inside the SVG as a <style> element so apps need
|
|
3
3
|
* no CSS import. One step = --wb-runner-step; a full stride is two steps.
|
|
4
4
|
* Each leg keeps its own drawing and swings through the other: they meet under
|
|
5
|
-
* the body at
|
|
6
|
-
* Swing from
|
|
5
|
+
* the body at 17% / 83%, overlap, then separate. Rotations are about each hip.
|
|
6
|
+
* Swing from the crossing pose: front leg 52° forward / 92° back, back leg 62° / 131°.
|
|
7
|
+
* The ends are tuned by eye: the bent leg reaches far forward, the straight leg far back.
|
|
7
8
|
* Every instance repeats the same rules; the duplicates are identical.
|
|
8
9
|
*/
|
|
9
10
|
export const RUNNER_CSS = `
|
|
@@ -14,15 +15,15 @@ export const RUNNER_CSS = `
|
|
|
14
15
|
.wb-runner-hip-back{animation:wb-runner-hip-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
15
16
|
.wb-runner-swing-front{animation:wb-runner-swing-front calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
16
17
|
.wb-runner-swing-back{animation:wb-runner-swing-back calc(var(--wb-runner-step,var(--wb-runner-step-default)) * 2) linear infinite}
|
|
17
|
-
@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}
|
|
18
|
-
@keyframes wb-runner-hip-back{0%,100%{animation-timing-function:ease-in;transform:translate(800px,810px)}
|
|
19
|
-
@keyframes wb-runner-swing-front{0%,100%{animation-timing-function:ease-in;transform:rotate(
|
|
20
|
-
@keyframes wb-runner-swing-back{0%,100%{animation-timing-function:ease-in;transform:rotate(-
|
|
18
|
+
@keyframes wb-runner-hip-front{0%,100%{animation-timing-function:ease-in;transform:translate(700px,780px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,740px)}50%{animation-timing-function:ease-in;transform:translate(790px,795px)}}
|
|
19
|
+
@keyframes wb-runner-hip-back{0%,100%{animation-timing-function:ease-in;transform:translate(800px,810px)}17%,83%{animation-timing-function:ease-out;transform:translate(750px,795px)}50%{animation-timing-function:ease-in;transform:translate(710px,785px)}}
|
|
20
|
+
@keyframes wb-runner-swing-front{0%,100%{animation-timing-function:ease-in;transform:rotate(16deg) scale(1,1)}17%,83%{animation-timing-function:ease-out;transform:rotate(-36deg) scale(1,.82)}50%{animation-timing-function:ease-in;transform:rotate(-128deg) scale(.85,.85)}}
|
|
21
|
+
@keyframes wb-runner-swing-back{0%,100%{animation-timing-function:ease-in;transform:rotate(-23deg)}17%,83%{animation-timing-function:ease-out;transform:rotate(39deg)}50%{animation-timing-function:ease-in;transform:rotate(170deg)}}
|
|
21
22
|
@keyframes wb-runner-bob{0%,100%{transform:translateY(-14px)}50%{transform:translateY(6px)}}
|
|
22
23
|
@media (prefers-reduced-motion:reduce){
|
|
23
24
|
.wb-runner *{animation:none!important}
|
|
24
25
|
.wb-runner-hip-front{transform:translate(700px,780px)}
|
|
25
26
|
.wb-runner-hip-back{transform:translate(800px,810px)}
|
|
26
|
-
.wb-runner-swing-front{transform:rotate(
|
|
27
|
-
.wb-runner-swing-back{transform:rotate(-
|
|
27
|
+
.wb-runner-swing-front{transform:rotate(16deg)}
|
|
28
|
+
.wb-runner-swing-back{transform:rotate(-23deg)}
|
|
28
29
|
}`;
|
package/dist/pos-tokens.css
CHANGED
|
@@ -7,9 +7,10 @@
|
|
|
7
7
|
--wb-accent-soft: rgba(23, 23, 23, 0.06);
|
|
8
8
|
--wb-bg: #ffffff;
|
|
9
9
|
--wb-surface: #ffffff;
|
|
10
|
-
--wb-surface2: #
|
|
11
|
-
--wb-ticket-bg: #
|
|
12
|
-
--wb-border: #
|
|
10
|
+
--wb-surface2: #e6e4db;
|
|
11
|
+
--wb-ticket-bg: #eae5d2;
|
|
12
|
+
--wb-border: #cec9bb;
|
|
13
|
+
--wb-border-strong: #878172;
|
|
13
14
|
--wb-veil: rgba(246, 244, 233, 0.72);
|
|
14
15
|
--wb-text: #000000;
|
|
15
16
|
--wb-muted: #404040;
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
--wb-error-strong: #b91c1c;
|
|
25
26
|
--wb-soldout: #fef3c7;
|
|
26
27
|
--wb-soldout-ink: #713f12;
|
|
27
|
-
--wb-faint: #
|
|
28
|
+
--wb-faint: #565249;
|
|
28
29
|
--wb-primary-soft: rgba(23, 23, 23, 0.15);
|
|
29
30
|
--wb-ring-soft: rgba(23, 23, 23, 0.5);
|
|
30
31
|
--wb-on-media: #ffffff;
|
|
@@ -93,9 +94,10 @@
|
|
|
93
94
|
--wb-accent-soft: rgba(242, 240, 234, 0.08);
|
|
94
95
|
--wb-bg: #121110;
|
|
95
96
|
--wb-surface: #1a1917;
|
|
96
|
-
--wb-surface2: #
|
|
97
|
-
--wb-ticket-bg: #
|
|
97
|
+
--wb-surface2: #292723;
|
|
98
|
+
--wb-ticket-bg: #2a2722;
|
|
98
99
|
--wb-border: #3b3832;
|
|
100
|
+
--wb-border-strong: #767064;
|
|
99
101
|
--wb-veil: rgba(18, 17, 16, 0.72);
|
|
100
102
|
--wb-text: #f2f0ea;
|
|
101
103
|
--wb-muted: #b8b3a7;
|
|
@@ -110,7 +112,7 @@
|
|
|
110
112
|
--wb-error-strong: #f87171;
|
|
111
113
|
--wb-soldout: #413115;
|
|
112
114
|
--wb-soldout-ink: #fcd34d;
|
|
113
|
-
--wb-faint: #
|
|
115
|
+
--wb-faint: #a9a59b;
|
|
114
116
|
--wb-primary-soft: rgba(242, 240, 234, 0.15);
|
|
115
117
|
--wb-ring-soft: rgba(242, 240, 234, 0.5);
|
|
116
118
|
--wb-brand: #f2f0ea;
|