@welcome-back/brand 0.8.0 → 0.10.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 +23 -8
- package/dist/esm/posTokens.d.ts +11 -7
- package/dist/esm/posTokens.js +23 -8
- package/dist/pos-tokens.css +11 -7
- package/package.json +1 -1
package/dist/cjs/posTokens.js
CHANGED
|
@@ -28,11 +28,23 @@ 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
|
+
// The work area (WB-3292, owner 2026-10-26): a faint warm tint behind the
|
|
39
|
+
// product grid, Mesas and Ventas, so the white frame (nav, categories,
|
|
40
|
+
// order panel, bars, sheets) reads as a different layer. ~1.10:1 on
|
|
41
|
+
// --wb-bg, lighter than --wb-surface2. Edges and hint text keep their
|
|
42
|
+
// floors on it (posTokens.test.ts).
|
|
43
|
+
"--wb-canvas": "#f6f4ed",
|
|
44
|
+
// Dividers and hairlines.
|
|
45
|
+
"--wb-border": "#cec9bb",
|
|
46
|
+
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
47
|
+
"--wb-border-strong": "#878172",
|
|
36
48
|
// Translucent ivory veil for overlays (e.g. "Agotado").
|
|
37
49
|
"--wb-veil": "rgba(246, 244, 233, 0.72)",
|
|
38
50
|
"--wb-text": "#000000",
|
|
@@ -52,8 +64,8 @@ exports.POS_TOKENS = {
|
|
|
52
64
|
// The «Agotado · vuelve mañana» badge.
|
|
53
65
|
"--wb-soldout": "#fef3c7",
|
|
54
66
|
"--wb-soldout-ink": "#713f12",
|
|
55
|
-
// Placeholder and hint text.
|
|
56
|
-
"--wb-faint": "#
|
|
67
|
+
// Placeholder and hint text (>= 6:1 on bg, surface2 and the ticket).
|
|
68
|
+
"--wb-faint": "#565249",
|
|
57
69
|
"--wb-primary-soft": "rgba(23, 23, 23, 0.15)",
|
|
58
70
|
// The keyboard focus ring (3 px), pos-ui `.focus-ring`. Paper C1.
|
|
59
71
|
"--wb-ring-soft": "rgba(23, 23, 23, 0.5)",
|
|
@@ -119,9 +131,12 @@ exports.POS_DARK_TOKENS = {
|
|
|
119
131
|
"--wb-accent-soft": "rgba(242, 240, 234, 0.08)",
|
|
120
132
|
"--wb-bg": "#121110",
|
|
121
133
|
"--wb-surface": "#1a1917",
|
|
122
|
-
"--wb-surface2": "#
|
|
123
|
-
"--wb-ticket-bg": "#
|
|
134
|
+
"--wb-surface2": "#292723",
|
|
135
|
+
"--wb-ticket-bg": "#2a2722",
|
|
136
|
+
// Slightly darker than the panels: the work area recedes in dark too.
|
|
137
|
+
"--wb-canvas": "#0a0908",
|
|
124
138
|
"--wb-border": "#3b3832",
|
|
139
|
+
"--wb-border-strong": "#767064",
|
|
125
140
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
|
126
141
|
"--wb-text": "#f2f0ea",
|
|
127
142
|
"--wb-muted": "#b8b3a7",
|
|
@@ -136,7 +151,7 @@ exports.POS_DARK_TOKENS = {
|
|
|
136
151
|
"--wb-error-strong": "#f87171",
|
|
137
152
|
"--wb-soldout": "#413115",
|
|
138
153
|
"--wb-soldout-ink": "#fcd34d",
|
|
139
|
-
"--wb-faint": "#
|
|
154
|
+
"--wb-faint": "#a9a59b",
|
|
140
155
|
"--wb-primary-soft": "rgba(242, 240, 234, 0.15)",
|
|
141
156
|
"--wb-ring-soft": "rgba(242, 240, 234, 0.5)",
|
|
142
157
|
"--wb-brand": "#f2f0ea",
|
package/dist/esm/posTokens.d.ts
CHANGED
|
@@ -38,9 +38,11 @@ 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-
|
|
41
|
+
readonly "--wb-surface2": "#e6e4db";
|
|
42
|
+
readonly "--wb-ticket-bg": "#eae5d2";
|
|
43
|
+
readonly "--wb-canvas": "#f6f4ed";
|
|
44
|
+
readonly "--wb-border": "#cec9bb";
|
|
45
|
+
readonly "--wb-border-strong": "#878172";
|
|
44
46
|
readonly "--wb-veil": "rgba(246, 244, 233, 0.72)";
|
|
45
47
|
readonly "--wb-text": "#000000";
|
|
46
48
|
readonly "--wb-muted": "#404040";
|
|
@@ -55,7 +57,7 @@ export declare const POS_TOKENS: {
|
|
|
55
57
|
readonly "--wb-error-strong": "#b91c1c";
|
|
56
58
|
readonly "--wb-soldout": "#fef3c7";
|
|
57
59
|
readonly "--wb-soldout-ink": "#713f12";
|
|
58
|
-
readonly "--wb-faint": "#
|
|
60
|
+
readonly "--wb-faint": "#565249";
|
|
59
61
|
readonly "--wb-primary-soft": "rgba(23, 23, 23, 0.15)";
|
|
60
62
|
readonly "--wb-ring-soft": "rgba(23, 23, 23, 0.5)";
|
|
61
63
|
readonly "--wb-on-media": "#ffffff";
|
|
@@ -137,9 +139,11 @@ export declare const POS_DARK_TOKENS: {
|
|
|
137
139
|
readonly "--wb-accent-soft": "rgba(242, 240, 234, 0.08)";
|
|
138
140
|
readonly "--wb-bg": "#121110";
|
|
139
141
|
readonly "--wb-surface": "#1a1917";
|
|
140
|
-
readonly "--wb-surface2": "#
|
|
141
|
-
readonly "--wb-ticket-bg": "#
|
|
142
|
+
readonly "--wb-surface2": "#292723";
|
|
143
|
+
readonly "--wb-ticket-bg": "#2a2722";
|
|
144
|
+
readonly "--wb-canvas": "#0a0908";
|
|
142
145
|
readonly "--wb-border": "#3b3832";
|
|
146
|
+
readonly "--wb-border-strong": "#767064";
|
|
143
147
|
readonly "--wb-veil": "rgba(18, 17, 16, 0.72)";
|
|
144
148
|
readonly "--wb-text": "#f2f0ea";
|
|
145
149
|
readonly "--wb-muted": "#b8b3a7";
|
|
@@ -154,7 +158,7 @@ export declare const POS_DARK_TOKENS: {
|
|
|
154
158
|
readonly "--wb-error-strong": "#f87171";
|
|
155
159
|
readonly "--wb-soldout": "#413115";
|
|
156
160
|
readonly "--wb-soldout-ink": "#fcd34d";
|
|
157
|
-
readonly "--wb-faint": "#
|
|
161
|
+
readonly "--wb-faint": "#a9a59b";
|
|
158
162
|
readonly "--wb-primary-soft": "rgba(242, 240, 234, 0.15)";
|
|
159
163
|
readonly "--wb-ring-soft": "rgba(242, 240, 234, 0.5)";
|
|
160
164
|
readonly "--wb-brand": "#f2f0ea";
|
package/dist/esm/posTokens.js
CHANGED
|
@@ -23,11 +23,23 @@ 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
|
+
// The work area (WB-3292, owner 2026-10-26): a faint warm tint behind the
|
|
34
|
+
// product grid, Mesas and Ventas, so the white frame (nav, categories,
|
|
35
|
+
// order panel, bars, sheets) reads as a different layer. ~1.10:1 on
|
|
36
|
+
// --wb-bg, lighter than --wb-surface2. Edges and hint text keep their
|
|
37
|
+
// floors on it (posTokens.test.ts).
|
|
38
|
+
"--wb-canvas": "#f6f4ed",
|
|
39
|
+
// Dividers and hairlines.
|
|
40
|
+
"--wb-border": "#cec9bb",
|
|
41
|
+
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
42
|
+
"--wb-border-strong": "#878172",
|
|
31
43
|
// Translucent ivory veil for overlays (e.g. "Agotado").
|
|
32
44
|
"--wb-veil": "rgba(246, 244, 233, 0.72)",
|
|
33
45
|
"--wb-text": "#000000",
|
|
@@ -47,8 +59,8 @@ export const POS_TOKENS = {
|
|
|
47
59
|
// The «Agotado · vuelve mañana» badge.
|
|
48
60
|
"--wb-soldout": "#fef3c7",
|
|
49
61
|
"--wb-soldout-ink": "#713f12",
|
|
50
|
-
// Placeholder and hint text.
|
|
51
|
-
"--wb-faint": "#
|
|
62
|
+
// Placeholder and hint text (>= 6:1 on bg, surface2 and the ticket).
|
|
63
|
+
"--wb-faint": "#565249",
|
|
52
64
|
"--wb-primary-soft": "rgba(23, 23, 23, 0.15)",
|
|
53
65
|
// The keyboard focus ring (3 px), pos-ui `.focus-ring`. Paper C1.
|
|
54
66
|
"--wb-ring-soft": "rgba(23, 23, 23, 0.5)",
|
|
@@ -114,9 +126,12 @@ export const POS_DARK_TOKENS = {
|
|
|
114
126
|
"--wb-accent-soft": "rgba(242, 240, 234, 0.08)",
|
|
115
127
|
"--wb-bg": "#121110",
|
|
116
128
|
"--wb-surface": "#1a1917",
|
|
117
|
-
"--wb-surface2": "#
|
|
118
|
-
"--wb-ticket-bg": "#
|
|
129
|
+
"--wb-surface2": "#292723",
|
|
130
|
+
"--wb-ticket-bg": "#2a2722",
|
|
131
|
+
// Slightly darker than the panels: the work area recedes in dark too.
|
|
132
|
+
"--wb-canvas": "#0a0908",
|
|
119
133
|
"--wb-border": "#3b3832",
|
|
134
|
+
"--wb-border-strong": "#767064",
|
|
120
135
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
|
121
136
|
"--wb-text": "#f2f0ea",
|
|
122
137
|
"--wb-muted": "#b8b3a7",
|
|
@@ -131,7 +146,7 @@ export const POS_DARK_TOKENS = {
|
|
|
131
146
|
"--wb-error-strong": "#f87171",
|
|
132
147
|
"--wb-soldout": "#413115",
|
|
133
148
|
"--wb-soldout-ink": "#fcd34d",
|
|
134
|
-
"--wb-faint": "#
|
|
149
|
+
"--wb-faint": "#a9a59b",
|
|
135
150
|
"--wb-primary-soft": "rgba(242, 240, 234, 0.15)",
|
|
136
151
|
"--wb-ring-soft": "rgba(242, 240, 234, 0.5)",
|
|
137
152
|
"--wb-brand": "#f2f0ea",
|
package/dist/pos-tokens.css
CHANGED
|
@@ -7,9 +7,11 @@
|
|
|
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-
|
|
10
|
+
--wb-surface2: #e6e4db;
|
|
11
|
+
--wb-ticket-bg: #eae5d2;
|
|
12
|
+
--wb-canvas: #f6f4ed;
|
|
13
|
+
--wb-border: #cec9bb;
|
|
14
|
+
--wb-border-strong: #878172;
|
|
13
15
|
--wb-veil: rgba(246, 244, 233, 0.72);
|
|
14
16
|
--wb-text: #000000;
|
|
15
17
|
--wb-muted: #404040;
|
|
@@ -24,7 +26,7 @@
|
|
|
24
26
|
--wb-error-strong: #b91c1c;
|
|
25
27
|
--wb-soldout: #fef3c7;
|
|
26
28
|
--wb-soldout-ink: #713f12;
|
|
27
|
-
--wb-faint: #
|
|
29
|
+
--wb-faint: #565249;
|
|
28
30
|
--wb-primary-soft: rgba(23, 23, 23, 0.15);
|
|
29
31
|
--wb-ring-soft: rgba(23, 23, 23, 0.5);
|
|
30
32
|
--wb-on-media: #ffffff;
|
|
@@ -93,9 +95,11 @@
|
|
|
93
95
|
--wb-accent-soft: rgba(242, 240, 234, 0.08);
|
|
94
96
|
--wb-bg: #121110;
|
|
95
97
|
--wb-surface: #1a1917;
|
|
96
|
-
--wb-surface2: #
|
|
97
|
-
--wb-ticket-bg: #
|
|
98
|
+
--wb-surface2: #292723;
|
|
99
|
+
--wb-ticket-bg: #2a2722;
|
|
100
|
+
--wb-canvas: #0a0908;
|
|
98
101
|
--wb-border: #3b3832;
|
|
102
|
+
--wb-border-strong: #767064;
|
|
99
103
|
--wb-veil: rgba(18, 17, 16, 0.72);
|
|
100
104
|
--wb-text: #f2f0ea;
|
|
101
105
|
--wb-muted: #b8b3a7;
|
|
@@ -110,7 +114,7 @@
|
|
|
110
114
|
--wb-error-strong: #f87171;
|
|
111
115
|
--wb-soldout: #413115;
|
|
112
116
|
--wb-soldout-ink: #fcd34d;
|
|
113
|
-
--wb-faint: #
|
|
117
|
+
--wb-faint: #a9a59b;
|
|
114
118
|
--wb-primary-soft: rgba(242, 240, 234, 0.15);
|
|
115
119
|
--wb-ring-soft: rgba(242, 240, 234, 0.5);
|
|
116
120
|
--wb-brand: #f2f0ea;
|