@uncinq/design-tokens 1.1.5 → 1.1.6

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.
@@ -5,7 +5,11 @@
5
5
  /* semantic/grid.css */
6
6
  @layer tokens {
7
7
  :root {
8
- --columns: 12;
8
+ --columns-mobile: 1;
9
+ --columns-tablet: 12;
10
+ --columns-tablet-wide: 12;
11
+ --columns-laptop: 12;
12
+ --columns-desktop: 12;
9
13
  --gap: var(--spacing-md);
10
14
  --gap-column: var(--spacing-md);
11
15
  --gap-row: var(--spacing-fluid-sm);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uncinq/design-tokens",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Framework-agnostic design tokens — JSON DTCG primitive and semantic — CSS custom properties.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -1,7 +1,25 @@
1
1
  {
2
2
  "columns": {
3
- "$value": "12",
4
- "$type": "number"
3
+ "mobile": {
4
+ "$value": "1",
5
+ "$type": "number"
6
+ },
7
+ "tablet": {
8
+ "$value": "12",
9
+ "$type": "number"
10
+ },
11
+ "tabletWide": {
12
+ "$value": "12",
13
+ "$type": "number"
14
+ },
15
+ "laptop": {
16
+ "$value": "12",
17
+ "$type": "number"
18
+ },
19
+ "desktop": {
20
+ "$value": "12",
21
+ "$type": "number"
22
+ }
5
23
  },
6
24
  "gap": {
7
25
  "default": {
@@ -23,15 +41,15 @@
23
41
  "$type": "string"
24
42
  },
25
43
  "half": {
26
- "$value": "span calc({columns} / 2)",
44
+ "$value": "span calc(var(--columns) / 2)",
27
45
  "$type": "string"
28
46
  },
29
47
  "quarter": {
30
- "$value": "span calc({columns} / 4)",
48
+ "$value": "span calc(var(--columns) / 4)",
31
49
  "$type": "string"
32
50
  },
33
51
  "third": {
34
- "$value": "span calc({columns} / 3)",
52
+ "$value": "span calc(var(--columns) / 3)",
35
53
  "$type": "string"
36
54
  }
37
55
  }