@ethora/chat-component 26.5.11 → 26.5.12

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.
@@ -12,9 +12,11 @@ export declare const resolveIconColor: (config?: Pick<IConfig, "colors"> | null)
12
12
  * Resolve the background colour to use behind the chat's icon "chips" (attach,
13
13
  * send, microphone, file preview, etc.).
14
14
  *
15
- * Priority: explicit `config.colors.iconsBg` → `config.colors.secondary` →
16
- * white. Lets a host theme the icon backgrounds independently from `secondary`
17
- * via `colors.iconsBg`, while keeping the historical white default.
15
+ * Priority: explicit `config.colors.iconsBg` → a soft neutral default. We do
16
+ * NOT fall back to `colors.secondary`: that's a text/heading colour (often
17
+ * near-black), and using it here rendered the icon chips as harsh black
18
+ * squares. `secondary` also drives avatar backgrounds, so keeping it out of
19
+ * this resolver lets hosts theme text without blacking out the icons.
18
20
  */
19
21
  export declare const resolveIconBgColor: (config?: Pick<IConfig, "colors"> | null) => string;
20
22
  /** CSS variable read by the chat's chrome icons as their default colour. */