twico-ui 1.9.0 → 1.10.0

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": "twico-ui",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "Twico UI — a free, modern, themeable React + Tailwind-friendly component library. 61 components with dark mode, motion, and accessibility built in.",
5
5
  "license": "MIT",
6
6
  "author": "Twico UI",
@@ -160,6 +160,15 @@
160
160
  --color-text-subtle: var(--slate-400);
161
161
  --color-text-inverted: #ffffff;
162
162
 
163
+ /* Data labels painted ON coloured chart marks (pie/donut slices, treemap tiles,
164
+ funnel stages). The mark fills are fixed -500 primitives that DON'T flip with
165
+ theme, so these must stay static too (they are intentionally NOT re-declared in
166
+ .dark): a light fill + a translucent dark halo — applied via `paint-order:
167
+ stroke` — keeps the text legible on any slice colour, including light ones like
168
+ amber-500, in both light and dark mode. */
169
+ --color-chart-on-fill: #ffffff;
170
+ --color-chart-on-fill-halo: rgb(15 23 42 / 0.55); /* slate-900 @ 55% */
171
+
163
172
  /* Primary / brand */
164
173
  --color-primary: var(--brand-500);
165
174
  --color-primary-hover: var(--brand-600);