@e-burgos/tucu-ui 2.7.2 → 2.8.0

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 (63) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/base.css +225 -0
  3. package/components/inputs/select.mjs +1 -1
  4. package/components/loaders/loader.mjs +21 -21
  5. package/components/typography/index.mjs +30 -30
  6. package/components/utils/code-block.mjs +1 -1
  7. package/hooks/use-breakpoint.mjs +21 -5
  8. package/hooks/use-click-away.mjs +17 -6
  9. package/hooks/use-copy-to-clipboard.mjs +45 -6
  10. package/hooks/use-measure.mjs +24 -4
  11. package/index.css +1 -1
  12. package/index.d.ts +29 -6
  13. package/index.js +9 -9
  14. package/macos/index.css +15 -0
  15. package/macos/sonoma/index.css +34 -0
  16. package/macos/sonoma/macos-auth.css +162 -0
  17. package/macos/sonoma/macos-backgrounds.css +314 -0
  18. package/macos/sonoma/macos-buttons.css +231 -0
  19. package/macos/sonoma/macos-cards.css +104 -0
  20. package/macos/sonoma/macos-content.css +157 -0
  21. package/macos/sonoma/macos-dialogs.css +122 -0
  22. package/macos/sonoma/macos-feedback.css +237 -0
  23. package/macos/sonoma/macos-fonts.css +7 -0
  24. package/macos/sonoma/macos-foundations.css +479 -0
  25. package/macos/sonoma/macos-inputs.css +1580 -0
  26. package/macos/sonoma/macos-layouts.css +223 -0
  27. package/macos/sonoma/macos-liquid-glass.css +279 -0
  28. package/macos/sonoma/macos-menus.css +184 -0
  29. package/macos/sonoma/macos-misc.css +635 -0
  30. package/macos/sonoma/macos-navigation.css +145 -0
  31. package/macos/sonoma/macos-selection.css +237 -0
  32. package/macos/sonoma/macos-sidebar.css +416 -0
  33. package/macos/sonoma/macos-tables.css +318 -0
  34. package/macos/sonoma/macos-toolbar.css +302 -0
  35. package/macos/sonoma/macos-typography.css +485 -0
  36. package/macos/sonoma/macos-window.css +273 -0
  37. package/macos/tahoe/index.css +34 -0
  38. package/macos/tahoe/macos-auth.css +162 -0
  39. package/macos/tahoe/macos-backgrounds.css +314 -0
  40. package/macos/tahoe/macos-buttons.css +286 -0
  41. package/macos/tahoe/macos-cards.css +125 -0
  42. package/macos/tahoe/macos-content.css +157 -0
  43. package/macos/tahoe/macos-dialogs.css +195 -0
  44. package/macos/tahoe/macos-feedback.css +273 -0
  45. package/macos/tahoe/macos-fonts.css +7 -0
  46. package/macos/tahoe/macos-foundations.css +516 -0
  47. package/macos/tahoe/macos-inputs.css +1656 -0
  48. package/macos/tahoe/macos-layouts.css +438 -0
  49. package/macos/tahoe/macos-liquid-glass.css +279 -0
  50. package/macos/tahoe/macos-menus.css +184 -0
  51. package/macos/tahoe/macos-misc.css +635 -0
  52. package/macos/tahoe/macos-navigation.css +191 -0
  53. package/macos/tahoe/macos-selection.css +237 -0
  54. package/macos/tahoe/macos-sidebar.css +420 -0
  55. package/macos/tahoe/macos-tables.css +320 -0
  56. package/macos/tahoe/macos-toolbar.css +304 -0
  57. package/macos/tahoe/macos-typography.css +485 -0
  58. package/macos/tahoe/macos-window.css +273 -0
  59. package/package.json +3 -3
  60. package/theme.css +812 -0
  61. package/third-party.css +39 -0
  62. package/utilities.css +105 -0
  63. package/hooks/internal/cjs-esm-interop.mjs +0 -9
@@ -0,0 +1,485 @@
1
+ /* ============================================================
2
+ macOS Tahoe 26 — Typography
3
+
4
+ Targets: All text elements under html.macos-tahoe
5
+
6
+ References:
7
+ - Apple HIG > Typography > macOS Tahoe text styles
8
+ - Inter Variable (bundled) primary, -apple-system fallback
9
+ - JetBrains Mono Variable for code/pre
10
+ - font-family / font-mono tokens defined in macos-foundations.css
11
+
12
+ 11 official macOS text styles:
13
+ Large Title · Title 1–3 · Headline · Body · Callout
14
+ Subheadline · Footnote · Caption 1 · Caption 2
15
+ ============================================================ */
16
+
17
+ /* ── 3.1 Text Style Tokens ───────────────────────────────────── */
18
+ html.macos-tahoe {
19
+ /* Large Title */
20
+ --macos-ts-large-title-size: 26px;
21
+ --macos-ts-large-title-weight: 400;
22
+ --macos-ts-large-title-leading: 32px;
23
+ --macos-ts-large-title-tracking: 0.22px;
24
+
25
+ /* Title 1 */
26
+ --macos-ts-title1-size: 22px;
27
+ --macos-ts-title1-weight: 400;
28
+ --macos-ts-title1-leading: 26px;
29
+ --macos-ts-title1-tracking: -0.26px;
30
+
31
+ /* Title 2 */
32
+ --macos-ts-title2-size: 17px;
33
+ --macos-ts-title2-weight: 400;
34
+ --macos-ts-title2-leading: 22px;
35
+ --macos-ts-title2-tracking: -0.43px;
36
+
37
+ /* Title 3 */
38
+ --macos-ts-title3-size: 15px;
39
+ --macos-ts-title3-weight: 400;
40
+ --macos-ts-title3-leading: 20px;
41
+ --macos-ts-title3-tracking: -0.23px;
42
+
43
+ /* Headline (bold body) */
44
+ --macos-ts-headline-size: 13px;
45
+ --macos-ts-headline-weight: 700;
46
+ --macos-ts-headline-leading: 16px;
47
+ --macos-ts-headline-tracking: -0.08px;
48
+
49
+ /* Body */
50
+ --macos-ts-body-size: 13px;
51
+ --macos-ts-body-weight: 400;
52
+ --macos-ts-body-leading: 16px;
53
+ --macos-ts-body-tracking: -0.08px;
54
+
55
+ /* Callout */
56
+ --macos-ts-callout-size: 12px;
57
+ --macos-ts-callout-weight: 400;
58
+ --macos-ts-callout-leading: 15px;
59
+ --macos-ts-callout-tracking: 0;
60
+
61
+ /* Subheadline */
62
+ --macos-ts-subheadline-size: 11px;
63
+ --macos-ts-subheadline-weight: 400;
64
+ --macos-ts-subheadline-leading: 14px;
65
+ --macos-ts-subheadline-tracking: 0.06px;
66
+
67
+ /* Footnote */
68
+ --macos-ts-footnote-size: 10px;
69
+ --macos-ts-footnote-weight: 400;
70
+ --macos-ts-footnote-leading: 13px;
71
+ --macos-ts-footnote-tracking: 0.12px;
72
+
73
+ /* Caption 1 */
74
+ --macos-ts-caption1-size: 10px;
75
+ --macos-ts-caption1-weight: 400;
76
+ --macos-ts-caption1-leading: 13px;
77
+ --macos-ts-caption1-tracking: 0.12px;
78
+
79
+ /* Caption 2 */
80
+ --macos-ts-caption2-size: 10px;
81
+ --macos-ts-caption2-weight: 500;
82
+ --macos-ts-caption2-leading: 13px;
83
+ --macos-ts-caption2-tracking: 0.12px;
84
+ }
85
+
86
+ /* ── 3.5 Base font ───────────────────────────────────────────── */
87
+ html.macos-tahoe {
88
+ font-family: var(--macos-font-family);
89
+ font-size: 13px;
90
+ line-height: 16px;
91
+ letter-spacing: -0.08px;
92
+ -webkit-font-smoothing: antialiased;
93
+ -moz-osx-font-smoothing: grayscale;
94
+ }
95
+
96
+ /* ── 3.2 Utility Classes ─────────────────────────────────────── */
97
+
98
+ html.macos-tahoe .macos-large-title {
99
+ font-family: var(--macos-font-display);
100
+ font-size: var(--macos-ts-large-title-size);
101
+ font-weight: var(--macos-ts-large-title-weight);
102
+ line-height: var(--macos-ts-large-title-leading);
103
+ letter-spacing: var(--macos-ts-large-title-tracking);
104
+ }
105
+
106
+ html.macos-tahoe .macos-title-1 {
107
+ font-family: var(--macos-font-display);
108
+ font-size: var(--macos-ts-title1-size);
109
+ font-weight: var(--macos-ts-title1-weight);
110
+ line-height: var(--macos-ts-title1-leading);
111
+ letter-spacing: var(--macos-ts-title1-tracking);
112
+ }
113
+
114
+ html.macos-tahoe .macos-title-2 {
115
+ font-family: var(--macos-font-display);
116
+ font-size: var(--macos-ts-title2-size);
117
+ font-weight: var(--macos-ts-title2-weight);
118
+ line-height: var(--macos-ts-title2-leading);
119
+ letter-spacing: var(--macos-ts-title2-tracking);
120
+ }
121
+
122
+ html.macos-tahoe .macos-title-3 {
123
+ font-family: var(--macos-font-family);
124
+ font-size: var(--macos-ts-title3-size);
125
+ font-weight: var(--macos-ts-title3-weight);
126
+ line-height: var(--macos-ts-title3-leading);
127
+ letter-spacing: var(--macos-ts-title3-tracking);
128
+ }
129
+
130
+ html.macos-tahoe .macos-headline {
131
+ font-family: var(--macos-font-family);
132
+ font-size: var(--macos-ts-headline-size);
133
+ font-weight: var(--macos-ts-headline-weight);
134
+ line-height: var(--macos-ts-headline-leading);
135
+ letter-spacing: var(--macos-ts-headline-tracking);
136
+ }
137
+
138
+ html.macos-tahoe .macos-body {
139
+ font-family: var(--macos-font-family);
140
+ font-size: var(--macos-ts-body-size);
141
+ font-weight: var(--macos-ts-body-weight);
142
+ line-height: var(--macos-ts-body-leading);
143
+ letter-spacing: var(--macos-ts-body-tracking);
144
+ }
145
+
146
+ html.macos-tahoe .macos-callout {
147
+ font-family: var(--macos-font-family);
148
+ font-size: var(--macos-ts-callout-size);
149
+ font-weight: var(--macos-ts-callout-weight);
150
+ line-height: var(--macos-ts-callout-leading);
151
+ letter-spacing: var(--macos-ts-callout-tracking);
152
+ }
153
+
154
+ html.macos-tahoe .macos-subheadline {
155
+ font-family: var(--macos-font-family);
156
+ font-size: var(--macos-ts-subheadline-size);
157
+ font-weight: var(--macos-ts-subheadline-weight);
158
+ line-height: var(--macos-ts-subheadline-leading);
159
+ letter-spacing: var(--macos-ts-subheadline-tracking);
160
+ }
161
+
162
+ html.macos-tahoe .macos-footnote {
163
+ font-family: var(--macos-font-family);
164
+ font-size: var(--macos-ts-footnote-size);
165
+ font-weight: var(--macos-ts-footnote-weight);
166
+ line-height: var(--macos-ts-footnote-leading);
167
+ letter-spacing: var(--macos-ts-footnote-tracking);
168
+ }
169
+
170
+ html.macos-tahoe .macos-caption-1 {
171
+ font-family: var(--macos-font-family);
172
+ font-size: var(--macos-ts-caption1-size);
173
+ font-weight: var(--macos-ts-caption1-weight);
174
+ line-height: var(--macos-ts-caption1-leading);
175
+ letter-spacing: var(--macos-ts-caption1-tracking);
176
+ }
177
+
178
+ html.macos-tahoe .macos-caption-2 {
179
+ font-family: var(--macos-font-family);
180
+ font-size: var(--macos-ts-caption2-size);
181
+ font-weight: var(--macos-ts-caption2-weight);
182
+ line-height: var(--macos-ts-caption2-leading);
183
+ letter-spacing: var(--macos-ts-caption2-tracking);
184
+ }
185
+
186
+ /* ── 3.3 Emphasized Variants ─────────────────────────────────── */
187
+
188
+ html.macos-tahoe .macos-large-title-emphasized {
189
+ font-family: var(--macos-font-display);
190
+ font-size: var(--macos-ts-large-title-size);
191
+ font-weight: 700;
192
+ line-height: var(--macos-ts-large-title-leading);
193
+ letter-spacing: var(--macos-ts-large-title-tracking);
194
+ }
195
+
196
+ html.macos-tahoe .macos-title-1-emphasized {
197
+ font-family: var(--macos-font-display);
198
+ font-size: var(--macos-ts-title1-size);
199
+ font-weight: 700;
200
+ line-height: var(--macos-ts-title1-leading);
201
+ letter-spacing: var(--macos-ts-title1-tracking);
202
+ }
203
+
204
+ html.macos-tahoe .macos-title-2-emphasized {
205
+ font-family: var(--macos-font-display);
206
+ font-size: var(--macos-ts-title2-size);
207
+ font-weight: 700;
208
+ line-height: var(--macos-ts-title2-leading);
209
+ letter-spacing: var(--macos-ts-title2-tracking);
210
+ }
211
+
212
+ html.macos-tahoe .macos-title-3-emphasized {
213
+ font-family: var(--macos-font-family);
214
+ font-size: var(--macos-ts-title3-size);
215
+ font-weight: 600;
216
+ line-height: var(--macos-ts-title3-leading);
217
+ letter-spacing: var(--macos-ts-title3-tracking);
218
+ }
219
+
220
+ html.macos-tahoe .macos-headline-emphasized {
221
+ font-family: var(--macos-font-family);
222
+ font-size: var(--macos-ts-headline-size);
223
+ font-weight: 800;
224
+ line-height: var(--macos-ts-headline-leading);
225
+ letter-spacing: var(--macos-ts-headline-tracking);
226
+ }
227
+
228
+ html.macos-tahoe .macos-body-emphasized {
229
+ font-family: var(--macos-font-family);
230
+ font-size: var(--macos-ts-body-size);
231
+ font-weight: 600;
232
+ line-height: var(--macos-ts-body-leading);
233
+ letter-spacing: var(--macos-ts-body-tracking);
234
+ }
235
+
236
+ html.macos-tahoe .macos-callout-emphasized {
237
+ font-family: var(--macos-font-family);
238
+ font-size: var(--macos-ts-callout-size);
239
+ font-weight: 600;
240
+ line-height: var(--macos-ts-callout-leading);
241
+ letter-spacing: var(--macos-ts-callout-tracking);
242
+ }
243
+
244
+ html.macos-tahoe .macos-subheadline-emphasized {
245
+ font-family: var(--macos-font-family);
246
+ font-size: var(--macos-ts-subheadline-size);
247
+ font-weight: 600;
248
+ line-height: var(--macos-ts-subheadline-leading);
249
+ letter-spacing: var(--macos-ts-subheadline-tracking);
250
+ }
251
+
252
+ html.macos-tahoe .macos-footnote-emphasized {
253
+ font-family: var(--macos-font-family);
254
+ font-size: var(--macos-ts-footnote-size);
255
+ font-weight: 600;
256
+ line-height: var(--macos-ts-footnote-leading);
257
+ letter-spacing: var(--macos-ts-footnote-tracking);
258
+ }
259
+
260
+ html.macos-tahoe .macos-caption-1-emphasized {
261
+ font-family: var(--macos-font-family);
262
+ font-size: var(--macos-ts-caption1-size);
263
+ font-weight: 500;
264
+ line-height: var(--macos-ts-caption1-leading);
265
+ letter-spacing: var(--macos-ts-caption1-tracking);
266
+ }
267
+
268
+ html.macos-tahoe .macos-caption-2-emphasized {
269
+ font-family: var(--macos-font-family);
270
+ font-size: var(--macos-ts-caption2-size);
271
+ font-weight: 600;
272
+ line-height: var(--macos-ts-caption2-leading);
273
+ letter-spacing: var(--macos-ts-caption2-tracking);
274
+ }
275
+
276
+ /* ── 3.4 HTML Element Mapping ─────────────────────────────────── */
277
+
278
+ /* h1 → Large Title */
279
+ html.macos-tahoe h1,
280
+ html.macos-tahoe [data-tucu='heading-1'],
281
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h1'] {
282
+ font-family: var(--macos-font-display);
283
+ font-size: var(--macos-ts-large-title-size);
284
+ font-weight: var(--macos-ts-large-title-weight);
285
+ line-height: var(--macos-ts-large-title-leading);
286
+ letter-spacing: var(--macos-ts-large-title-tracking);
287
+ color: var(--macos-label);
288
+ }
289
+
290
+ /* h2 → Title 1 */
291
+ html.macos-tahoe h2,
292
+ html.macos-tahoe [data-tucu='heading-2'],
293
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h2'] {
294
+ font-family: var(--macos-font-display);
295
+ font-size: var(--macos-ts-title1-size);
296
+ font-weight: var(--macos-ts-title1-weight);
297
+ line-height: var(--macos-ts-title1-leading);
298
+ letter-spacing: var(--macos-ts-title1-tracking);
299
+ color: var(--macos-label);
300
+ }
301
+
302
+ /* h3 → Title 2 */
303
+ html.macos-tahoe h3,
304
+ html.macos-tahoe [data-tucu='heading-3'],
305
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h3'] {
306
+ font-family: var(--macos-font-display);
307
+ font-size: var(--macos-ts-title2-size);
308
+ font-weight: var(--macos-ts-title2-weight);
309
+ line-height: var(--macos-ts-title2-leading);
310
+ letter-spacing: var(--macos-ts-title2-tracking);
311
+ color: var(--macos-label);
312
+ }
313
+
314
+ /* h4 → Title 3 */
315
+ html.macos-tahoe h4,
316
+ html.macos-tahoe [data-tucu='heading-4'],
317
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h4'] {
318
+ font-family: var(--macos-font-family);
319
+ font-size: var(--macos-ts-title3-size);
320
+ font-weight: var(--macos-ts-title3-weight);
321
+ line-height: var(--macos-ts-title3-leading);
322
+ letter-spacing: var(--macos-ts-title3-tracking);
323
+ color: var(--macos-label);
324
+ }
325
+
326
+ /* h5 → Headline */
327
+ html.macos-tahoe h5,
328
+ html.macos-tahoe [data-tucu='heading-5'],
329
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h5'] {
330
+ font-family: var(--macos-font-family);
331
+ font-size: var(--macos-ts-headline-size);
332
+ font-weight: var(--macos-ts-headline-weight);
333
+ line-height: var(--macos-ts-headline-leading);
334
+ letter-spacing: var(--macos-ts-headline-tracking);
335
+ color: var(--macos-label);
336
+ }
337
+
338
+ /* h6 → Subheadline */
339
+ html.macos-tahoe h6,
340
+ html.macos-tahoe [data-tucu='heading-6'],
341
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='h6'] {
342
+ font-family: var(--macos-font-family);
343
+ font-size: var(--macos-ts-subheadline-size);
344
+ font-weight: var(--macos-ts-subheadline-weight);
345
+ line-height: var(--macos-ts-subheadline-leading);
346
+ letter-spacing: var(--macos-ts-subheadline-tracking);
347
+ color: var(--macos-secondary-label);
348
+ }
349
+
350
+ /* body, p → Body */
351
+ html.macos-tahoe p,
352
+ html.macos-tahoe [data-tucu='text'],
353
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='p'],
354
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='body'] {
355
+ font-family: var(--macos-font-family);
356
+ font-size: var(--macos-ts-body-size);
357
+ font-weight: var(--macos-ts-body-weight);
358
+ line-height: var(--macos-ts-body-leading);
359
+ letter-spacing: var(--macos-ts-body-tracking);
360
+ color: var(--macos-label);
361
+ }
362
+
363
+ /* headline data-tucu tag */
364
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='headline'] {
365
+ font-family: var(--macos-font-family);
366
+ font-size: var(--macos-ts-headline-size);
367
+ font-weight: var(--macos-ts-headline-weight);
368
+ line-height: var(--macos-ts-headline-leading);
369
+ letter-spacing: var(--macos-ts-headline-tracking);
370
+ color: var(--macos-label);
371
+ }
372
+
373
+ /* small → Footnote */
374
+ html.macos-tahoe small,
375
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='small'] {
376
+ font-family: var(--macos-font-family);
377
+ font-size: var(--macos-ts-footnote-size);
378
+ font-weight: var(--macos-ts-footnote-weight);
379
+ line-height: var(--macos-ts-footnote-leading);
380
+ letter-spacing: var(--macos-ts-footnote-tracking);
381
+ color: var(--macos-secondary-label);
382
+ }
383
+
384
+ /* label, form label → Callout medium */
385
+ html.macos-tahoe label,
386
+ html.macos-tahoe [data-tucu='label'] {
387
+ font-family: var(--macos-font-family);
388
+ font-size: var(--macos-ts-callout-size);
389
+ font-weight: var(--macos-font-weight-medium);
390
+ line-height: var(--macos-ts-callout-leading);
391
+ letter-spacing: var(--macos-ts-callout-tracking);
392
+ color: var(--macos-secondary-label);
393
+ }
394
+
395
+ /* code, pre → JetBrains Mono */
396
+ html.macos-tahoe code,
397
+ html.macos-tahoe pre,
398
+ html.macos-tahoe [data-tucu='code'],
399
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='code'],
400
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='pre'] {
401
+ font-family: var(--macos-font-mono);
402
+ font-size: var(--macos-ts-body-size);
403
+ line-height: var(--macos-ts-body-leading);
404
+ letter-spacing: 0;
405
+ }
406
+
407
+ /* inline code chip */
408
+ html.macos-tahoe code:not(pre code),
409
+ html.macos-tahoe [data-tucu='inline-code'],
410
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='code'] {
411
+ background-color: var(--macos-gray6);
412
+ padding: 1px 4px;
413
+ border-radius: var(--macos-radius-small-control);
414
+ font-size: 0.9em;
415
+ }
416
+
417
+ html.macos-tahoe.dark code:not(pre code),
418
+ html.macos-tahoe.dark [data-tucu='inline-code'] {
419
+ background-color: var(--macos-gray5);
420
+ }
421
+
422
+ /* caption / footnote data-tucu aliases */
423
+ html.macos-tahoe [data-tucu='caption'],
424
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='caption'] {
425
+ font-family: var(--macos-font-family);
426
+ font-size: var(--macos-ts-caption1-size);
427
+ font-weight: var(--macos-ts-caption1-weight);
428
+ line-height: var(--macos-ts-caption1-leading);
429
+ letter-spacing: var(--macos-ts-caption1-tracking);
430
+ color: var(--macos-secondary-label);
431
+ }
432
+
433
+ html.macos-tahoe [data-tucu='footnote'],
434
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='legal'] {
435
+ font-family: var(--macos-font-family);
436
+ font-size: var(--macos-ts-footnote-size);
437
+ font-weight: var(--macos-ts-footnote-weight);
438
+ line-height: var(--macos-ts-footnote-leading);
439
+ letter-spacing: var(--macos-ts-footnote-tracking);
440
+ color: var(--macos-tertiary-label);
441
+ }
442
+
443
+ /* label-1 / label-2 data-tucu aliases */
444
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='label-1'] {
445
+ font-family: var(--macos-font-family);
446
+ font-size: var(--macos-ts-body-size);
447
+ font-weight: var(--macos-font-weight-medium);
448
+ line-height: var(--macos-ts-body-leading);
449
+ letter-spacing: var(--macos-ts-body-tracking);
450
+ color: var(--macos-secondary-label);
451
+ }
452
+
453
+ html.macos-tahoe [data-tucu='typography'][data-typography-tag='label-2'] {
454
+ font-family: var(--macos-font-family);
455
+ font-size: var(--macos-ts-caption1-size);
456
+ font-weight: var(--macos-font-weight-medium);
457
+ line-height: var(--macos-ts-caption1-leading);
458
+ letter-spacing: var(--macos-ts-caption1-tracking);
459
+ color: var(--macos-secondary-label);
460
+ }
461
+
462
+ /* ── Links ───────────────────────────────────────────────────── */
463
+ html.macos-tahoe a,
464
+ html.macos-tahoe [data-tucu='link'] {
465
+ color: var(--macos-link);
466
+ text-decoration: none;
467
+ transition: color var(--macos-transition-fast);
468
+ }
469
+
470
+ html.macos-tahoe a:hover,
471
+ html.macos-tahoe [data-tucu='link']:hover {
472
+ color: var(--macos-control-accent);
473
+ }
474
+
475
+ html.macos-tahoe a:active,
476
+ html.macos-tahoe [data-tucu='link']:active {
477
+ opacity: 0.7;
478
+ }
479
+
480
+ /* Links inside buttons inherit button text color */
481
+ html.macos-tahoe [data-tucu='button'] a,
482
+ html.macos-tahoe [data-tucu='button'] a:hover {
483
+ color: inherit;
484
+ text-decoration: none;
485
+ }