@astra-spec/ui 0.0.4 → 0.0.5

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.
Files changed (89) hide show
  1. package/TOKENS.md +14 -8
  2. package/dist/blocks/findings-list.d.ts.map +1 -1
  3. package/dist/blocks/findings-list.js +2 -1
  4. package/dist/blocks/findings-list.js.map +1 -1
  5. package/dist/blocks/section.d.ts.map +1 -1
  6. package/dist/blocks/section.js +3 -2
  7. package/dist/blocks/section.js.map +1 -1
  8. package/dist/components/insight-trigger.d.ts.map +1 -1
  9. package/dist/components/insight-trigger.js +3 -2
  10. package/dist/components/insight-trigger.js.map +1 -1
  11. package/dist/components/paper-detail.d.ts.map +1 -1
  12. package/dist/components/paper-detail.js +2 -2
  13. package/dist/components/paper-detail.js.map +1 -1
  14. package/dist/components/record-preview.d.ts.map +1 -1
  15. package/dist/components/record-preview.js +8 -7
  16. package/dist/components/record-preview.js.map +1 -1
  17. package/dist/model/kind.d.ts +1 -1
  18. package/dist/model/kind.d.ts.map +1 -1
  19. package/dist/model/kind.js +3 -3
  20. package/dist/model/kind.js.map +1 -1
  21. package/dist/primitives/index.d.ts +4 -0
  22. package/dist/primitives/index.d.ts.map +1 -1
  23. package/dist/primitives/index.js +2 -0
  24. package/dist/primitives/index.js.map +1 -1
  25. package/dist/primitives/inline-reference.d.ts +9 -0
  26. package/dist/primitives/inline-reference.d.ts.map +1 -0
  27. package/dist/primitives/inline-reference.js +14 -0
  28. package/dist/primitives/inline-reference.js.map +1 -0
  29. package/dist/primitives/kind-glyph.d.ts +8 -0
  30. package/dist/primitives/kind-glyph.d.ts.map +1 -0
  31. package/dist/primitives/kind-glyph.js +9 -0
  32. package/dist/primitives/kind-glyph.js.map +1 -0
  33. package/dist/primitives/preview-popover.d.ts +1 -1
  34. package/dist/primitives/preview-popover.d.ts.map +1 -1
  35. package/dist/primitives/record-list.d.ts.map +1 -1
  36. package/dist/primitives/record-list.js +3 -2
  37. package/dist/primitives/record-list.js.map +1 -1
  38. package/dist/primitives/relation-list.d.ts.map +1 -1
  39. package/dist/primitives/relation-list.js +3 -2
  40. package/dist/primitives/relation-list.js.map +1 -1
  41. package/isolate.css +7 -0
  42. package/package.json +5 -3
  43. package/primitives.css +2 -0
  44. package/src/blocks/findings-list.tsx +2 -1
  45. package/src/blocks/section.tsx +3 -2
  46. package/src/components/insight-trigger.tsx +3 -2
  47. package/src/components/paper-detail.tsx +2 -2
  48. package/src/components/record-preview.tsx +8 -14
  49. package/src/model/kind.ts +3 -3
  50. package/src/primitives/index.ts +4 -0
  51. package/src/primitives/inline-reference.tsx +25 -0
  52. package/src/primitives/kind-glyph.tsx +24 -0
  53. package/src/primitives/preview-popover.tsx +1 -1
  54. package/src/primitives/record-list.tsx +3 -4
  55. package/src/primitives/relation-list.tsx +4 -7
  56. package/styles/blocks/analysis-tree.css +4 -4
  57. package/styles/blocks/decisions-list.css +6 -6
  58. package/styles/blocks/outputs-list.css +34 -34
  59. package/styles/blocks/papers-list.css +12 -12
  60. package/styles/blocks/records.css +13 -13
  61. package/styles/components/artifact-preview.css +15 -15
  62. package/styles/components/decision-detail.css +23 -23
  63. package/styles/components/evidence.css +2 -7
  64. package/styles/components/finding-detail.css +11 -11
  65. package/styles/components/input-detail.css +7 -7
  66. package/styles/components/insight-detail.css +17 -17
  67. package/styles/components/insight-list.css +6 -6
  68. package/styles/components/insight-trigger.css +5 -5
  69. package/styles/components/output-detail.css +51 -51
  70. package/styles/components/paper-detail.css +22 -22
  71. package/styles/components/paper-doi.css +2 -2
  72. package/styles/components/paper-pdf-viewer.css +6 -6
  73. package/styles/components/record-preview.css +444 -268
  74. package/styles/primitives/badge.css +1 -1
  75. package/styles/primitives/button.css +25 -25
  76. package/styles/primitives/count-heading.css +3 -3
  77. package/styles/primitives/detail-layout.css +20 -20
  78. package/styles/primitives/dialog.css +77 -77
  79. package/styles/primitives/empty-state.css +1 -1
  80. package/styles/primitives/inline-reference.css +37 -0
  81. package/styles/primitives/kind-glyph.css +31 -0
  82. package/styles/primitives/kind.css +6 -0
  83. package/styles/primitives/preview-popover.css +6 -11
  84. package/styles/primitives/prose.css +1 -1
  85. package/styles/primitives/record-list.css +32 -48
  86. package/styles/primitives/relation-list.css +14 -36
  87. package/styles/primitives/surface-header.css +15 -11
  88. package/styles/tokens.css +19 -9
  89. package/styles/views/inventory.css +25 -27
@@ -7,7 +7,7 @@
7
7
  }
8
8
 
9
9
  :where(.astra-ui) .astra-record-list__body > button {
10
- grid-template-columns: minmax(0, 1fr) auto 1rem;
10
+ grid-template-columns: minmax(0, 1fr) auto 16px;
11
11
  }
12
12
 
13
13
  }
@@ -15,7 +15,7 @@
15
15
  :where(.astra-ui) .astra-record-list__body > button {
16
16
  display: grid;
17
17
  grid-template-columns: var(--astra-record-columns);
18
- gap: 0.75rem;
18
+ gap: 12px;
19
19
  align-items: center;
20
20
  }
21
21
 
@@ -23,7 +23,7 @@
23
23
  border-top: 1px solid var(--astra-color-border);
24
24
  border-bottom: 1px solid var(--astra-color-border);
25
25
  color: var(--astra-color-text-subtle);
26
- padding: 0.45rem 0.9rem;
26
+ padding: 7.2px 14.4px;
27
27
  font-family: var(--astra-font-ui);
28
28
  font-size: var(--astra-font-size-2xs);
29
29
  font-weight: 700;
@@ -36,22 +36,21 @@
36
36
  }
37
37
 
38
38
  :where(.astra-ui) .astra-record-list__name {
39
+ font-size: var(--astra-font-size-sm);
39
40
  display: flex;
40
41
  min-width: 0;
41
- gap: 0.65rem;
42
+ gap: 10.4px;
42
43
  align-items: center;
43
44
  }
44
45
 
45
46
  :where(.astra-ui) .astra-record-list__glyph {
46
47
  flex: 0 0 auto;
47
- color: var(--astra-color-text-subtle);
48
- font-size: 1rem;
49
48
  }
50
49
 
51
50
  :where(.astra-ui) .astra-record-list__name > span:last-child {
52
51
  display: grid;
53
52
  min-width: 0;
54
- gap: 0.14rem;
53
+ gap: 2.24px;
55
54
  }
56
55
 
57
56
  :where(.astra-ui) .astra-record-list__name strong,
@@ -65,7 +64,7 @@
65
64
 
66
65
  :where(.astra-ui) .astra-record-list__name strong {
67
66
  font-family: var(--astra-font-ui);
68
- font-size: 0.78rem;
67
+ font-size: 12.48px;
69
68
  }
70
69
 
71
70
  :where(.astra-ui) .astra-record-list__name small {
@@ -77,9 +76,9 @@
77
76
  display: inline-block;
78
77
  width: max-content;
79
78
  border: 1px solid var(--astra-color-border-strong);
80
- border-radius: 0.22rem;
79
+ border-radius: 3.52px;
81
80
  color: var(--astra-color-text-muted);
82
- padding: 0.13rem 0.32rem;
81
+ padding: 2.08px 5.12px;
83
82
  font-family: var(--astra-font-mono);
84
83
  font-size: var(--astra-font-size-2xs);
85
84
  }
@@ -120,14 +119,8 @@
120
119
  align-items: flex-start;
121
120
  }
122
121
 
123
- :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) .astra-record-list__glyph {
124
- color: var(--astra-color-kind-finding);
125
- font-size: var(--astra-font-size-xs);
126
- line-height: 1.35rem;
127
- }
128
-
129
122
  :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) > span:last-child {
130
- gap: 0.2rem;
123
+ gap: 3.2px;
131
124
  }
132
125
 
133
126
  :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) small {
@@ -143,17 +136,13 @@
143
136
  overflow: visible;
144
137
  color: var(--astra-color-text);
145
138
  font-family: var(--astra-font-body);
146
- font-size: 0.83rem;
139
+ font-size: 13.28px;
147
140
  font-weight: 500;
148
141
  line-height: 1.38;
149
142
  text-overflow: clip;
150
143
  white-space: normal;
151
144
  }
152
145
 
153
- :where(.astra-ui) .astra-record-list__glyph[data-kind] {
154
- color: var(--astra-kind);
155
- }
156
-
157
146
  :where(.astra-ui) .astra-record-list__head {
158
147
  border-color: var(--astra-color-border);
159
148
  background: var(--astra-color-header);
@@ -188,7 +177,7 @@
188
177
  border-radius: 4px;
189
178
  background: var(--astra-color-kind-decision-soft);
190
179
  color: var(--astra-color-kind-decision-ink);
191
- padding: 0.16rem 0.42rem;
180
+ padding: 2.56px 6.72px;
192
181
  font-size: var(--astra-font-size-2xs);
193
182
  }
194
183
 
@@ -196,7 +185,6 @@
196
185
  font-family: var(--astra-font-mono);
197
186
  }
198
187
 
199
- :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) .astra-record-list__glyph,
200
188
  :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) small {
201
189
  color: var(--astra-color-kind-finding);
202
190
  }
@@ -206,9 +194,9 @@
206
194
  }
207
195
 
208
196
  :where(.astra-ui) .astra-record-list__body > button {
209
- min-height: 2.75rem;
210
- gap: 0.75rem;
211
- padding: 0.6875rem 0.125rem;
197
+ min-height: 44px;
198
+ gap: 12px;
199
+ padding: 11px 2px;
212
200
  border-color: var(--astra-color-border-subtle);
213
201
  background: transparent;
214
202
  font-family: var(--astra-font-ui);
@@ -220,11 +208,11 @@
220
208
  }
221
209
 
222
210
  :where(.astra-ui) .astra-record-list__name {
223
- gap: 0.6rem;
211
+ font-size: var(--astra-font-size-sm);
212
+ gap: 9.6px;
224
213
  }
225
214
 
226
215
  :where(.astra-ui) .astra-record-list__glyph {
227
- font-size: var(--astra-font-size-xs);
228
216
  text-align: center;
229
217
  }
230
218
 
@@ -235,7 +223,7 @@
235
223
 
236
224
  :where(.astra-ui) .astra-record-list__name small {
237
225
  font-family: var(--astra-font-ui);
238
- font-size: 0.71875rem;
226
+ font-size: 11.5px;
239
227
  }
240
228
 
241
229
  :where(.astra-ui) .astra-record-list__selected {
@@ -246,7 +234,7 @@
246
234
  color: var(--astra-color-text-muted);
247
235
  padding: 0;
248
236
  font-family: var(--astra-font-body);
249
- font-size: 0.84375rem;
237
+ font-size: 13.5px;
250
238
  font-weight: 400;
251
239
  }
252
240
 
@@ -270,10 +258,10 @@
270
258
  color: var(--astra-color-text-faint);
271
259
  }
272
260
 
273
- @container (max-width: 38rem) {
261
+ @container (max-width: 608px) {
274
262
  :where(.astra-ui) .astra-record-list__body > button {
275
- grid-template-columns: minmax(0, 1fr) 1.25rem;
276
- row-gap: 0.25rem;
263
+ grid-template-columns: minmax(0, 1fr) 20px;
264
+ row-gap: 4px;
277
265
  }
278
266
 
279
267
  :where(.astra-ui) .astra-record-list__primary {
@@ -314,11 +302,11 @@
314
302
  :where(.astra-ui) .astra-record-list__body > button {
315
303
  display: grid;
316
304
  grid-template-columns: var(--astra-record-columns);
317
- gap: 0.75rem;
305
+ gap: 12px;
318
306
  align-items: baseline;
319
307
  width: 100%;
320
308
  min-height: 0;
321
- padding: 0.6875rem 0.125rem;
309
+ padding: 11px 2px;
322
310
  border: 0;
323
311
  border-bottom: 1px solid var(--astra-color-border-subtle);
324
312
  background: transparent;
@@ -333,14 +321,14 @@
333
321
  }
334
322
 
335
323
  :where(.astra-ui) .astra-record-list__name {
324
+ font-size: var(--astra-font-size-sm);
336
325
  display: grid;
337
- grid-template-columns: 1rem minmax(0, 1fr);
338
- gap: 0.75rem;
326
+ grid-template-columns: 16px minmax(0, 1fr);
327
+ gap: 12px;
339
328
  align-items: baseline;
340
329
  }
341
330
 
342
331
  :where(.astra-ui) .astra-record-list__glyph {
343
- font-size: var(--astra-font-size-2xs);
344
332
  text-align: center;
345
333
  }
346
334
 
@@ -357,7 +345,7 @@
357
345
  :where(.astra-ui) .astra-record-list__count {
358
346
  overflow: hidden;
359
347
  color: var(--astra-color-text-muted);
360
- font: 400 0.84375rem/1.25 var(--astra-font-body);
348
+ font: 400 13.5px/1.25 var(--astra-font-body);
361
349
  text-overflow: ellipsis;
362
350
  white-space: nowrap;
363
351
  }
@@ -386,14 +374,10 @@
386
374
  text-align: right;
387
375
  }
388
376
 
389
- :where(.astra-ui) .astra-record-list__name:where([data-variant="claim"]) .astra-record-list__glyph {
390
- color: var(--astra-color-kind-finding);
391
- }
392
-
393
- @container (max-width: 34rem) {
377
+ @container (max-width: 544px) {
394
378
  :where(.astra-ui) .astra-record-list__body > button {
395
- grid-template-columns: minmax(0, 1fr) 1.25rem;
396
- row-gap: 0.25rem;
379
+ grid-template-columns: minmax(0, 1fr) 20px;
380
+ row-gap: 4px;
397
381
  }
398
382
 
399
383
  :where(.astra-ui) .astra-record-list__primary {
@@ -416,7 +400,7 @@
416
400
 
417
401
  }
418
402
  :where(.astra-ui) .astra-record-list__body {
419
- max-height: min(28rem, 55vh);
403
+ max-height: min(448px, 55vh);
420
404
  overflow-y: auto;
421
405
  overscroll-behavior: contain;
422
406
  scrollbar-gutter: stable;
@@ -3,21 +3,21 @@
3
3
  @layer astra.components {
4
4
  :where(.astra-ui) .astra-relation-list__header {
5
5
  display: flex;
6
- gap: 0.75rem;
6
+ gap: 12px;
7
7
  align-items: center;
8
8
  justify-content: space-between;
9
9
  }
10
10
 
11
11
  :where(.astra-ui) .astra-relation-list li {
12
12
  display: grid;
13
- grid-template-columns: 0.9rem minmax(0, 1fr) auto;
14
- column-gap: 0.55rem;
13
+ grid-template-columns: 14.4px minmax(0, 1fr) auto;
14
+ column-gap: 8.8px;
15
15
  align-items: center;
16
16
  border: 0;
17
17
  border-bottom: 1px solid var(--astra-color-border);
18
18
  border-radius: 0;
19
19
  background: transparent;
20
- padding: 0.62rem 0.08rem;
20
+ padding: 9.92px 1.28px;
21
21
  }
22
22
 
23
23
  :where(.astra-ui) .astra-relation-list li[data-interactive] {
@@ -27,16 +27,16 @@
27
27
 
28
28
  :where(.astra-ui) .astra-relation-list__trigger {
29
29
  display: grid;
30
- grid-template-columns: 0.9rem minmax(0, 1fr) auto;
30
+ grid-template-columns: 14.4px minmax(0, 1fr) auto;
31
31
  width: 100%;
32
- column-gap: 0.55rem;
32
+ column-gap: 8.8px;
33
33
  align-items: center;
34
34
  cursor: pointer;
35
35
  border: 0;
36
36
  border-radius: 0;
37
37
  background: transparent;
38
38
  color: inherit;
39
- padding: 0.62rem 0.08rem;
39
+ padding: 9.92px 1.28px;
40
40
  text-align: left;
41
41
  }
42
42
 
@@ -55,39 +55,17 @@
55
55
  grid-column: 1;
56
56
  grid-row: 1 / span 2;
57
57
  align-self: start;
58
- color: var(--astra-color-text-subtle);
59
- line-height: 1.2;
60
58
  }
61
59
 
62
60
  :where(.astra-ui) .astra-relation-item__glyph[data-empty] {
63
61
  visibility: hidden;
64
62
  }
65
63
 
66
- :where(.astra-ui) .astra-relation-list [data-kind="decision"] .astra-relation-item__glyph {
67
- color: var(--astra-color-kind-decision);
68
- }
69
-
70
- :where(.astra-ui) .astra-relation-list [data-kind="input"] .astra-relation-item__glyph {
71
- color: var(--astra-color-kind-input);
72
- }
73
-
74
- :where(.astra-ui) .astra-relation-list [data-kind="output"] .astra-relation-item__glyph {
75
- color: var(--astra-color-kind-output);
76
- }
77
-
78
- :where(.astra-ui) .astra-relation-list [data-kind="finding"] .astra-relation-item__glyph {
79
- color: var(--astra-color-kind-finding);
80
- }
81
-
82
- :where(.astra-ui) .astra-relation-list [data-kind="prior_insight"] .astra-relation-item__glyph {
83
- color: var(--astra-color-kind-insight);
84
- }
85
-
86
64
  :where(.astra-ui) .astra-relation-item__copy {
87
65
  display: grid;
88
66
  grid-column: 2;
89
67
  min-width: 0;
90
- gap: 0.1rem;
68
+ gap: 1.6px;
91
69
  }
92
70
 
93
71
  :where(.astra-ui) .astra-relation-list li > small {
@@ -118,7 +96,7 @@
118
96
  }
119
97
 
120
98
  :where(.astra-ui) .astra-relation-list > .astra-relation-list__description {
121
- margin: 0.22rem 0 0.62rem;
99
+ margin: 3.52px 0 9.92px;
122
100
  color: var(--astra-color-text-subtle);
123
101
  font-size: var(--astra-font-size-xs);
124
102
  line-height: 1.45;
@@ -127,7 +105,7 @@
127
105
  :where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-relation-list li,
128
106
  :where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-relation-list__trigger {
129
107
  min-height: 0;
130
- padding-block: 0.5rem;
108
+ padding-block: 8px;
131
109
  }
132
110
 
133
111
  :where(.astra-ui) .astra-relation-list ul {
@@ -135,7 +113,7 @@
135
113
  list-style: none;
136
114
  display: grid;
137
115
  gap: 0;
138
- margin: 0.5rem 0 0;
116
+ margin: 8px 0 0;
139
117
  border: 0;
140
118
  padding: 0;
141
119
  }
@@ -157,8 +135,8 @@
157
135
 
158
136
  :where(.astra-ui) .astra-relation-list__trigger,
159
137
  :where(.astra-ui) .astra-relation-list li:where(:not([data-interactive])) {
160
- grid-template-columns: 1.375rem minmax(0, 1fr) 1rem;
161
- padding: 0.625rem 0.25rem;
138
+ grid-template-columns: 22px minmax(0, 1fr) 16px;
139
+ padding: 10px 4px;
162
140
  }
163
141
 
164
142
  :where(.astra-ui) .astra-relation-item__label {
@@ -166,7 +144,7 @@
166
144
  }
167
145
 
168
146
  :where(.astra-ui) .astra-relation-list small {
169
- margin-top: 0.125rem;
147
+ margin-top: 2px;
170
148
  color: var(--astra-color-text-subtle);
171
149
  font-size: var(--astra-font-size-2xs);
172
150
  }
@@ -50,12 +50,12 @@
50
50
  }
51
51
 
52
52
  :where(.astra-ui) .astra-surface-header[data-density="regular"] {
53
- min-height: 4.5rem;
54
- padding: 0.85rem 1rem;
53
+ min-height: 72px;
54
+ padding: 13.6px 16px;
55
55
  }
56
56
 
57
57
  :where(.astra-ui) .astra-surface-header[data-density="compact"] {
58
- padding: 0.72rem 0.8rem;
58
+ padding: 11.52px 12.8px;
59
59
  }
60
60
 
61
61
  :where(.astra-ui) .astra-surface-header[data-density="inline"] {
@@ -69,7 +69,7 @@
69
69
  :where(.astra-ui) .astra-surface-header .astra-surface-header__content {
70
70
  display: grid;
71
71
  min-width: 0;
72
- gap: 0.2rem;
72
+ gap: 3.2px;
73
73
  }
74
74
 
75
75
  :where(.astra-ui) .astra-surface-header[data-density="inline"] .astra-surface-header__content {
@@ -97,14 +97,14 @@
97
97
  margin: 0;
98
98
  color: var(--astra-color-text);
99
99
  font-family: var(--astra-font-heading);
100
- font-size: clamp(1.05rem, 2vw, 1.4rem);
100
+ font-size: clamp(16.8px, 2vw, 22.4px);
101
101
  font-weight: 650;
102
102
  line-height: 1.2;
103
103
  }
104
104
 
105
105
  :where(.astra-ui) .astra-surface-header[data-density="compact"] .astra-surface-header__title {
106
- margin-block-start: 0.15rem;
107
- font-size: 0.86rem;
106
+ margin-block-start: 2.4px;
107
+ font-size: 13.76px;
108
108
  line-height: 1.25;
109
109
  }
110
110
 
@@ -120,7 +120,7 @@
120
120
  display: flex;
121
121
  flex: 0 0 auto;
122
122
  align-items: center;
123
- gap: 0.35rem;
123
+ gap: 5.6px;
124
124
  }
125
125
 
126
126
  :where(.astra-ui) .astra-surface-header .astra-surface-header__eyebrow {
@@ -134,7 +134,7 @@
134
134
  :where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-surface-header__content {
135
135
  display: grid;
136
136
  min-width: 0;
137
- gap: 0.5rem;
137
+ gap: 8px;
138
138
  }
139
139
 
140
140
  :where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-surface-header__eyebrow {
@@ -143,7 +143,7 @@
143
143
 
144
144
  :where(.astra-ui) .astra-dialog__header .astra-surface-header__leading {
145
145
  flex: 0 0 auto;
146
- margin-top: 0.1875rem;
146
+ margin-top: 3px;
147
147
  }
148
148
 
149
149
  :where(.astra-ui) .astra-dialog__header .astra-surface-header__eyebrow {
@@ -163,7 +163,7 @@
163
163
  flex: 1 1 auto;
164
164
  display: grid;
165
165
  min-width: 0;
166
- gap: 0.3rem;
166
+ gap: 4.8px;
167
167
  }
168
168
 
169
169
  :where(.astra-ui) .astra-dialog__header .astra-surface-header__eyebrow,
@@ -180,4 +180,8 @@
180
180
  font-size: var(--astra-font-size-2xs);
181
181
  }
182
182
 
183
+ :where(.astra-ui) .astra-dialog .astra-dialog__header .astra-surface-header__title {
184
+ font: 600 var(--astra-font-size-title)/1.25 var(--astra-font-ui);
185
+ letter-spacing: -0.01em;
186
+ }
183
187
  }
package/styles/tokens.css CHANGED
@@ -72,21 +72,31 @@
72
72
 
73
73
  /* Type scale. --astra-font-size is the default (md) step; the smaller
74
74
  steps cover chrome text — labels (sm), body-adjacent metadata (xs)
75
- and badges/eyebrows/meta (2xs). 0.6875rem (11px) is the floor:
75
+ and badges/eyebrows/meta (2xs). The neutral theme uses an 11px floor:
76
76
  nothing legible renders below it. */
77
- --astra-font-size-2xs: 0.6875rem;
78
- --astra-font-size-xs: 0.75rem;
79
- --astra-font-size-sm: 0.8125rem;
80
- --astra-font-size: 0.875rem;
77
+ --astra-font-size-2xs: 11px;
78
+ --astra-font-size-xs: 12px;
79
+ --astra-font-size-sm: 13px;
80
+ --astra-font-size: 14px;
81
+
82
+ --astra-color-surface-inset: color-mix(in srgb, var(--astra-color-text) 4%, var(--astra-color-surface-muted));
83
+ --astra-color-accent-soft: color-mix(in srgb, var(--astra-color-accent) 12%, transparent);
84
+ --astra-color-kind-value: var(--astra-color-kind-analysis);
85
+ --astra-color-preview-pointer: var(--astra-color-text);
86
+ --astra-color-citation: var(--astra-kind);
87
+ --astra-color-citation-hover: var(--astra-color-link);
88
+ --astra-font-size-meta: 11px;
89
+ --astra-font-size-title: 20px;
90
+ --astra-font-size-claim: 19px;
81
91
 
82
92
  /* Geometry */
83
93
  --astra-radius-control: 0;
84
- --astra-radius-preview: 0.1875rem;
94
+ --astra-radius-preview: 3px;
85
95
  --astra-shadow-raised: none;
86
96
  --astra-shadow-preview: 0 6px 18px rgb(34 31 32 / 0.1);
87
- --astra-width-preview: 27.5rem;
88
- --astra-space-2: 0.5rem;
89
- --astra-space-3: 0.75rem;
97
+ --astra-width-preview: 440px;
98
+ --astra-space-2: 8px;
99
+ --astra-space-3: 12px;
90
100
  --astra-z-dialog: 1000;
91
101
  --astra-z-preview: 1100;
92
102
  --astra-z-fullscreen: 10000;
@@ -7,12 +7,12 @@
7
7
  }
8
8
 
9
9
  :where(.astra-ui) .astra-inventory__sections {
10
- gap: 3rem;
10
+ gap: 48px;
11
11
  }
12
12
 
13
13
  }
14
14
  :where(.astra-ui) .astra-inventory__section h2 {
15
- scroll-margin-top: 2rem;
15
+ scroll-margin-top: 32px;
16
16
  }
17
17
 
18
18
  :where(.astra-ui) .astra-inventory__section:first-child > h2 {
@@ -29,20 +29,20 @@
29
29
  }
30
30
 
31
31
  :where(.astra-ui) .astra-inventory__sections {
32
- gap: 2.75rem;
32
+ gap: 44px;
33
33
  }
34
34
 
35
35
  :where(.astra-ui) .astra-inventory {
36
36
  container-type: inline-size;
37
37
  min-height: 0;
38
- padding-bottom: 4rem;
38
+ padding-bottom: 64px;
39
39
  background: var(--astra-color-canvas);
40
40
  color: var(--astra-color-text);
41
41
  font-family: var(--astra-font-body);
42
42
  }
43
43
 
44
44
  :where(.astra-ui) .astra-inventory__sections {
45
- gap: 2.75rem;
45
+ gap: 44px;
46
46
  }
47
47
 
48
48
  :where(.astra-ui) .astra-inventory__section {
@@ -50,13 +50,13 @@
50
50
  }
51
51
 
52
52
  :where(.astra-ui) .astra-inventory__section > h2 {
53
- margin-bottom: 0.65rem;
54
- margin: 0 0 1rem;
55
- padding: 0 0 0.5rem;
53
+ margin-bottom: 10.4px;
54
+ margin: 0 0 16px;
55
+ padding: 0 0 8px;
56
56
  border-block-end: 1px solid var(--astra-color-border-strong);
57
57
  color: var(--astra-color-text);
58
58
  font-family: var(--astra-font-heading);
59
- font-size: 1.1875rem;
59
+ font-size: var(--astra-font-size-claim);
60
60
  font-weight: 700;
61
61
  line-height: 1.2;
62
62
  }
@@ -67,8 +67,8 @@
67
67
 
68
68
  :where(.astra-ui) .astra-inventory__layout {
69
69
  display: grid;
70
- grid-template-columns: minmax(0, 1fr) 11.25rem;
71
- gap: 3rem;
70
+ grid-template-columns: minmax(0, 1fr) 180px;
71
+ gap: 48px;
72
72
  align-items: start;
73
73
  }
74
74
 
@@ -76,7 +76,7 @@
76
76
  display: flex;
77
77
  min-width: 0;
78
78
  flex-direction: column;
79
- gap: 2.75rem;
79
+ gap: 44px;
80
80
  }
81
81
 
82
82
  /* Sections are block-flow, and the per-kind blocks inside them keep their
@@ -91,9 +91,9 @@
91
91
  display: flex;
92
92
  align-items: baseline;
93
93
  justify-content: space-between;
94
- gap: 1.125rem;
95
- margin-bottom: 1rem;
96
- padding-bottom: 0.5rem;
94
+ gap: 18px;
95
+ margin-bottom: 16px;
96
+ padding-bottom: 8px;
97
97
  border-bottom: 1px solid var(--astra-color-border-strong);
98
98
  }
99
99
 
@@ -105,27 +105,27 @@
105
105
  color: var(--astra-color-text);
106
106
  background: transparent;
107
107
  font-family: var(--astra-font-heading);
108
- font-size: 1.1875rem;
108
+ font-size: var(--astra-font-size-claim);
109
109
  font-weight: 700;
110
110
  line-height: 1.2;
111
- scroll-margin-top: 4.5rem;
111
+ scroll-margin-top: 72px;
112
112
  }
113
113
 
114
114
  :where(.astra-ui) .astra-inventory__heading > span {
115
115
  flex: 0 0 auto;
116
116
  color: var(--astra-color-text-subtle);
117
117
  font-family: var(--astra-font-ui);
118
- font-size: 0.78125rem;
118
+ font-size: 12.5px;
119
119
  }
120
120
 
121
121
  :where(.astra-ui) .astra-inventory-outline {
122
122
  position: sticky;
123
- top: 4.5rem;
123
+ top: 72px;
124
124
  min-width: 0;
125
125
  }
126
126
 
127
127
  :where(.astra-ui) .astra-inventory-outline h3 {
128
- margin: 0 0 0.5rem;
128
+ margin: 0 0 8px;
129
129
  color: var(--astra-color-text-subtle);
130
130
  font-family: var(--astra-font-ui);
131
131
  font-size: var(--astra-font-size-2xs);
@@ -141,10 +141,10 @@
141
141
 
142
142
  :where(.astra-ui) .astra-inventory-outline a {
143
143
  display: grid;
144
- grid-template-columns: 0.75rem minmax(0, 1fr) auto;
145
- gap: 0.5625rem;
144
+ grid-template-columns: 12px minmax(0, 1fr) auto;
145
+ gap: 9px;
146
146
  align-items: baseline;
147
- padding: 0.4375rem 0;
147
+ padding: 7px 0;
148
148
  border-bottom: 1px solid var(--astra-color-border-subtle);
149
149
  color: var(--astra-color-text-subtle);
150
150
  font-family: var(--astra-font-ui);
@@ -157,8 +157,6 @@
157
157
  }
158
158
 
159
159
  :where(.astra-ui) .astra-inventory-outline__glyph {
160
- color: var(--astra-kind, var(--astra-color-text-subtle));
161
- font-size: var(--astra-font-size-2xs);
162
160
  text-align: center;
163
161
  }
164
162
 
@@ -167,7 +165,7 @@
167
165
  color: var(--astra-color-text);
168
166
  }
169
167
 
170
- @container (max-width: 62rem) {
168
+ @container (max-width: 992px) {
171
169
  :where(.astra-ui) .astra-inventory__layout {
172
170
  grid-template-columns: minmax(0, 1fr);
173
171
  }
@@ -177,7 +175,7 @@
177
175
  }
178
176
 
179
177
  }
180
- @container (max-width: 34rem) {
178
+ @container (max-width: 544px) {
181
179
  :where(.astra-ui) .astra-inventory__heading {
182
180
  align-items: flex-start;
183
181
  }