@uniai-fe/uds-foundation 0.0.6 → 0.0.7

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.
@@ -57,6 +57,7 @@ const typography_tokens = {
57
57
  font_weight: 600
58
58
  }
59
59
  },
60
+ // Body scale follows the latest Figma Light tokens including xxsmall.
60
61
  body: {
61
62
  large: {
62
63
  size: 19,
@@ -71,12 +72,18 @@ const typography_tokens = {
71
72
  font_weight: 500
72
73
  },
73
74
  small: {
74
- size: 15,
75
+ size: 16,
75
76
  line_height: "1.5em",
76
77
  letter_spacing: 0,
77
78
  font_weight: 400
78
79
  },
79
80
  xsmall: {
81
+ size: 15,
82
+ line_height: "1.5em",
83
+ letter_spacing: 0,
84
+ font_weight: 400
85
+ },
86
+ xxsmall: {
80
87
  size: 13,
81
88
  line_height: "1.5em",
82
89
  letter_spacing: 0,
package/dist/index.css CHANGED
@@ -752,14 +752,18 @@
752
752
  --font-body-medium-line-height: 1.5em;
753
753
  --font-body-medium-letter-spacing: 0px;
754
754
  --font-body-medium-weight: 500;
755
- --font-body-small-size: 15px;
755
+ --font-body-small-size: 16px;
756
756
  --font-body-small-line-height: 1.5em;
757
757
  --font-body-small-letter-spacing: 0px;
758
758
  --font-body-small-weight: 400;
759
- --font-body-xsmall-size: 13px;
759
+ --font-body-xsmall-size: 15px;
760
760
  --font-body-xsmall-line-height: 1.5em;
761
761
  --font-body-xsmall-letter-spacing: 0px;
762
762
  --font-body-xsmall-weight: 400;
763
+ --font-body-xxsmall-size: 13px;
764
+ --font-body-xxsmall-line-height: 1.5em;
765
+ --font-body-xxsmall-letter-spacing: 0px;
766
+ --font-body-xxsmall-weight: 400;
763
767
  }
764
768
  }
765
769
  @layer theme.tokens.typography {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-foundation",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "UNIAI Design System; Design Foundation Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -12,7 +12,7 @@
12
12
  "publishConfig": {
13
13
  "access": "public"
14
14
  },
15
- "packageManager": "pnpm@10.26.0",
15
+ "packageManager": "pnpm@10.26.1",
16
16
  "engines": {
17
17
  "node": ">=24",
18
18
  "pnpm": ">=10"
@@ -97,7 +97,7 @@
97
97
  "postcss": "^8.5.6",
98
98
  "postcss-cli": "^11.0.1",
99
99
  "prettier": "^3.7.4",
100
- "sass": "^1.97.0",
100
+ "sass": "^1.97.1",
101
101
  "tsup": "^8.5.1",
102
102
  "typescript": "~5.9.3"
103
103
  }
@@ -59,6 +59,7 @@ export const typography_tokens: ThemeTokens["typography"] = {
59
59
  font_weight: 600,
60
60
  },
61
61
  },
62
+ // Body scale follows the latest Figma Light tokens including xxsmall.
62
63
  body: {
63
64
  large: {
64
65
  size: 19,
@@ -73,12 +74,18 @@ export const typography_tokens: ThemeTokens["typography"] = {
73
74
  font_weight: 500,
74
75
  },
75
76
  small: {
76
- size: 15,
77
+ size: 16,
77
78
  line_height: "1.5em",
78
79
  letter_spacing: 0,
79
80
  font_weight: 400,
80
81
  },
81
82
  xsmall: {
83
+ size: 15,
84
+ line_height: "1.5em",
85
+ letter_spacing: 0,
86
+ font_weight: 400,
87
+ },
88
+ xxsmall: {
82
89
  size: 13,
83
90
  line_height: "1.5em",
84
91
  letter_spacing: 0,
@@ -1,5 +1,6 @@
1
1
  @layer theme.tokens.typography {
2
2
  :root {
3
+ // Body typography scale is synced with Figma Light variables and includes xxsmall.
3
4
  --font-body-large-size: 19px;
4
5
  --font-body-large-line-height: 1.5em;
5
6
  --font-body-large-letter-spacing: 0px;
@@ -10,14 +11,19 @@
10
11
  --font-body-medium-letter-spacing: 0px;
11
12
  --font-body-medium-weight: 500;
12
13
 
13
- --font-body-small-size: 15px;
14
+ --font-body-small-size: 16px;
14
15
  --font-body-small-line-height: 1.5em;
15
16
  --font-body-small-letter-spacing: 0px;
16
17
  --font-body-small-weight: 400;
17
18
 
18
- --font-body-xsmall-size: 13px;
19
+ --font-body-xsmall-size: 15px;
19
20
  --font-body-xsmall-line-height: 1.5em;
20
21
  --font-body-xsmall-letter-spacing: 0px;
21
22
  --font-body-xsmall-weight: 400;
23
+
24
+ --font-body-xxsmall-size: 13px;
25
+ --font-body-xxsmall-line-height: 1.5em;
26
+ --font-body-xxsmall-letter-spacing: 0px;
27
+ --font-body-xxsmall-weight: 400;
22
28
  }
23
29
  }