@welcome-back/brand 0.10.1 → 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.
@@ -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: "#f3ecdd", slot: "#eae2d0", ink: "#785d20" },
7
- { name: "Azul mar", swatch: "#1f81a6", tint: "#e2eff4", slot: "#cee3eb", ink: "#17617c" },
8
- { name: "Terracota", swatch: "#b55a3c", tint: "#f5eae6", slot: "#efdbd4", ink: "#88442d" },
9
- { name: "Verde", swatch: "#458d5c", tint: "#e7f0ea", slot: "#d6e6db", ink: "#346a45" },
10
- { name: "Ciruela", swatch: "#9c5389", tint: "#f2e9f0", slot: "#e9d9e5", ink: "#753e67" },
11
- { name: "Azul", swatch: "#3f6fb5", tint: "#e6ecf5", slot: "#d5dfef", ink: "#2f5388" },
12
- { name: "Pizarra", swatch: "#5e7a80", tint: "#eaeeee", slot: "#dce2e3", ink: "#465c60" },
13
- { name: "Piedra", swatch: "#8a7f6e", tint: "#f0eeec", slot: "#e5e3df", ink: "#685f52" },
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),
@@ -42,7 +42,8 @@ exports.POS_TOKENS = {
42
42
  // than --wb-surface2. Edges and hint text keep their floors on it
43
43
  // (posTokens.test.ts).
44
44
  "--wb-canvas": "#eeebdf",
45
- // Dividers and hairlines.
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).
46
47
  "--wb-border": "#cec9bb",
47
48
  // Control edges: buttons, fields, selectable cards, segmented control.
48
49
  "--wb-border-strong": "#878172",
@@ -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: "#f3ecdd";
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: "#e2eff4";
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: "#f5eae6";
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: "#e7f0ea";
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: "#f2e9f0";
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: "#e6ecf5";
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: "#eaeeee";
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: "#f0eeec";
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: "#f3ecdd", slot: "#eae2d0", ink: "#785d20" },
3
- { name: "Azul mar", swatch: "#1f81a6", tint: "#e2eff4", slot: "#cee3eb", ink: "#17617c" },
4
- { name: "Terracota", swatch: "#b55a3c", tint: "#f5eae6", slot: "#efdbd4", ink: "#88442d" },
5
- { name: "Verde", swatch: "#458d5c", tint: "#e7f0ea", slot: "#d6e6db", ink: "#346a45" },
6
- { name: "Ciruela", swatch: "#9c5389", tint: "#f2e9f0", slot: "#e9d9e5", ink: "#753e67" },
7
- { name: "Azul", swatch: "#3f6fb5", tint: "#e6ecf5", slot: "#d5dfef", ink: "#2f5388" },
8
- { name: "Pizarra", swatch: "#5e7a80", tint: "#eaeeee", slot: "#dce2e3", ink: "#465c60" },
9
- { name: "Piedra", swatch: "#8a7f6e", tint: "#f0eeec", slot: "#e5e3df", ink: "#685f52" },
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),
@@ -37,7 +37,8 @@ export const POS_TOKENS = {
37
37
  // than --wb-surface2. Edges and hint text keep their floors on it
38
38
  // (posTokens.test.ts).
39
39
  "--wb-canvas": "#eeebdf",
40
- // Dividers and hairlines.
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).
41
42
  "--wb-border": "#cec9bb",
42
43
  // Control edges: buttons, fields, selectable cards, segmented control.
43
44
  "--wb-border-strong": "#878172",
@@ -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: #f3ecdd;
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: #e2eff4;
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: #f5eae6;
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: #e7f0ea;
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: #f2e9f0;
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: #e6ecf5;
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: #eaeeee;
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: #f0eeec;
86
+ --wb-cat-8-tint: #dedbd7;
87
87
  --wb-cat-8-slot: #e5e3df;
88
88
  --wb-cat-8-ink: #685f52;
89
89
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@welcome-back/brand",
3
- "version": "0.10.1",
3
+ "version": "0.10.2",
4
4
  "description": "WelcomeBack brand assets for React apps: the running-W loader and the POS design tokens.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {