@opencode-ai/ui 0.0.0-dev-17946 → 0.0.0-dev-17947

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencode-ai/ui",
3
- "version": "0.0.0-dev-17946",
3
+ "version": "0.0.0-dev-17947",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  font-size: 13px;
50
50
  font-style: normal;
51
51
  font-weight: 440;
52
- line-height: 1;
52
+ line-height: var(--line-height-compact);
53
53
  letter-spacing: -0.04px;
54
54
  color: var(--v2-text-text-base);
55
55
  font-variation-settings: "slnt" 0;
@@ -59,7 +59,7 @@
59
59
  font-size: 11px;
60
60
  font-style: normal;
61
61
  font-weight: 530;
62
- line-height: 1;
62
+ line-height: var(--line-height-tight);
63
63
  letter-spacing: 0.05px;
64
64
  color: var(--v2-text-text-faint);
65
65
  font-variation-settings: "slnt" 0;
@@ -138,7 +138,7 @@
138
138
  font-size: 13px;
139
139
  font-style: normal;
140
140
  font-weight: 530;
141
- line-height: 1;
141
+ line-height: var(--line-height-compact);
142
142
  letter-spacing: -0.04px;
143
143
  color: var(--v2-text-text-base);
144
144
  user-select: none;
@@ -20,7 +20,7 @@
20
20
  font-style: normal;
21
21
  font-weight: 530;
22
22
  font-size: 13px;
23
- line-height: 1;
23
+ line-height: var(--line-height-compact);
24
24
  letter-spacing: -0.04px;
25
25
  color: var(--v2-text-text-base);
26
26
  font-variation-settings: "slnt" 0;
@@ -92,7 +92,7 @@
92
92
  font-style: normal;
93
93
  font-weight: 440;
94
94
  font-size: 13px;
95
- line-height: 1;
95
+ line-height: var(--line-height-compact);
96
96
  letter-spacing: -0.04px;
97
97
  color: var(--v2-text-text-base);
98
98
  font-variation-settings: "slnt" 0;
@@ -76,7 +76,7 @@
76
76
 
77
77
  font-size: 13px;
78
78
  font-weight: 440;
79
- line-height: 100%;
79
+ line-height: var(--line-height-compact);
80
80
  letter-spacing: -0.04px;
81
81
  color: var(--menu-v2-fg);
82
82
  }
@@ -37,7 +37,7 @@
37
37
  font-style: normal;
38
38
  font-weight: 440;
39
39
  font-size: 13px;
40
- line-height: 100%;
40
+ line-height: var(--line-height-compact);
41
41
  letter-spacing: -0.04px;
42
42
  font-variant-numeric: tabular-nums;
43
43
  font-variation-settings: "slnt" 0;
@@ -59,7 +59,7 @@
59
59
 
60
60
  font-size: 13px;
61
61
  font-weight: 440;
62
- line-height: 100%;
62
+ line-height: var(--line-height-compact);
63
63
  letter-spacing: -0.04px;
64
64
  }
65
65
 
@@ -65,6 +65,9 @@
65
65
  --leading-lg: var(--line-height-large);
66
66
  --leading-xl: var(--line-height-x-large);
67
67
  --leading-2xl: var(--line-height-2x-large);
68
+ --leading-text-tight: var(--line-height-tight);
69
+ --leading-text-compact: var(--line-height-compact);
70
+ --leading-text-base: var(--line-height-base);
68
71
 
69
72
  --tracking-normal: var(--letter-spacing-normal);
70
73
  --tracking-tight: var(--letter-spacing-tight);
@@ -131,6 +131,9 @@
131
131
 
132
132
  --font-family-text: "Inter", sans-serif;
133
133
  --v2-font-family-sans: "Inter", sans-serif;
134
+ --line-height-tight: 12px;
135
+ --line-height-compact: 16px;
136
+ --line-height-base: 20px;
134
137
  }
135
138
 
136
139
  /* OS preference fallback (no JS needed) */