@welcome-back/brand 0.10.0 → 0.10.2
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/categoryPalette.js +8 -8
- package/dist/cjs/posTokens.js +8 -6
- package/dist/esm/categoryPalette.d.ts +13 -8
- package/dist/esm/categoryPalette.js +8 -8
- package/dist/esm/posTokens.d.ts +2 -2
- package/dist/esm/posTokens.js +8 -6
- package/dist/pos-tokens.css +10 -10
- package/package.json +1 -1
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CATEGORY_PALETTE_DARK_TOKENS = exports.CATEGORY_PALETTE_TOKENS = exports.DEFAULT_CATEGORY_SLOT = exports.CATEGORY_PALETTE_DARK = exports.CATEGORY_PALETTE = void 0;
|
|
4
4
|
exports.categorySlotForIndex = categorySlotForIndex;
|
|
5
5
|
exports.CATEGORY_PALETTE = [
|
|
6
|
-
{ name: "Dorado", swatch: "#a07c2b", tint: "#
|
|
7
|
-
{ name: "Azul mar", swatch: "#1f81a6", tint: "#
|
|
8
|
-
{ name: "Terracota", swatch: "#b55a3c", tint: "#
|
|
9
|
-
{ name: "Verde", swatch: "#458d5c", tint: "#
|
|
10
|
-
{ name: "Ciruela", swatch: "#9c5389", tint: "#
|
|
11
|
-
{ name: "Azul", swatch: "#3f6fb5", tint: "#
|
|
12
|
-
{ name: "Pizarra", swatch: "#5e7a80", tint: "#
|
|
13
|
-
{ name: "Piedra", swatch: "#8a7f6e", tint: "#
|
|
6
|
+
{ name: "Dorado", swatch: "#a07c2b", tint: "#e5dbc6", slot: "#eae2d0", ink: "#785d20" },
|
|
7
|
+
{ name: "Azul mar", swatch: "#1f81a6", tint: "#c7e0e9", slot: "#cee3eb", ink: "#17617c" },
|
|
8
|
+
{ name: "Terracota", swatch: "#b55a3c", tint: "#edd7d0", slot: "#efdbd4", ink: "#88442d" },
|
|
9
|
+
{ name: "Verde", swatch: "#458d5c", tint: "#cde0d3", slot: "#d6e6db", ink: "#346a45" },
|
|
10
|
+
{ name: "Ciruela", swatch: "#9c5389", tint: "#e8d7e4", slot: "#e9d9e5", ink: "#753e67" },
|
|
11
|
+
{ name: "Azul", swatch: "#3f6fb5", tint: "#d1dded", slot: "#d5dfef", ink: "#2f5388" },
|
|
12
|
+
{ name: "Pizarra", swatch: "#5e7a80", tint: "#d6dddf", slot: "#dce2e3", ink: "#465c60" },
|
|
13
|
+
{ name: "Piedra", swatch: "#8a7f6e", tint: "#dedbd7", slot: "#e5e3df", ink: "#685f52" },
|
|
14
14
|
];
|
|
15
15
|
/**
|
|
16
16
|
* The same 8 colours for the dark look (F4 A «Warm night», owner 2026-10-21),
|
package/dist/cjs/posTokens.js
CHANGED
|
@@ -37,11 +37,13 @@ exports.POS_TOKENS = {
|
|
|
37
37
|
"--wb-ticket-bg": "#eae5d2",
|
|
38
38
|
// The work area (WB-3292, owner 2026-10-26): a faint warm tint behind the
|
|
39
39
|
// product grid, Mesas and Ventas, so the white frame (nav, categories,
|
|
40
|
-
// order panel, bars, sheets) reads as a different layer. ~1.
|
|
41
|
-
// --wb-bg
|
|
42
|
-
// floors on it
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
// order panel, bars, sheets) reads as a different layer. ~1.19:1 on
|
|
41
|
+
// --wb-bg (owner 2026-10-26: stronger, close to the old beige), lighter
|
|
42
|
+
// than --wb-surface2. Edges and hint text keep their floors on it
|
|
43
|
+
// (posTokens.test.ts).
|
|
44
|
+
"--wb-canvas": "#eeebdf",
|
|
45
|
+
// Dividers and hairlines. Also the loading skeleton bars: they must read on
|
|
46
|
+
// the canvas too, where --wb-surface2 is only ~1.07:1 (WB-3292).
|
|
45
47
|
"--wb-border": "#cec9bb",
|
|
46
48
|
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
47
49
|
"--wb-border-strong": "#878172",
|
|
@@ -134,7 +136,7 @@ exports.POS_DARK_TOKENS = {
|
|
|
134
136
|
"--wb-surface2": "#292723",
|
|
135
137
|
"--wb-ticket-bg": "#2a2722",
|
|
136
138
|
// Slightly darker than the panels: the work area recedes in dark too.
|
|
137
|
-
"--wb-canvas": "#
|
|
139
|
+
"--wb-canvas": "#070605",
|
|
138
140
|
"--wb-border": "#3b3832",
|
|
139
141
|
"--wb-border-strong": "#767064",
|
|
140
142
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
|
@@ -8,6 +8,11 @@
|
|
|
8
8
|
* Each colour has four values: swatch (the dot), tint (tile background),
|
|
9
9
|
* slot (photo slot without a photo) and ink (the initials on the slot).
|
|
10
10
|
* Text on a tint is always the foreground (#000) and muted (#404040).
|
|
11
|
+
*
|
|
12
|
+
* The phone tile puts the tint on the work-area canvas (--wb-canvas #eeebdf,
|
|
13
|
+
* WB-3292): each tint is the swatch mixed into white just far enough to reach
|
|
14
|
+
* >= 1.15:1 on the canvas (23–28 %), so all eight sit at the same lightness
|
|
15
|
+
* step and none shouts. No edge on the tile: the colour itself separates it.
|
|
11
16
|
*/
|
|
12
17
|
export interface CategoryColour {
|
|
13
18
|
readonly name: string;
|
|
@@ -19,49 +24,49 @@ export interface CategoryColour {
|
|
|
19
24
|
export declare const CATEGORY_PALETTE: readonly [{
|
|
20
25
|
readonly name: "Dorado";
|
|
21
26
|
readonly swatch: "#a07c2b";
|
|
22
|
-
readonly tint: "#
|
|
27
|
+
readonly tint: "#e5dbc6";
|
|
23
28
|
readonly slot: "#eae2d0";
|
|
24
29
|
readonly ink: "#785d20";
|
|
25
30
|
}, {
|
|
26
31
|
readonly name: "Azul mar";
|
|
27
32
|
readonly swatch: "#1f81a6";
|
|
28
|
-
readonly tint: "#
|
|
33
|
+
readonly tint: "#c7e0e9";
|
|
29
34
|
readonly slot: "#cee3eb";
|
|
30
35
|
readonly ink: "#17617c";
|
|
31
36
|
}, {
|
|
32
37
|
readonly name: "Terracota";
|
|
33
38
|
readonly swatch: "#b55a3c";
|
|
34
|
-
readonly tint: "#
|
|
39
|
+
readonly tint: "#edd7d0";
|
|
35
40
|
readonly slot: "#efdbd4";
|
|
36
41
|
readonly ink: "#88442d";
|
|
37
42
|
}, {
|
|
38
43
|
readonly name: "Verde";
|
|
39
44
|
readonly swatch: "#458d5c";
|
|
40
|
-
readonly tint: "#
|
|
45
|
+
readonly tint: "#cde0d3";
|
|
41
46
|
readonly slot: "#d6e6db";
|
|
42
47
|
readonly ink: "#346a45";
|
|
43
48
|
}, {
|
|
44
49
|
readonly name: "Ciruela";
|
|
45
50
|
readonly swatch: "#9c5389";
|
|
46
|
-
readonly tint: "#
|
|
51
|
+
readonly tint: "#e8d7e4";
|
|
47
52
|
readonly slot: "#e9d9e5";
|
|
48
53
|
readonly ink: "#753e67";
|
|
49
54
|
}, {
|
|
50
55
|
readonly name: "Azul";
|
|
51
56
|
readonly swatch: "#3f6fb5";
|
|
52
|
-
readonly tint: "#
|
|
57
|
+
readonly tint: "#d1dded";
|
|
53
58
|
readonly slot: "#d5dfef";
|
|
54
59
|
readonly ink: "#2f5388";
|
|
55
60
|
}, {
|
|
56
61
|
readonly name: "Pizarra";
|
|
57
62
|
readonly swatch: "#5e7a80";
|
|
58
|
-
readonly tint: "#
|
|
63
|
+
readonly tint: "#d6dddf";
|
|
59
64
|
readonly slot: "#dce2e3";
|
|
60
65
|
readonly ink: "#465c60";
|
|
61
66
|
}, {
|
|
62
67
|
readonly name: "Piedra";
|
|
63
68
|
readonly swatch: "#8a7f6e";
|
|
64
|
-
readonly tint: "#
|
|
69
|
+
readonly tint: "#dedbd7";
|
|
65
70
|
readonly slot: "#e5e3df";
|
|
66
71
|
readonly ink: "#685f52";
|
|
67
72
|
}];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export const CATEGORY_PALETTE = [
|
|
2
|
-
{ name: "Dorado", swatch: "#a07c2b", tint: "#
|
|
3
|
-
{ name: "Azul mar", swatch: "#1f81a6", tint: "#
|
|
4
|
-
{ name: "Terracota", swatch: "#b55a3c", tint: "#
|
|
5
|
-
{ name: "Verde", swatch: "#458d5c", tint: "#
|
|
6
|
-
{ name: "Ciruela", swatch: "#9c5389", tint: "#
|
|
7
|
-
{ name: "Azul", swatch: "#3f6fb5", tint: "#
|
|
8
|
-
{ name: "Pizarra", swatch: "#5e7a80", tint: "#
|
|
9
|
-
{ name: "Piedra", swatch: "#8a7f6e", tint: "#
|
|
2
|
+
{ name: "Dorado", swatch: "#a07c2b", tint: "#e5dbc6", slot: "#eae2d0", ink: "#785d20" },
|
|
3
|
+
{ name: "Azul mar", swatch: "#1f81a6", tint: "#c7e0e9", slot: "#cee3eb", ink: "#17617c" },
|
|
4
|
+
{ name: "Terracota", swatch: "#b55a3c", tint: "#edd7d0", slot: "#efdbd4", ink: "#88442d" },
|
|
5
|
+
{ name: "Verde", swatch: "#458d5c", tint: "#cde0d3", slot: "#d6e6db", ink: "#346a45" },
|
|
6
|
+
{ name: "Ciruela", swatch: "#9c5389", tint: "#e8d7e4", slot: "#e9d9e5", ink: "#753e67" },
|
|
7
|
+
{ name: "Azul", swatch: "#3f6fb5", tint: "#d1dded", slot: "#d5dfef", ink: "#2f5388" },
|
|
8
|
+
{ name: "Pizarra", swatch: "#5e7a80", tint: "#d6dddf", slot: "#dce2e3", ink: "#465c60" },
|
|
9
|
+
{ name: "Piedra", swatch: "#8a7f6e", tint: "#dedbd7", slot: "#e5e3df", ink: "#685f52" },
|
|
10
10
|
];
|
|
11
11
|
/**
|
|
12
12
|
* The same 8 colours for the dark look (F4 A «Warm night», owner 2026-10-21),
|
package/dist/esm/posTokens.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ export declare const POS_TOKENS: {
|
|
|
40
40
|
readonly "--wb-surface": "#ffffff";
|
|
41
41
|
readonly "--wb-surface2": "#e6e4db";
|
|
42
42
|
readonly "--wb-ticket-bg": "#eae5d2";
|
|
43
|
-
readonly "--wb-canvas": "#
|
|
43
|
+
readonly "--wb-canvas": "#eeebdf";
|
|
44
44
|
readonly "--wb-border": "#cec9bb";
|
|
45
45
|
readonly "--wb-border-strong": "#878172";
|
|
46
46
|
readonly "--wb-veil": "rgba(246, 244, 233, 0.72)";
|
|
@@ -141,7 +141,7 @@ export declare const POS_DARK_TOKENS: {
|
|
|
141
141
|
readonly "--wb-surface": "#1a1917";
|
|
142
142
|
readonly "--wb-surface2": "#292723";
|
|
143
143
|
readonly "--wb-ticket-bg": "#2a2722";
|
|
144
|
-
readonly "--wb-canvas": "#
|
|
144
|
+
readonly "--wb-canvas": "#070605";
|
|
145
145
|
readonly "--wb-border": "#3b3832";
|
|
146
146
|
readonly "--wb-border-strong": "#767064";
|
|
147
147
|
readonly "--wb-veil": "rgba(18, 17, 16, 0.72)";
|
package/dist/esm/posTokens.js
CHANGED
|
@@ -32,11 +32,13 @@ export const POS_TOKENS = {
|
|
|
32
32
|
"--wb-ticket-bg": "#eae5d2",
|
|
33
33
|
// The work area (WB-3292, owner 2026-10-26): a faint warm tint behind the
|
|
34
34
|
// product grid, Mesas and Ventas, so the white frame (nav, categories,
|
|
35
|
-
// order panel, bars, sheets) reads as a different layer. ~1.
|
|
36
|
-
// --wb-bg
|
|
37
|
-
// floors on it
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
// order panel, bars, sheets) reads as a different layer. ~1.19:1 on
|
|
36
|
+
// --wb-bg (owner 2026-10-26: stronger, close to the old beige), lighter
|
|
37
|
+
// than --wb-surface2. Edges and hint text keep their floors on it
|
|
38
|
+
// (posTokens.test.ts).
|
|
39
|
+
"--wb-canvas": "#eeebdf",
|
|
40
|
+
// Dividers and hairlines. Also the loading skeleton bars: they must read on
|
|
41
|
+
// the canvas too, where --wb-surface2 is only ~1.07:1 (WB-3292).
|
|
40
42
|
"--wb-border": "#cec9bb",
|
|
41
43
|
// Control edges: buttons, fields, selectable cards, segmented control.
|
|
42
44
|
"--wb-border-strong": "#878172",
|
|
@@ -129,7 +131,7 @@ export const POS_DARK_TOKENS = {
|
|
|
129
131
|
"--wb-surface2": "#292723",
|
|
130
132
|
"--wb-ticket-bg": "#2a2722",
|
|
131
133
|
// Slightly darker than the panels: the work area recedes in dark too.
|
|
132
|
-
"--wb-canvas": "#
|
|
134
|
+
"--wb-canvas": "#070605",
|
|
133
135
|
"--wb-border": "#3b3832",
|
|
134
136
|
"--wb-border-strong": "#767064",
|
|
135
137
|
"--wb-veil": "rgba(18, 17, 16, 0.72)",
|
package/dist/pos-tokens.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--wb-surface: #ffffff;
|
|
10
10
|
--wb-surface2: #e6e4db;
|
|
11
11
|
--wb-ticket-bg: #eae5d2;
|
|
12
|
-
--wb-canvas: #
|
|
12
|
+
--wb-canvas: #eeebdf;
|
|
13
13
|
--wb-border: #cec9bb;
|
|
14
14
|
--wb-border-strong: #878172;
|
|
15
15
|
--wb-veil: rgba(246, 244, 233, 0.72);
|
|
@@ -55,35 +55,35 @@
|
|
|
55
55
|
--wb-text-key: 26px;
|
|
56
56
|
--wb-font: 'Inter';
|
|
57
57
|
--wb-cat-1: #a07c2b;
|
|
58
|
-
--wb-cat-1-tint: #
|
|
58
|
+
--wb-cat-1-tint: #e5dbc6;
|
|
59
59
|
--wb-cat-1-slot: #eae2d0;
|
|
60
60
|
--wb-cat-1-ink: #785d20;
|
|
61
61
|
--wb-cat-2: #1f81a6;
|
|
62
|
-
--wb-cat-2-tint: #
|
|
62
|
+
--wb-cat-2-tint: #c7e0e9;
|
|
63
63
|
--wb-cat-2-slot: #cee3eb;
|
|
64
64
|
--wb-cat-2-ink: #17617c;
|
|
65
65
|
--wb-cat-3: #b55a3c;
|
|
66
|
-
--wb-cat-3-tint: #
|
|
66
|
+
--wb-cat-3-tint: #edd7d0;
|
|
67
67
|
--wb-cat-3-slot: #efdbd4;
|
|
68
68
|
--wb-cat-3-ink: #88442d;
|
|
69
69
|
--wb-cat-4: #458d5c;
|
|
70
|
-
--wb-cat-4-tint: #
|
|
70
|
+
--wb-cat-4-tint: #cde0d3;
|
|
71
71
|
--wb-cat-4-slot: #d6e6db;
|
|
72
72
|
--wb-cat-4-ink: #346a45;
|
|
73
73
|
--wb-cat-5: #9c5389;
|
|
74
|
-
--wb-cat-5-tint: #
|
|
74
|
+
--wb-cat-5-tint: #e8d7e4;
|
|
75
75
|
--wb-cat-5-slot: #e9d9e5;
|
|
76
76
|
--wb-cat-5-ink: #753e67;
|
|
77
77
|
--wb-cat-6: #3f6fb5;
|
|
78
|
-
--wb-cat-6-tint: #
|
|
78
|
+
--wb-cat-6-tint: #d1dded;
|
|
79
79
|
--wb-cat-6-slot: #d5dfef;
|
|
80
80
|
--wb-cat-6-ink: #2f5388;
|
|
81
81
|
--wb-cat-7: #5e7a80;
|
|
82
|
-
--wb-cat-7-tint: #
|
|
82
|
+
--wb-cat-7-tint: #d6dddf;
|
|
83
83
|
--wb-cat-7-slot: #dce2e3;
|
|
84
84
|
--wb-cat-7-ink: #465c60;
|
|
85
85
|
--wb-cat-8: #8a7f6e;
|
|
86
|
-
--wb-cat-8-tint: #
|
|
86
|
+
--wb-cat-8-tint: #dedbd7;
|
|
87
87
|
--wb-cat-8-slot: #e5e3df;
|
|
88
88
|
--wb-cat-8-ink: #685f52;
|
|
89
89
|
}
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
--wb-surface: #1a1917;
|
|
98
98
|
--wb-surface2: #292723;
|
|
99
99
|
--wb-ticket-bg: #2a2722;
|
|
100
|
-
--wb-canvas: #
|
|
100
|
+
--wb-canvas: #070605;
|
|
101
101
|
--wb-border: #3b3832;
|
|
102
102
|
--wb-border-strong: #767064;
|
|
103
103
|
--wb-veil: rgba(18, 17, 16, 0.72);
|