@uncinq/design-tokens 1.8.0 → 1.8.1

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/docs/colors.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Colors
4
4
  description: The OKLCH color space, the 19-hue primitive palette, the semantic color roles, and WCAG guidance for using them.
5
5
  weight: 2
6
+ icon: droplet-half
6
7
  ---
7
8
 
8
9
  ## Color space, OKLCH
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Customizing
4
4
  description: The two override strategies, CSS layer override and JSON plus build, and when each one is the right tool.
5
5
  weight: 4
6
+ icon: sliders
6
7
  ---
7
8
 
8
9
  There are two ways to change what this package produces. Pick by how deep the change goes, not by preference.
package/docs/dark-mode.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Dark mode
4
4
  description: How the dark theme overlays 13 semantic tokens, how a page opts out, and why there is no forced-dark selector.
5
5
  weight: 3
6
+ icon: moon-stars
6
7
  ---
7
8
 
8
9
  The dark theme is an **overlay**, not a second palette. `tokens/themes/dark.json` re-declares 13 semantic tokens and nothing else. Every other token, including the whole primitive palette, is shared.
package/docs/dtcg.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: DTCG format
4
4
  description: The Design Tokens Community Group JSON format, its keys, types and naming conventions as used in this package.
5
5
  weight: 6
6
+ icon: braces
6
7
  ---
7
8
 
8
9
 
package/docs/naming.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Naming
4
4
  description: The naming grammar for semantic and component tokens, the rules that keep it consistent, and the scales in use.
5
5
  weight: 1
6
+ icon: tag
6
7
  ---
7
8
 
8
9
  A token name is an API. Once a project references `--color-text-muted`, renaming it is a breaking change, so the grammar below is worth following closely.
package/docs/reference.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Reference
4
4
  description: Every token in the package, generated from the JSON sources so it can never drift from the shipped CSS.
5
5
  weight: 5
6
+ icon: table
6
7
  ---
7
8
 
8
9
  Every table below is generated at build time from `dist/tokens.json`, which Style Dictionary produces from the same JSON sources as the CSS. Nothing here is written by hand, so a token cannot appear in the reference without existing in the package, or change value without the page changing with it.
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Style Dictionary
4
4
  description: How the JSON token sources are compiled into CSS custom properties, including the dark theme pass.
5
5
  weight: 7
6
+ icon: gear
6
7
  ---
7
8
 
8
9
 
package/docs/utopia.md CHANGED
@@ -3,6 +3,7 @@ isIndex: false
3
3
  title: Fluid scales
4
4
  description: The Utopia method behind the fluid font-size and spacing tokens, and when to reach for them.
5
5
  weight: 8
6
+ icon: arrows-expand
6
7
  ---
7
8
 
8
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/design-tokens",
3
- "version": "1.8.0",
3
+ "version": "1.8.1",
4
4
  "description": "Framework-agnostic design tokens — JSON DTCG primitive and semantic — CSS custom properties.",
5
5
  "license": "MIT",
6
6
  "repository": {