@uncinq/design-tokens 1.4.4 → 1.6.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/README.md CHANGED
@@ -139,8 +139,8 @@ The property mirrors the CSS property name — `background-color`, `border-color
139
139
  | `easing` | Timing functions | `--easing-bounce` |
140
140
  | `transition` | Shorthand transitions | `--transition-normal`, `--transition-color` |
141
141
  | `ratio` | Aspect ratios | `--ratio-video` |
142
- | `fluid-text` | Responsive fluid type scale (Utopia) | `--fluid-text-sm`, `--fluid-text-xl` |
143
- | `fluid-spacing` | Responsive fluid spacing scale (Utopia) | `--fluid-spacing-sm`, `--fluid-spacing-lg` |
142
+ | `font-size-fluid` | Responsive fluid type scale (Utopia) | `--font-size-fluid-sm`, `--font-size-fluid-xl` |
143
+ | `spacing-fluid` | Responsive fluid spacing scale (Utopia) | `--spacing-fluid-sm`, `--spacing-fluid-lg` |
144
144
  | `focus` | Focus ring tokens | `--focus-color`, `--focus-outline-width` |
145
145
  | `opacity` | Opacity values | `--opacity-disabled`, `--opacity-overlay` |
146
146
  | `span` | Grid column spans | `--span-full`, `--span-half` |
@@ -289,7 +289,6 @@ Used to ensure contrast when a color is the background:
289
289
  | `--color-success` | green-600 | Confirmations |
290
290
  | `--color-warning` | amber-500 | Warnings — use with `--color-text-on-warning` |
291
291
  | `--color-info` | blue-600 | Informational |
292
- | `--color-secondary` | gray-500 | De-emphasized UI |
293
292
  | `--color-dark` | gray-900 | Dark surfaces |
294
293
  | `--color-light` | gray-200 | Light surfaces |
295
294
 
@@ -39,6 +39,7 @@
39
39
  --color-heading: var(--color-black);
40
40
  --color-highlight: var(--color-yellow-100);
41
41
  --color-highlight-hover: var(--color-yellow-200);
42
+ --color-highlight-muted: var(--color-yellow-100);
42
43
  --color-highlight-strong: var(--color-yellow-900);
43
44
  --color-info: var(--color-blue-600);
44
45
  --color-info-hover: var(--color-blue-700);
@@ -53,13 +53,16 @@
53
53
  --label-color-text: var(--form-color-text);
54
54
  --label-font-size: var(--font-size-xs);
55
55
  --label-font-weight: var(--font-weight-medium);
56
+ --label-line-height: var(--line-height-snug);
56
57
  --label-padding-inline: 0;
57
58
  --label-padding-block: var(--spacing-2xs);
59
+ --label-text-align: start;
58
60
  --label-text-transform: uppercase;
59
61
  --help-color-text: var(--color-text-muted);
60
62
  --help-font-size: var(--font-size-xs);
61
63
  --help-font-weight: var(--font-weight-normal);
62
64
  --help-margin: 0;
65
+ --help-text-align: start;
63
66
  --checkable-color: var(--form-color-accent);
64
67
  --checkable-size: 1.25em;
65
68
  --checkbox-border-radius: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/design-tokens",
3
- "version": "1.4.4",
3
+ "version": "1.6.0",
4
4
  "description": "Framework-agnostic design tokens — JSON DTCG primitive and semantic — CSS custom properties.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -153,6 +153,10 @@
153
153
  "$value": "{color.yellow.200}",
154
154
  "$type": "color"
155
155
  },
156
+ "muted": {
157
+ "$value": "{color.yellow.100}",
158
+ "$type": "color"
159
+ },
156
160
  "strong": {
157
161
  "$value": "{color.yellow.900}",
158
162
  "$type": "color"
@@ -270,6 +270,11 @@
270
270
  "$type": "fontWeight"
271
271
  },
272
272
 
273
+ "lineHeight": {
274
+ "$value": "{lineHeight.snug}",
275
+ "$type": "dimension"
276
+ },
277
+
273
278
  "padding": {
274
279
  "inline": {
275
280
  "$value": "0",
@@ -281,9 +286,14 @@
281
286
  }
282
287
  },
283
288
 
289
+ "textAlign": {
290
+ "$value": "start",
291
+ "$type": "string"
292
+ },
293
+
284
294
  "textTransform": {
285
295
  "$value": "uppercase",
286
- "$type": "textCase"
296
+ "$type": "string"
287
297
  }
288
298
  },
289
299
 
@@ -308,6 +318,11 @@
308
318
  "margin": {
309
319
  "$value": "0",
310
320
  "$type": "dimension"
321
+ },
322
+
323
+ "textAlign": {
324
+ "$value": "start",
325
+ "$type": "string"
311
326
  }
312
327
  },
313
328