@bsuite/theme 0.10.2 → 0.10.3

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": "@bsuite/theme",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "publishConfig": {
package/src/css/vars.css CHANGED
@@ -206,6 +206,9 @@
206
206
  --role-error-text: oklch(0.556 0.230 25); /* 4.69:1 ✓ AA */
207
207
  --role-warning-text: oklch(0.535 0.150 75); /* 4.70:1 ✓ AA */
208
208
  --role-success-text: oklch(0.501 0.130 195); /* 4.70:1 ✓ AA */
209
+ /* Pair for --role-info. Every other semantic role had a -text token; info
210
+ was the only gap, which forced apps to invent a local copy (R80.4). */
211
+ --role-info-text: oklch(0.480 0.120 192); /* 4.70:1 ✓ AA on panel */
209
212
 
210
213
  /* Text roles — six-tier scale (W3 §3.1 contract). Every tier below is
211
214
  measured against --role-bg-body (the conservative floor); all tiers
@@ -458,6 +461,7 @@
458
461
  --role-error-text: oklch(0.786 0.230 25); /* 7.00:1 ✓ AAA */
459
462
  --role-warning-text: var(--neon-electric-amber);/* 10.10:1 ✓ AAA */
460
463
  --role-success-text: oklch(0.671 0.130 195); /* 6.99:1 ✓ AAA */
464
+ --role-info-text: oklch(0.780 0.120 192); /* 7.0:1 ✓ AAA on dark panel */
461
465
 
462
466
  /* Glow/shadow scale up in dark mode */
463
467
  --glow-strength: 0.6;
package/src/preset-v4.css CHANGED
@@ -101,6 +101,7 @@
101
101
  --color-error-text: var(--role-error-text);
102
102
  --color-warning-text: var(--role-warning-text);
103
103
  --color-success-text: var(--role-success-text);
104
+ --color-info-text: var(--role-info-text);
104
105
 
105
106
  /* Informational scale — CATEGORICAL, never state. `bg-info-3`, `text-info-5`.
106
107
  Numbered because they are interchangeable slots with no meaning of their