@botspace/tokens 0.1.0 → 0.1.1

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/theme.css CHANGED
@@ -1,4 +1,4 @@
1
- /* @botspace/tokens 0.1.0. Generated from src/tokens.ts. Do not edit.
1
+ /* @botspace/tokens 0.1.1. Generated from src/tokens.ts. Do not edit.
2
2
  Use after Tailwind: @import "tailwindcss"; @import "@botspace/tokens/theme.css";
3
3
  Fonts are the app's job: set --font-styrene and --font-inter (next/font variable) on <html>. */
4
4
 
package/dist/tokens.d.ts CHANGED
@@ -88,7 +88,8 @@ export declare const surface: {
88
88
  /**
89
89
  * Channel skins for customer-side phones, measured from bot.space tiles and the Lunch & Learn deck
90
90
  * (brand repo v2/reference/channels/skins.md, decisions of 5 Oct 2026). Native channel colours that are
91
- * not tokens live here and nowhere else. Never use Intercom's themes.
91
+ * not tokens live here and nowhere else. Never use Intercom's themes. Links and subtitles are the native
92
+ * hue darkened (or lightened on dark) just enough to pass WCAG AA on the surface they sit on.
92
93
  */
93
94
  export declare const skins: {
94
95
  readonly whatsapp: {
@@ -99,7 +100,7 @@ export declare const skins: {
99
100
  readonly customerText: "#102210";
100
101
  readonly business: "#FFFFFF";
101
102
  readonly businessText: "#1A1C1B";
102
- readonly link: "#1EABE9";
103
+ readonly link: "#117DAC";
103
104
  readonly name: "#1A1A18";
104
105
  readonly subtitle: "#484844";
105
106
  };
@@ -112,9 +113,9 @@ export declare const skins: {
112
113
  readonly business: "#E5E8ED";
113
114
  readonly businessText: "#181C1F";
114
115
  readonly chip: "#D7DADF";
115
- readonly link: "#0294F6";
116
+ readonly link: "#0160A0";
116
117
  readonly name: "#1A1B1C";
117
- readonly subtitle: "#71787E";
118
+ readonly subtitle: "#61676D";
118
119
  };
119
120
  /** Proposed: maps each light role to its dark-scheme token. Not in any shipped BotSpace image yet. */
120
121
  readonly "instagram-dark": {
@@ -126,7 +127,7 @@ export declare const skins: {
126
127
  readonly business: "#262B2E";
127
128
  readonly businessText: "#DFE3E7";
128
129
  readonly chip: "#353A3D";
129
- readonly link: "#0294F6";
130
+ readonly link: "#33ACFD";
130
131
  readonly name: "#DFE3E7";
131
132
  readonly subtitle: "#8B9297";
132
133
  };
@@ -304,7 +305,7 @@ export declare const tokens: {
304
305
  readonly customerText: "#102210";
305
306
  readonly business: "#FFFFFF";
306
307
  readonly businessText: "#1A1C1B";
307
- readonly link: "#1EABE9";
308
+ readonly link: "#117DAC";
308
309
  readonly name: "#1A1A18";
309
310
  readonly subtitle: "#484844";
310
311
  };
@@ -317,9 +318,9 @@ export declare const tokens: {
317
318
  readonly business: "#E5E8ED";
318
319
  readonly businessText: "#181C1F";
319
320
  readonly chip: "#D7DADF";
320
- readonly link: "#0294F6";
321
+ readonly link: "#0160A0";
321
322
  readonly name: "#1A1B1C";
322
- readonly subtitle: "#71787E";
323
+ readonly subtitle: "#61676D";
323
324
  };
324
325
  /** Proposed: maps each light role to its dark-scheme token. Not in any shipped BotSpace image yet. */
325
326
  readonly "instagram-dark": {
@@ -331,7 +332,7 @@ export declare const tokens: {
331
332
  readonly business: "#262B2E";
332
333
  readonly businessText: "#DFE3E7";
333
334
  readonly chip: "#353A3D";
334
- readonly link: "#0294F6";
335
+ readonly link: "#33ACFD";
335
336
  readonly name: "#DFE3E7";
336
337
  readonly subtitle: "#8B9297";
337
338
  };
package/dist/tokens.js CHANGED
@@ -60,27 +60,28 @@ export const surface = {
60
60
  /**
61
61
  * Channel skins for customer-side phones, measured from bot.space tiles and the Lunch & Learn deck
62
62
  * (brand repo v2/reference/channels/skins.md, decisions of 5 Oct 2026). Native channel colours that are
63
- * not tokens live here and nowhere else. Never use Intercom's themes.
63
+ * not tokens live here and nowhere else. Never use Intercom's themes. Links and subtitles are the native
64
+ * hue darkened (or lightened on dark) just enough to pass WCAG AA on the surface they sit on.
64
65
  */
65
66
  export const skins = {
66
67
  whatsapp: {
67
68
  wallpaper: "#EAE6E0", header: "#EAE6E0", divider: "#CCD2D0",
68
69
  customer: "#DCF6C5", customerText: "#102210", // outgoing (the customer's phone)
69
70
  business: "#FFFFFF", businessText: "#1A1C1B",
70
- link: "#1EABE9", name: "#1A1A18", subtitle: "#484844",
71
+ link: "#117DAC", name: "#1A1A18", subtitle: "#484844",
71
72
  },
72
73
  instagram: {
73
74
  wallpaper: "#FFFFFF", header: "#FFFFFF", divider: "#E1E1E1",
74
75
  customer: "#804D7A", customerText: "#FFFFFF",
75
76
  business: "#E5E8ED", businessText: "#181C1F", chip: "#D7DADF",
76
- link: "#0294F6", name: "#1A1B1C", subtitle: "#71787E",
77
+ link: "#0160A0", name: "#1A1B1C", subtitle: "#61676D",
77
78
  },
78
79
  /** Proposed: maps each light role to its dark-scheme token. Not in any shipped BotSpace image yet. */
79
80
  "instagram-dark": {
80
81
  wallpaper: "#0F1417", header: "#0F1417", divider: "#262B2E",
81
82
  customer: "#804D7A", customerText: "#FFFFFF",
82
83
  business: "#262B2E", businessText: "#DFE3E7", chip: "#353A3D",
83
- link: "#0294F6", name: "#DFE3E7", subtitle: "#8B9297",
84
+ link: "#33ACFD", name: "#DFE3E7", subtitle: "#8B9297",
84
85
  },
85
86
  webchat: {
86
87
  wallpaper: "#FFFFFF", header: "#FFFFFF", divider: "#C4C7CB",
package/dist/tokens.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://www.designtokens.org/schemas/2025.10/format.json",
3
- "$description": "@botspace/tokens 0.1.0. Generated from src/tokens.ts. Do not edit.",
3
+ "$description": "@botspace/tokens 0.1.1. Generated from src/tokens.ts. Do not edit.",
4
4
  "color": {
5
5
  "ink": {
6
6
  "$type": "color",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@botspace/tokens",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "BotSpace brand tokens: a Tailwind v4 theme (colours, type, radius, grid, motion) and the same values as a JS object for creatives.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {