@evinvest/uikit 0.20.0 → 0.21.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": "@evinvest/uikit",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "Dep-light React UI kit: shadcn-semantics components with zero @radix-ui / cva, mirroring the ev_lib::uikit Rust feature. Ships the shared design tokens.",
5
5
  "license": "BlueOak-1.0.0",
6
6
  "publishConfig": {
package/styles/theme.css CHANGED
@@ -399,8 +399,12 @@
399
399
  --ink-mid: color-mix(in srgb, var(--ink) 82%, transparent);
400
400
  /* the most-used secondary text token, so it has to clear AA on its own */
401
401
  --ink-soft: color-mix(in srgb, var(--ink) 65%, transparent);
402
+ /* a divider: decoration, so it stays quiet */
402
403
  --border: color-mix(in srgb, var(--ink) 14%, transparent);
403
- --input: color-mix(in srgb, var(--ink) 20%, transparent);
404
+ /* the only edge an unfilled control has, so it owes the non-text 3:1 on every
405
+ * surface (lib#154). One mix serves both polarities; light is the binding
406
+ * side — ink over white needs ~47% to clear it, dark lands near 4:1. */
407
+ --input: color-mix(in srgb, var(--ink) 48%, transparent);
404
408
  --ring: var(--primary-ink);
405
409
  }
406
410
 
package/styles/tokens.css CHANGED
@@ -439,8 +439,12 @@
439
439
  --ink-mid: color-mix(in srgb, var(--ink) 82%, transparent);
440
440
  /* the most-used secondary text token, so it has to clear AA on its own */
441
441
  --ink-soft: color-mix(in srgb, var(--ink) 65%, transparent);
442
+ /* a divider: decoration, so it stays quiet */
442
443
  --border: color-mix(in srgb, var(--ink) 14%, transparent);
443
- --input: color-mix(in srgb, var(--ink) 20%, transparent);
444
+ /* the only edge an unfilled control has, so it owes the non-text 3:1 on every
445
+ * surface (lib#154). One mix serves both polarities; light is the binding
446
+ * side — ink over white needs ~47% to clear it, dark lands near 4:1. */
447
+ --input: color-mix(in srgb, var(--ink) 48%, transparent);
444
448
  --ring: var(--primary-ink);
445
449
  }
446
450