@pushwoosh/rpc-gateway-ai-assistant 0.1.185 → 0.1.186

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.185",
3
+ "version": "0.1.186",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -61,8 +61,9 @@ export type VibeDocumentSettings = {
61
61
  contentWidth: string;
62
62
  /**
63
63
  * Email canvas / body background color — the MJML mj-body background
64
- * analog: the area behind the content column. Hex ("#f4f4f4") or
65
- * "transparent". Empty = the renderer's default.
64
+ * analog: the area behind the content column. Hex ("#f4f4f4"),
65
+ * "transparent", or a theme color token ("$background"). Empty = the
66
+ * renderer's default.
66
67
  */
67
68
  background: string;
68
69
  };
@@ -164,12 +165,15 @@ export type VibeMeta = {
164
165
  */
165
166
  export type VibeTheme = {
166
167
  /**
167
- * Reference palette keyed by semantic role (background, surface, text,
168
+ * Design-token palette keyed by semantic role (background, surface, text,
168
169
  * text-secondary, accent, text-on-accent, border, link). Free-form
169
- * string keys — no key is guaranteed present so this is a set of brand
170
- * colors blocks/attributes can reference. Values are hex colors
171
- * ("#155F50"). The canvas background is NOT here it is a guaranteed
172
- * field on VibeDocumentSettings.
170
+ * string keys — no key is guaranteed present. Any color-typed prop value
171
+ * (block props, attributes, block_variants, settings.background) may
172
+ * reference an entry by token: "$accent" means colors["accent"], resolved
173
+ * by the renderer at render time — so re-theming a document is just
174
+ * swapping this palette. Values here are strictly hex colors ("#155F50");
175
+ * a token cannot reference another token. The canvas background is NOT
176
+ * here — it is a guaranteed field on VibeDocumentSettings.
173
177
  */
174
178
  colors: Record<string, string>;
175
179
  /** CSS font-family chain for body text. */