@e-burgos/tucu-ui 2.7.3 → 2.8.1
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/CHANGELOG.md +27 -0
- package/README.md +17 -0
- package/base.css +225 -0
- package/components/inputs/input.mjs +43 -43
- package/components/inputs/select.mjs +1 -1
- package/components/loaders/loader.mjs +21 -21
- package/components/typography/index.mjs +30 -30
- package/index.css +1 -1
- package/index.js +1 -1
- package/macos/index.css +15 -0
- package/macos/sonoma/index.css +34 -0
- package/macos/sonoma/macos-auth.css +162 -0
- package/macos/sonoma/macos-backgrounds.css +314 -0
- package/macos/sonoma/macos-buttons.css +231 -0
- package/macos/sonoma/macos-cards.css +104 -0
- package/macos/sonoma/macos-content.css +157 -0
- package/macos/sonoma/macos-dialogs.css +122 -0
- package/macos/sonoma/macos-feedback.css +237 -0
- package/macos/sonoma/macos-fonts.css +7 -0
- package/macos/sonoma/macos-foundations.css +479 -0
- package/macos/sonoma/macos-inputs.css +1580 -0
- package/macos/sonoma/macos-layouts.css +223 -0
- package/macos/sonoma/macos-liquid-glass.css +279 -0
- package/macos/sonoma/macos-menus.css +184 -0
- package/macos/sonoma/macos-misc.css +635 -0
- package/macos/sonoma/macos-navigation.css +145 -0
- package/macos/sonoma/macos-selection.css +237 -0
- package/macos/sonoma/macos-sidebar.css +416 -0
- package/macos/sonoma/macos-tables.css +318 -0
- package/macos/sonoma/macos-toolbar.css +302 -0
- package/macos/sonoma/macos-typography.css +485 -0
- package/macos/sonoma/macos-window.css +273 -0
- package/macos/tahoe/index.css +34 -0
- package/macos/tahoe/macos-auth.css +162 -0
- package/macos/tahoe/macos-backgrounds.css +314 -0
- package/macos/tahoe/macos-buttons.css +286 -0
- package/macos/tahoe/macos-cards.css +125 -0
- package/macos/tahoe/macos-content.css +157 -0
- package/macos/tahoe/macos-dialogs.css +195 -0
- package/macos/tahoe/macos-feedback.css +273 -0
- package/macos/tahoe/macos-fonts.css +7 -0
- package/macos/tahoe/macos-foundations.css +516 -0
- package/macos/tahoe/macos-inputs.css +1656 -0
- package/macos/tahoe/macos-layouts.css +438 -0
- package/macos/tahoe/macos-liquid-glass.css +279 -0
- package/macos/tahoe/macos-menus.css +184 -0
- package/macos/tahoe/macos-misc.css +635 -0
- package/macos/tahoe/macos-navigation.css +191 -0
- package/macos/tahoe/macos-selection.css +237 -0
- package/macos/tahoe/macos-sidebar.css +420 -0
- package/macos/tahoe/macos-tables.css +320 -0
- package/macos/tahoe/macos-toolbar.css +304 -0
- package/macos/tahoe/macos-typography.css +485 -0
- package/macos/tahoe/macos-window.css +273 -0
- package/package.json +3 -2
- package/theme.css +812 -0
- package/third-party.css +39 -0
- package/utilities.css +105 -0
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
/* ============================================================
|
|
2
|
+
macOS Tahoe 26 — Layout Overrides (updated Fase 6)
|
|
3
|
+
|
|
4
|
+
Targets: Header, AdminLayout, HorizontalLayout, Sidebar,
|
|
5
|
+
Menus, Scrollbar, Main content
|
|
6
|
+
Selectors: html.macos-tahoe [data-tucu="..."]
|
|
7
|
+
|
|
8
|
+
References:
|
|
9
|
+
- Apple HIG > Sidebars: 240pt width, translucent material
|
|
10
|
+
- Apple HIG > Toolbars: 52pt height, glass regular
|
|
11
|
+
- macOS titlebar: 28pt, scrollbar: thin auto-hide overlay
|
|
12
|
+
============================================================ */
|
|
13
|
+
|
|
14
|
+
/* ── Header / Toolbar area ───────────────────────────────────── */
|
|
15
|
+
html.macos-tahoe [data-tucu='header'] {
|
|
16
|
+
height: var(--macos-toolbar-height);
|
|
17
|
+
background-color: var(--macos-glass-regular-bg);
|
|
18
|
+
backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6);
|
|
19
|
+
-webkit-backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6);
|
|
20
|
+
border-bottom: 0.5px solid var(--macos-glass-border);
|
|
21
|
+
padding: 0 var(--macos-space-4);
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
html.macos-tahoe.dark [data-tucu='header'] {
|
|
27
|
+
background-color: var(--macos-glass-regular-bg);
|
|
28
|
+
border-bottom-color: var(--macos-glass-border);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* ── Admin Header ────────────────────────────────────────────── */
|
|
32
|
+
html.macos-tahoe [data-tucu='admin-header'] {
|
|
33
|
+
height: var(--macos-toolbar-height) !important;
|
|
34
|
+
min-height: var(--macos-toolbar-height) !important;
|
|
35
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
36
|
+
backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
37
|
+
-webkit-backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
38
|
+
border-bottom: 0.5px solid var(--macos-glass-border) !important;
|
|
39
|
+
box-shadow: none !important;
|
|
40
|
+
padding: 0 var(--macos-space-4) !important;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
html.macos-tahoe.dark [data-tucu='admin-header'] {
|
|
44
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
45
|
+
border-bottom-color: var(--macos-glass-border) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/* ── Horizontal Header ───────────────────────────────────────── */
|
|
49
|
+
html.macos-tahoe [data-tucu='horizontal-header'] {
|
|
50
|
+
height: var(--macos-toolbar-height) !important;
|
|
51
|
+
min-height: var(--macos-toolbar-height) !important;
|
|
52
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
53
|
+
backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
54
|
+
-webkit-backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
55
|
+
border-bottom: 0.5px solid var(--macos-glass-border) !important;
|
|
56
|
+
box-shadow: none !important;
|
|
57
|
+
font-family: var(--macos-font-family) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
html.macos-tahoe.dark [data-tucu='horizontal-header'] {
|
|
61
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
62
|
+
border-bottom-color: var(--macos-glass-border) !important;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* ── Admin Layout ────────────────────────────────────────────── */
|
|
66
|
+
html.macos-tahoe [data-tucu='admin-layout'] {
|
|
67
|
+
background-color: var(--macos-window-bg);
|
|
68
|
+
font-family: var(--macos-font-family);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
html.macos-tahoe.dark [data-tucu='admin-layout'] {
|
|
72
|
+
background-color: var(--macos-window-bg);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
html.macos-tahoe [data-tucu='admin-content'] {
|
|
76
|
+
background-color: var(--macos-window-bg);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
html.macos-tahoe.dark [data-tucu='admin-content'] {
|
|
80
|
+
background-color: var(--macos-window-bg);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* ── Horizontal Layout ───────────────────────────────────────── */
|
|
84
|
+
html.macos-tahoe [data-tucu='horizontal-layout'] {
|
|
85
|
+
background-color: var(--macos-window-bg);
|
|
86
|
+
font-family: var(--macos-font-family);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
html.macos-tahoe.dark [data-tucu='horizontal-layout'] {
|
|
90
|
+
background-color: var(--macos-window-bg);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
html.macos-tahoe [data-tucu='horizontal-content'] {
|
|
94
|
+
background-color: var(--macos-window-bg);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
html.macos-tahoe.dark [data-tucu='horizontal-content'] {
|
|
98
|
+
background-color: var(--macos-window-bg);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/* ── Expandable Sidebar ──────────────────────────────────────── */
|
|
102
|
+
html.macos-tahoe [data-tucu='expandable-sidebar'] {
|
|
103
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
104
|
+
backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
105
|
+
-webkit-backdrop-filter: blur(var(--macos-glass-blur, 28px)) saturate(1.6) !important;
|
|
106
|
+
border-right: 0.5px solid var(--macos-glass-border) !important;
|
|
107
|
+
border-left: none !important;
|
|
108
|
+
font-family: var(--macos-font-family) !important;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
html.macos-tahoe.dark [data-tucu='expandable-sidebar'] {
|
|
112
|
+
background-color: var(--macos-glass-regular-bg) !important;
|
|
113
|
+
border-right-color: var(--macos-glass-border) !important;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Fallback for no backdrop-filter */
|
|
117
|
+
@supports not (backdrop-filter: blur(1px)) {
|
|
118
|
+
html.macos-tahoe [data-tucu='admin-header'],
|
|
119
|
+
html.macos-tahoe [data-tucu='horizontal-header'],
|
|
120
|
+
html.macos-tahoe [data-tucu='expandable-sidebar'] {
|
|
121
|
+
background-color: var(--macos-glass-regular-bg-opaque) !important;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
@media (prefers-reduced-transparency: reduce) {
|
|
126
|
+
html.macos-tahoe [data-tucu='admin-header'],
|
|
127
|
+
html.macos-tahoe [data-tucu='horizontal-header'],
|
|
128
|
+
html.macos-tahoe [data-tucu='expandable-sidebar'] {
|
|
129
|
+
background-color: var(--macos-glass-regular-bg-opaque) !important;
|
|
130
|
+
backdrop-filter: none !important;
|
|
131
|
+
-webkit-backdrop-filter: none !important;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* ── Main content area ───────────────────────────────────────── */
|
|
136
|
+
html.macos-tahoe [data-tucu='main-content'] {
|
|
137
|
+
background-color: var(--macos-window-bg);
|
|
138
|
+
padding: var(--macos-content-padding);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
html.macos-tahoe.dark [data-tucu='main-content'] {
|
|
142
|
+
background-color: var(--macos-window-bg);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/* ── macOS-style scrollbars ──────────────────────────────────── */
|
|
146
|
+
html.macos-tahoe ::-webkit-scrollbar {
|
|
147
|
+
width: 8px;
|
|
148
|
+
height: 8px;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
html.macos-tahoe ::-webkit-scrollbar-track {
|
|
152
|
+
background: transparent;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
html.macos-tahoe ::-webkit-scrollbar-thumb {
|
|
156
|
+
background-color: rgba(0, 0, 0, 0.2);
|
|
157
|
+
border-radius: var(--macos-radius-full);
|
|
158
|
+
border: 2px solid transparent;
|
|
159
|
+
background-clip: content-box;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
html.macos-tahoe ::-webkit-scrollbar-thumb:hover {
|
|
163
|
+
background-color: rgba(0, 0, 0, 0.35);
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
html.macos-tahoe.dark ::-webkit-scrollbar-thumb {
|
|
167
|
+
background-color: rgba(255, 255, 255, 0.25);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
html.macos-tahoe.dark ::-webkit-scrollbar-thumb:hover {
|
|
171
|
+
background-color: rgba(255, 255, 255, 0.4);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/* Auto-hide scrollbar when not scrolling (overlay style) */
|
|
175
|
+
html.macos-tahoe {
|
|
176
|
+
scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
|
|
177
|
+
scrollbar-width: thin;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
html.macos-tahoe.dark {
|
|
181
|
+
scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/* ── Window-level background ─────────────────────────────────── */
|
|
185
|
+
html.macos-tahoe body {
|
|
186
|
+
background-color: var(--macos-window-bg);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
html.macos-tahoe.dark body {
|
|
190
|
+
background-color: var(--macos-window-bg);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/* In Tahoe mode, body gets the aurora gradient (visible in padding areas) */
|
|
194
|
+
html.dark.macos-tahoe body {
|
|
195
|
+
background: radial-gradient(
|
|
196
|
+
ellipse at 15% 20%,
|
|
197
|
+
rgba(30, 100, 255, 0.85),
|
|
198
|
+
transparent 42%
|
|
199
|
+
),
|
|
200
|
+
radial-gradient(
|
|
201
|
+
ellipse at 82% 72%,
|
|
202
|
+
rgba(120, 60, 240, 0.72),
|
|
203
|
+
transparent 46%
|
|
204
|
+
),
|
|
205
|
+
radial-gradient(
|
|
206
|
+
ellipse at 50% 100%,
|
|
207
|
+
rgba(60, 40, 160, 0.45),
|
|
208
|
+
transparent 36%
|
|
209
|
+
),
|
|
210
|
+
linear-gradient(170deg, #0c1428 0%, #090e1e 60%, #060b16 100%);
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
html.light.macos-tahoe body {
|
|
214
|
+
background: radial-gradient(
|
|
215
|
+
ellipse at 10% 15%,
|
|
216
|
+
rgba(90, 170, 255, 0.44),
|
|
217
|
+
transparent 38%
|
|
218
|
+
),
|
|
219
|
+
radial-gradient(
|
|
220
|
+
ellipse at 85% 80%,
|
|
221
|
+
rgba(160, 210, 255, 0.46),
|
|
222
|
+
transparent 42%
|
|
223
|
+
),
|
|
224
|
+
linear-gradient(170deg, #c8e6ff 0%, #d4edff 50%, #bcd8f0 100%);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
/* ── Documentation content width in macOS ───────────────────── */
|
|
228
|
+
html.macos-tahoe
|
|
229
|
+
[data-tucu='macos-layout-content-inner']
|
|
230
|
+
> div[class*='space-y-8'][class*='pt-8'][class*='max-w-6xl'] {
|
|
231
|
+
max-width: 96rem !important;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
html.macos-tahoe
|
|
235
|
+
[data-tucu='macos-layout-content-inner']
|
|
236
|
+
> div.relative.scroll-smooth
|
|
237
|
+
div[class*='space-y-8'][class*='pt-8'][class*='max-w-7xl'] {
|
|
238
|
+
max-width: 96rem !important;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
/* ── Divider / Separator ─────────────────────────────────────── */
|
|
242
|
+
html.macos-tahoe hr,
|
|
243
|
+
html.macos-tahoe [data-tucu='divider'] {
|
|
244
|
+
border: none;
|
|
245
|
+
height: 1px;
|
|
246
|
+
background-color: var(--macos-separator);
|
|
247
|
+
margin: var(--macos-space-4) 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
/* ── Container max-widths (for content areas) ────────────────── */
|
|
251
|
+
html.macos-tahoe [data-tucu='container'] {
|
|
252
|
+
max-width: 1200px;
|
|
253
|
+
margin-left: auto;
|
|
254
|
+
margin-right: auto;
|
|
255
|
+
padding-left: var(--macos-content-padding);
|
|
256
|
+
padding-right: var(--macos-content-padding);
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/* ── macOS Tahoe layout surface tokens ───────────────────────── */
|
|
260
|
+
html.light.macos-tahoe {
|
|
261
|
+
--macos-tahoe-root-bg: radial-gradient(
|
|
262
|
+
ellipse at 10% 15%,
|
|
263
|
+
rgba(90, 170, 255, 0.46),
|
|
264
|
+
transparent 38%
|
|
265
|
+
),
|
|
266
|
+
radial-gradient(
|
|
267
|
+
ellipse at 85% 80%,
|
|
268
|
+
rgba(160, 210, 255, 0.5),
|
|
269
|
+
transparent 42%
|
|
270
|
+
),
|
|
271
|
+
radial-gradient(
|
|
272
|
+
ellipse at 50% 0%,
|
|
273
|
+
rgba(120, 190, 250, 0.34),
|
|
274
|
+
transparent 28%
|
|
275
|
+
),
|
|
276
|
+
linear-gradient(170deg, #c8e6ff 0%, #d4edff 50%, #bcd8f0 100%);
|
|
277
|
+
--macos-tahoe-sidebar-bg: rgba(227, 241, 249, 0.72);
|
|
278
|
+
--macos-tahoe-panel-bg: rgba(255, 255, 255, 0.58);
|
|
279
|
+
--macos-tahoe-toolbar-bg: rgba(255, 255, 255, 0.32);
|
|
280
|
+
--macos-separator: var(--color-semantic-line-primary-subtle);
|
|
281
|
+
--macos-tahoe-border: var(--color-semantic-line-primary-subtle);
|
|
282
|
+
--macos-tahoe-text: var(--color-semantic-fg, #273642);
|
|
283
|
+
--macos-tahoe-text-muted: var(--color-semantic-fg-muted, rgba(39, 54, 66, 0.66));
|
|
284
|
+
--macos-tahoe-accent: var(--color-brand, #0b84ff);
|
|
285
|
+
--macos-tahoe-selection: color-mix(
|
|
286
|
+
in srgb,
|
|
287
|
+
var(--color-brand, #0b84ff) 15%,
|
|
288
|
+
transparent
|
|
289
|
+
);
|
|
290
|
+
--macos-tahoe-hover: rgba(255, 255, 255, 0.3);
|
|
291
|
+
--macos-tahoe-sidebar-item-text: var(--color-semantic-fg, rgba(41, 54, 65, 0.9));
|
|
292
|
+
--macos-tahoe-sidebar-item-icon: var(--color-semantic-fg-muted, rgba(67, 82, 95, 0.82));
|
|
293
|
+
--macos-tahoe-sidebar-item-active-bg: rgba(231, 237, 243, 0.88);
|
|
294
|
+
--macos-tahoe-sidebar-item-active-text: color-mix(
|
|
295
|
+
in srgb,
|
|
296
|
+
var(--color-brand, #0b84ff) 70%,
|
|
297
|
+
#000
|
|
298
|
+
);
|
|
299
|
+
--macos-tahoe-sidebar-item-active-icon: color-mix(
|
|
300
|
+
in srgb,
|
|
301
|
+
var(--color-brand, #0b84ff) 70%,
|
|
302
|
+
#000
|
|
303
|
+
);
|
|
304
|
+
--macos-tahoe-sidebar-item-active-stroke: rgba(162, 178, 192, 0.6);
|
|
305
|
+
--macos-tahoe-sidebar-item-hover-bg: rgba(255, 255, 255, 0.14);
|
|
306
|
+
--macos-tahoe-sidebar-shadow: 0 28px 60px rgba(89, 120, 141, 0.18),
|
|
307
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.55);
|
|
308
|
+
--macos-tahoe-shell-shadow: 0 32px 72px rgba(84, 109, 130, 0.18),
|
|
309
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.48);
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
html.dark.macos-tahoe {
|
|
313
|
+
--macos-tahoe-root-bg: radial-gradient(
|
|
314
|
+
ellipse at 15% 20%,
|
|
315
|
+
rgba(30, 100, 255, 0.88),
|
|
316
|
+
transparent 42%
|
|
317
|
+
),
|
|
318
|
+
radial-gradient(
|
|
319
|
+
ellipse at 80% 75%,
|
|
320
|
+
rgba(120, 60, 240, 0.75),
|
|
321
|
+
transparent 46%
|
|
322
|
+
),
|
|
323
|
+
radial-gradient(ellipse at 55% 5%, rgba(20, 70, 200, 0.55), transparent 30%),
|
|
324
|
+
radial-gradient(
|
|
325
|
+
ellipse at 50% 100%,
|
|
326
|
+
rgba(60, 30, 150, 0.42),
|
|
327
|
+
transparent 36%
|
|
328
|
+
),
|
|
329
|
+
linear-gradient(170deg, #0c1428 0%, #090e1e 60%, #060b16 100%);
|
|
330
|
+
--macos-tahoe-sidebar-bg: rgba(14, 20, 30, 0.76);
|
|
331
|
+
--macos-tahoe-panel-bg: rgba(34, 40, 47, 0.74);
|
|
332
|
+
--macos-tahoe-toolbar-bg: rgba(19, 24, 30, 0.48);
|
|
333
|
+
--macos-separator: var(--color-semantic-dark-line-primary-subtle);
|
|
334
|
+
--macos-tahoe-border: var(--color-semantic-dark-line-primary-subtle);
|
|
335
|
+
--macos-tahoe-text: var(--color-semantic-dark-fg, rgba(255, 255, 255, 0.92));
|
|
336
|
+
--macos-tahoe-text-muted: var(--color-semantic-dark-fg-muted, rgba(255, 255, 255, 0.5));
|
|
337
|
+
--macos-tahoe-accent: var(--color-brand, #3aa5ff);
|
|
338
|
+
--macos-tahoe-selection: color-mix(
|
|
339
|
+
in srgb,
|
|
340
|
+
var(--color-brand, #3aa5ff) 18%,
|
|
341
|
+
transparent
|
|
342
|
+
);
|
|
343
|
+
--macos-tahoe-hover: rgba(255, 255, 255, 0.06);
|
|
344
|
+
--macos-tahoe-sidebar-item-text: var(--color-semantic-dark-fg, rgba(255, 255, 255, 0.88));
|
|
345
|
+
--macos-tahoe-sidebar-item-icon: var(--color-semantic-dark-fg-muted, rgba(255, 255, 255, 0.5));
|
|
346
|
+
--macos-tahoe-sidebar-item-active-bg: color-mix(
|
|
347
|
+
in srgb,
|
|
348
|
+
var(--color-brand, #3aa5ff) 15%,
|
|
349
|
+
transparent
|
|
350
|
+
);
|
|
351
|
+
--macos-tahoe-sidebar-item-active-text: rgba(255, 255, 255, 0.96);
|
|
352
|
+
--macos-tahoe-sidebar-item-active-icon: var(--color-brand, #3aa5ff);
|
|
353
|
+
--macos-tahoe-sidebar-item-active-stroke: color-mix(
|
|
354
|
+
in srgb,
|
|
355
|
+
var(--color-brand, #3aa5ff) 30%,
|
|
356
|
+
transparent
|
|
357
|
+
);
|
|
358
|
+
--macos-tahoe-sidebar-item-hover-bg: rgba(255, 255, 255, 0.08);
|
|
359
|
+
--macos-tahoe-sidebar-shadow: 0 28px 60px rgba(0, 0, 0, 0.34),
|
|
360
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
|
361
|
+
--macos-tahoe-shell-shadow: 0 36px 84px rgba(0, 0, 0, 0.34),
|
|
362
|
+
inset 0 1px 0 rgba(255, 255, 255, 0.05);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
html.macos-tahoe [data-tucu='macos-tahoe-root'] {
|
|
366
|
+
background: transparent !important;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/* Override --color-body so the fixed theme-wrapper becomes transparent in Tahoe,
|
|
370
|
+
allowing the body aurora gradient to show through */
|
|
371
|
+
html.macos-tahoe {
|
|
372
|
+
--color-body: transparent;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
html.macos-tahoe [data-tucu='macos-tahoe-sidebar'] {
|
|
376
|
+
box-shadow: var(--macos-tahoe-sidebar-shadow);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
html.macos-tahoe [data-tucu='macos-tahoe-shell'] {
|
|
380
|
+
box-shadow: var(--macos-tahoe-shell-shadow);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
html.macos-tahoe [data-tucu='macos-tahoe-sidebar-top'] {
|
|
384
|
+
border-bottom: 1px solid var(--macos-tahoe-border);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
html.macos-tahoe [data-tucu='macos-tahoe-content'] {
|
|
388
|
+
background: linear-gradient(
|
|
389
|
+
180deg,
|
|
390
|
+
rgba(255, 255, 255, 0.08),
|
|
391
|
+
transparent 22%
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
html.dark.macos-tahoe [data-tucu='macos-tahoe-content'] {
|
|
396
|
+
background: linear-gradient(
|
|
397
|
+
180deg,
|
|
398
|
+
rgba(255, 255, 255, 0.03),
|
|
399
|
+
transparent 22%
|
|
400
|
+
);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
html.macos-tahoe [data-tucu='macos-tahoe-toolbar-center'] {
|
|
404
|
+
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
html.macos-tahoe [data-tucu='macos-tahoe-drawer'] {
|
|
408
|
+
box-shadow: var(--macos-tahoe-sidebar-shadow);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
/* Reset link color inside Tahoe sidebar & TOC — items use Tailwind text classes */
|
|
412
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-sidebar'] a,
|
|
413
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-drawer'] a,
|
|
414
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-toc'] a,
|
|
415
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-sidebar'] a:hover,
|
|
416
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-drawer'] a:hover,
|
|
417
|
+
html.macos-tahoe.macos-tahoe [data-tucu='macos-tahoe-toc'] a:hover {
|
|
418
|
+
color: inherit;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
html.macos-tahoe.macos-tahoe [data-tucu='drawer'] {
|
|
422
|
+
background: transparent;
|
|
423
|
+
background-color: transparent;
|
|
424
|
+
backdrop-filter: none;
|
|
425
|
+
-webkit-backdrop-filter: none;
|
|
426
|
+
box-shadow: none;
|
|
427
|
+
border-left: 0;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
html.macos-tahoe.dark.macos-tahoe [data-tucu='drawer'] {
|
|
431
|
+
background: transparent;
|
|
432
|
+
background-color: transparent;
|
|
433
|
+
backdrop-filter: none;
|
|
434
|
+
-webkit-backdrop-filter: none;
|
|
435
|
+
box-shadow: none;
|
|
436
|
+
border-left: 0;
|
|
437
|
+
border-left-color: transparent;
|
|
438
|
+
}
|