@uncinq/design-tokens 1.4.1 → 1.4.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.
@@ -66,13 +66,13 @@
66
66
  --color-text: var(--color-gray-900);
67
67
  --color-text-disabled: var(--color-gray-300);
68
68
  --color-text-hover: var(--color-gray-700);
69
- --color-text-muted: var(--color-gray-500);
69
+ --color-text-muted: oklch(from var(--color-text) l c h / var(--opacity-muted));
70
70
  --color-text-on-accent: var(--color-white);
71
71
  --color-text-on-black: var(--color-white);
72
72
  --color-text-on-brand: var(--color-white);
73
73
  --color-text-on-danger: var(--color-white);
74
74
  --color-text-on-dark: var(--color-white);
75
- --color-text-on-highlight: var(--color-text);
75
+ --color-text-on-highlight: var(--color-gray-900);
76
76
  --color-text-on-info: var(--color-white);
77
77
  --color-text-on-light: var(--color-gray-900);
78
78
  --color-text-on-muted: var(--color-gray-900);
@@ -8,6 +8,7 @@
8
8
  --opacity-backdrop: 0.5;
9
9
  --opacity-disabled: 0.5;
10
10
  --opacity-hover: 0.75;
11
+ --opacity-muted: 0.7;
11
12
  --opacity-overlay: 0.75;
12
13
  --opacity-shadow: 0.1;
13
14
  --opacity-subtle: 0.35;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/design-tokens",
3
- "version": "1.4.1",
3
+ "version": "1.4.3",
4
4
  "description": "Framework-agnostic design tokens — JSON DTCG primitive and semantic — CSS custom properties.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -276,7 +276,7 @@
276
276
  "$type": "color"
277
277
  },
278
278
  "muted": {
279
- "$value": "{color.gray.500}",
279
+ "$value": "oklch(from {color.text.default} l c h / {opacity.muted})",
280
280
  "$type": "color"
281
281
  },
282
282
  "onAccent": {
@@ -300,7 +300,7 @@
300
300
  "$type": "color"
301
301
  },
302
302
  "onHighlight": {
303
- "$value": "{color.text.default}",
303
+ "$value": "{color.gray.900}",
304
304
  "$type": "color"
305
305
  },
306
306
  "onInfo": {
@@ -12,6 +12,10 @@
12
12
  "$type": "number",
13
13
  "$value": 0.75
14
14
  },
15
+ "muted": {
16
+ "$type": "number",
17
+ "$value": 0.7
18
+ },
15
19
  "overlay": {
16
20
  "$type": "number",
17
21
  "$value": 0.75