@etus/tokens 0.2.0 → 0.3.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/dist/tokens.css CHANGED
@@ -87,7 +87,7 @@
87
87
  --avatar-fallback-text-primary: oklch(18.34% 0.0338 166.67);
88
88
  --avatar-fallback-text-secondary: oklch(21.23% 0.0502 138.22);
89
89
  --avatar-fallback-text-success: oklch(100.00% 0.0000 0);
90
- --avatar-fallback-text-warning: oklch(100.00% 0.0000 0);
90
+ --avatar-fallback-text-warning: oklch(28.57% 0.0639 53.81);
91
91
  --avatar-radius-circle: 9999px;
92
92
  --avatar-radius-square: 0.375rem;
93
93
  --avatar-size-2xl: 64px;
@@ -2205,7 +2205,7 @@
2205
2205
  --typography-paragraph-p4-textcase: none;
2206
2206
  --typography-paragraph-p4-textdecoration: none;
2207
2207
  --warning-border: oklch(94.51% 0.1243 101.54);
2208
- --warning-foreground: oklch(100.00% 0.0000 0);
2208
+ --warning-foreground: oklch(28.57% 0.0639 53.81);
2209
2209
  --warning-subtle-foreground: oklch(55.38% 0.1207 66.44);
2210
2210
  --warning-subtle: oklch(98.73% 0.0262 102.21);
2211
2211
  --warning: oklch(86.06% 0.1731 91.94);
@@ -2396,7 +2396,7 @@
2396
2396
  --text-color-default: oklch(98.51% 0.0000 0);
2397
2397
  --text-color-muted: oklch(71.55% 0.0000 0);
2398
2398
  --warning-border: oklch(55.38% 0.1207 66.44);
2399
- --warning-foreground: oklch(100.00% 0.0000 0);
2399
+ --warning-foreground: oklch(28.57% 0.0639 53.81);
2400
2400
  --warning-subtle-foreground: oklch(90.52% 0.1657 98.11);
2401
2401
  --warning-subtle: oklch(28.57% 0.0639 53.81);
2402
2402
  --warning: oklch(79.52% 0.1617 86.05);
@@ -2552,7 +2552,7 @@
2552
2552
  --text-color-default: oklch(14.48% 0.0000 0);
2553
2553
  --text-color-muted: oklch(55.55% 0.0000 0);
2554
2554
  --warning-border: oklch(94.51% 0.1243 101.54);
2555
- --warning-foreground: oklch(100.00% 0.0000 0);
2555
+ --warning-foreground: oklch(28.57% 0.0639 53.81);
2556
2556
  --warning-subtle-foreground: oklch(55.38% 0.1207 66.44);
2557
2557
  --warning-subtle: oklch(98.73% 0.0262 102.21);
2558
2558
  --warning: oklch(86.06% 0.1731 91.94);
package/dist/tokens.js CHANGED
@@ -158,7 +158,7 @@ export const tokens = {
158
158
  "text-color-muted": "oklch(71.55% 0.0000 0)",
159
159
  "warning": "oklch(79.52% 0.1617 86.05)",
160
160
  "warning-border": "oklch(55.38% 0.1207 66.44)",
161
- "warning-foreground": "oklch(100.00% 0.0000 0)",
161
+ "warning-foreground": "oklch(28.57% 0.0639 53.81)",
162
162
  "warning-subtle": "oklch(28.57% 0.0639 53.81)",
163
163
  "warning-subtle-foreground": "oklch(90.52% 0.1657 98.11)",
164
164
  },
@@ -243,7 +243,7 @@ export const tokens = {
243
243
  "avatar-fallback-text-primary": "oklch(18.34% 0.0338 166.67)",
244
244
  "avatar-fallback-text-secondary": "oklch(21.23% 0.0502 138.22)",
245
245
  "avatar-fallback-text-success": "oklch(100.00% 0.0000 0)",
246
- "avatar-fallback-text-warning": "oklch(100.00% 0.0000 0)",
246
+ "avatar-fallback-text-warning": "oklch(28.57% 0.0639 53.81)",
247
247
  "avatar-radius-circle": "9999px",
248
248
  "avatar-radius-square": "0.375rem",
249
249
  "avatar-size-2xl": "64px",
@@ -1592,16 +1592,16 @@ export const tokens = {
1592
1592
  "radio-root-size-md": "20px",
1593
1593
  "radio-root-size-sm": "16px",
1594
1594
  "radius": "4px",
1595
- "radius-2xl": "16px",
1595
+ "radius-2xl": "20px",
1596
1596
  "radius-3xl": "24px",
1597
1597
  "radius-4xl": "32px",
1598
1598
  "radius-full": "9999px",
1599
- "radius-lg": "8px",
1600
- "radius-md": "6px",
1599
+ "radius-lg": "12px",
1600
+ "radius-md": "8px",
1601
1601
  "radius-none": "0px",
1602
- "radius-pill": "9999px",
1602
+ "radius-pill": "999px",
1603
1603
  "radius-sm": "4px",
1604
- "radius-xl": "12px",
1604
+ "radius-xl": "16px",
1605
1605
  "radius-xs": "2px",
1606
1606
  "rail-accent": "oklch(95.21% 0.0467 171.12)",
1607
1607
  "rail-accent-foreground": "oklch(26.88% 0.0527 163.85)",
@@ -2393,7 +2393,7 @@ export const tokens = {
2393
2393
  "typography-paragraph-p4-textdecoration": "none",
2394
2394
  "warning": "oklch(86.06% 0.1731 91.94)",
2395
2395
  "warning-border": "oklch(94.51% 0.1243 101.54)",
2396
- "warning-foreground": "oklch(100.00% 0.0000 0)",
2396
+ "warning-foreground": "oklch(28.57% 0.0639 53.81)",
2397
2397
  "warning-subtle": "oklch(98.73% 0.0262 102.21)",
2398
2398
  "warning-subtle-foreground": "oklch(55.38% 0.1207 66.44)",
2399
2399
  "z-base": "0",
@@ -1803,7 +1803,7 @@
1803
1803
  "name": "warning",
1804
1804
  "cssVar": "--warning",
1805
1805
  "type": "color",
1806
- "description": "Attention alerts, pending states (yellow-400, Figma v2 canonical — was yellow-600). A11Y NOTE: yellow-400 + white foreground has low contrast; verify Badge/Button warning surfaces",
1806
+ "description": "Attention alerts, pending states (yellow-400, Figma v2 canonical)",
1807
1807
  "light": "oklch(86.06% 0.1731 91.94)",
1808
1808
  "dark": "oklch(79.52% 0.1617 86.05)"
1809
1809
  },
@@ -1819,9 +1819,9 @@
1819
1819
  "name": "warning-foreground",
1820
1820
  "cssVar": "--warning-foreground",
1821
1821
  "type": "color",
1822
- "description": "Text on warning (base.white) see warning a11y note",
1823
- "light": "oklch(100.00% 0.0000 0)",
1824
- "dark": "oklch(100.00% 0.0000 0)"
1822
+ "description": "Text on warning (yellow-950, A11Y fix 2026-04-30 — was base.white at 1.53 contrast, now 9.52)",
1823
+ "light": "oklch(28.57% 0.0639 53.81)",
1824
+ "dark": "oklch(28.57% 0.0639 53.81)"
1825
1825
  },
1826
1826
  {
1827
1827
  "name": "warning-subtle",
@@ -2879,7 +2879,7 @@
2879
2879
  "name": "radius-full",
2880
2880
  "cssVar": "--radius-full",
2881
2881
  "type": "dimension",
2882
- "description": "Fully rounded — alias of radius.pill for Tailwind compat (rounded-full utility)",
2882
+ "description": "Fully rounded — alias of radius.pill for Tailwind compat (rounded-full utility, kept at 9999px)",
2883
2883
  "value": "9999px"
2884
2884
  },
2885
2885
  {
@@ -4116,7 +4116,7 @@
4116
4116
  "name": "avatar-fallback-text-warning",
4117
4117
  "cssVar": "--avatar-fallback-text-warning",
4118
4118
  "type": "color",
4119
- "value": "oklch(100.00% 0.0000 0)"
4119
+ "value": "oklch(28.57% 0.0639 53.81)"
4120
4120
  },
4121
4121
  {
4122
4122
  "name": "avatar-radius-circle",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etus/tokens",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Seven Design System - Design tokens (CSS variables) for ETUS applications",
5
5
  "license": "MIT",
6
6
  "repository": {