@welcome-back/brand 0.8.0 → 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/dist/cjs/posTokens.js +15 -8
- package/dist/esm/posTokens.d.ts +9 -7
- package/dist/esm/posTokens.js +15 -8
- package/dist/pos-tokens.css +9 -7
- package/package.json +1 -1
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/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/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;
|