@farming-labs/theme 0.0.2-beta.8 → 0.0.2
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/dist/ai-search-dialog.d.mts +23 -1
- package/dist/ai-search-dialog.mjs +247 -37
- package/dist/colorful/index.d.mts +78 -0
- package/dist/colorful/index.mjs +82 -0
- package/dist/darkbold/index.d.mts +80 -0
- package/dist/darkbold/index.mjs +84 -0
- package/dist/docs-ai-features.d.mts +3 -1
- package/dist/docs-ai-features.mjs +63 -10
- package/dist/docs-api.d.mts +7 -6
- package/dist/docs-api.mjs +73 -4
- package/dist/docs-command-search.d.mts +10 -0
- package/dist/docs-command-search.mjs +654 -0
- package/dist/docs-layout.d.mts +20 -11
- package/dist/docs-layout.mjs +230 -50
- package/dist/docs-page-client.d.mts +20 -0
- package/dist/docs-page-client.mjs +119 -25
- package/dist/greentree/index.d.mts +80 -0
- package/dist/greentree/index.mjs +84 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.mjs +3 -2
- package/dist/page-actions.d.mts +4 -1
- package/dist/page-actions.mjs +8 -4
- package/dist/search.d.mts +1 -1
- package/dist/shiny/index.d.mts +79 -0
- package/dist/shiny/index.mjs +83 -0
- package/dist/sidebar-search-ai.d.mts +11 -0
- package/dist/sidebar-search-ai.mjs +128 -0
- package/package.json +38 -14
- package/styles/ai.css +408 -81
- package/styles/base.css +211 -14
- package/styles/colorful.css +266 -0
- package/styles/darkbold.css +575 -0
- package/styles/darksharp.css +27 -11
- package/styles/default.css +22 -1
- package/styles/greentree.css +719 -0
- package/styles/omni.css +359 -0
- package/styles/pixel-border.css +115 -52
- package/styles/shiny.css +505 -0
package/styles/omni.css
ADDED
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
/* ═══════════════════════════════════════════════════════════════════
|
|
2
|
+
* Omni Command Palette — core styles
|
|
3
|
+
* Uses fumadocs CSS variables so it auto-adapts to every theme.
|
|
4
|
+
* ═══════════════════════════════════════════════════════════════════ */
|
|
5
|
+
|
|
6
|
+
@keyframes omni-fade-in {
|
|
7
|
+
from {
|
|
8
|
+
opacity: 0;
|
|
9
|
+
}
|
|
10
|
+
to {
|
|
11
|
+
opacity: 1;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@keyframes omni-fade-out {
|
|
15
|
+
from {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
}
|
|
18
|
+
to {
|
|
19
|
+
opacity: 0;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
@keyframes omni-scale-in {
|
|
23
|
+
from {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transform: translateX(-50%) scale(0.96) translateY(-4px);
|
|
26
|
+
}
|
|
27
|
+
to {
|
|
28
|
+
opacity: 1;
|
|
29
|
+
transform: translateX(-50%) scale(1) translateY(0);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
@keyframes omni-scale-out {
|
|
33
|
+
from {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
transform: translateX(-50%) scale(1) translateY(0);
|
|
36
|
+
}
|
|
37
|
+
to {
|
|
38
|
+
opacity: 0;
|
|
39
|
+
transform: translateX(-50%) scale(0.96) translateY(-4px);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@keyframes omni-spin {
|
|
44
|
+
from {
|
|
45
|
+
transform: rotate(0deg);
|
|
46
|
+
}
|
|
47
|
+
to {
|
|
48
|
+
transform: rotate(360deg);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.omni-spin {
|
|
53
|
+
animation: omni-spin 1s linear infinite;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.omni-overlay {
|
|
57
|
+
position: fixed;
|
|
58
|
+
inset: 0;
|
|
59
|
+
z-index: 100;
|
|
60
|
+
background: rgba(0, 0, 0, 0.55);
|
|
61
|
+
backdrop-filter: blur(4px);
|
|
62
|
+
animation: omni-fade-in 150ms ease-out;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.omni-content {
|
|
66
|
+
position: fixed;
|
|
67
|
+
z-index: 101;
|
|
68
|
+
top: 18%;
|
|
69
|
+
left: 50%;
|
|
70
|
+
transform: translateX(-50%);
|
|
71
|
+
width: min(720px, calc(100% - 32px));
|
|
72
|
+
border-radius: var(--radius, 0.75rem);
|
|
73
|
+
border: 1px solid var(--color-fd-border, #262626);
|
|
74
|
+
background: var(--color-fd-popover, #0c0c0c);
|
|
75
|
+
color: var(--color-fd-foreground, #fafafa);
|
|
76
|
+
box-shadow:
|
|
77
|
+
0 24px 60px -12px rgba(0, 0, 0, 0.5),
|
|
78
|
+
0 0 0 1px rgba(255, 255, 255, 0.04);
|
|
79
|
+
outline: none;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
animation: omni-scale-in 200ms cubic-bezier(0.16, 1, 0.3, 1);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media (max-width: 639px) {
|
|
85
|
+
.omni-content {
|
|
86
|
+
top: 10%;
|
|
87
|
+
width: calc(100% - 24px);
|
|
88
|
+
max-height: 75vh;
|
|
89
|
+
}
|
|
90
|
+
.omni-kbd {
|
|
91
|
+
display: none;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Header */
|
|
96
|
+
.omni-header {
|
|
97
|
+
border-bottom: 1px solid var(--color-fd-border, #262626);
|
|
98
|
+
}
|
|
99
|
+
.omni-search-row {
|
|
100
|
+
display: flex;
|
|
101
|
+
align-items: center;
|
|
102
|
+
gap: 0.5rem;
|
|
103
|
+
padding: 0.625rem 0.875rem;
|
|
104
|
+
}
|
|
105
|
+
.omni-search-icon {
|
|
106
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
107
|
+
flex-shrink: 0;
|
|
108
|
+
}
|
|
109
|
+
.omni-search-input {
|
|
110
|
+
flex: 1;
|
|
111
|
+
background: transparent;
|
|
112
|
+
outline: none;
|
|
113
|
+
font-size: 0.875rem;
|
|
114
|
+
line-height: 1.25rem;
|
|
115
|
+
color: var(--color-fd-foreground, #fafafa);
|
|
116
|
+
border: none;
|
|
117
|
+
}
|
|
118
|
+
.omni-search-input::placeholder {
|
|
119
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
120
|
+
}
|
|
121
|
+
.omni-kbd {
|
|
122
|
+
border-radius: 0.25rem;
|
|
123
|
+
background: var(--color-fd-muted, #262626);
|
|
124
|
+
padding: 0.125rem 0.375rem;
|
|
125
|
+
font-size: 10px;
|
|
126
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
127
|
+
font-family: inherit;
|
|
128
|
+
line-height: 1.4;
|
|
129
|
+
}
|
|
130
|
+
.omni-close-btn {
|
|
131
|
+
margin-left: 0.25rem;
|
|
132
|
+
border-radius: 0.25rem;
|
|
133
|
+
padding: 0.25rem;
|
|
134
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
135
|
+
transition: background 120ms;
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
border: none;
|
|
138
|
+
background: none;
|
|
139
|
+
}
|
|
140
|
+
.omni-close-btn:hover {
|
|
141
|
+
background: var(--color-fd-muted, #262626);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Body / listbox */
|
|
145
|
+
.omni-body {
|
|
146
|
+
max-height: 60vh;
|
|
147
|
+
overflow: auto;
|
|
148
|
+
padding: 0.25rem;
|
|
149
|
+
}
|
|
150
|
+
.omni-body::-webkit-scrollbar {
|
|
151
|
+
width: 6px;
|
|
152
|
+
}
|
|
153
|
+
.omni-body::-webkit-scrollbar-track {
|
|
154
|
+
background: transparent;
|
|
155
|
+
}
|
|
156
|
+
.omni-body::-webkit-scrollbar-thumb {
|
|
157
|
+
background: var(--color-fd-muted, #262626);
|
|
158
|
+
border-radius: 3px;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/* Loading */
|
|
162
|
+
.omni-loading {
|
|
163
|
+
display: flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
gap: 0.5rem;
|
|
166
|
+
padding: 0.5rem 0.75rem;
|
|
167
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
168
|
+
font-size: 0.75rem;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/* Groups */
|
|
172
|
+
.omni-group {
|
|
173
|
+
padding: 0.25rem 0;
|
|
174
|
+
}
|
|
175
|
+
.omni-group-label {
|
|
176
|
+
padding: 0.25rem 0.75rem;
|
|
177
|
+
font-size: 10px;
|
|
178
|
+
text-transform: uppercase;
|
|
179
|
+
letter-spacing: 0.06em;
|
|
180
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
}
|
|
183
|
+
.omni-group-items {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: column;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/* Items */
|
|
189
|
+
.omni-item {
|
|
190
|
+
display: flex;
|
|
191
|
+
width: 100%;
|
|
192
|
+
align-items: center;
|
|
193
|
+
gap: 0.75rem;
|
|
194
|
+
border-radius: calc(var(--radius, 0.75rem) - 4px);
|
|
195
|
+
padding: 0.5rem 0.75rem;
|
|
196
|
+
text-align: left;
|
|
197
|
+
font-size: 0.875rem;
|
|
198
|
+
line-height: 1.25rem;
|
|
199
|
+
cursor: pointer;
|
|
200
|
+
border: none;
|
|
201
|
+
background: transparent;
|
|
202
|
+
color: var(--color-fd-foreground, #fafafa);
|
|
203
|
+
transition: background 80ms;
|
|
204
|
+
}
|
|
205
|
+
.omni-item:hover,
|
|
206
|
+
.omni-item-active {
|
|
207
|
+
background: color-mix(in srgb, var(--color-fd-accent, #262626) 60%, transparent);
|
|
208
|
+
}
|
|
209
|
+
.omni-item-active {
|
|
210
|
+
color: var(--color-fd-accent-foreground, #fafafa);
|
|
211
|
+
}
|
|
212
|
+
.omni-item-disabled {
|
|
213
|
+
opacity: 0.5;
|
|
214
|
+
cursor: not-allowed;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.omni-item-icon {
|
|
218
|
+
flex-shrink: 0;
|
|
219
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
220
|
+
}
|
|
221
|
+
.omni-item-active .omni-item-icon {
|
|
222
|
+
color: var(--color-fd-accent-foreground, #fafafa);
|
|
223
|
+
}
|
|
224
|
+
.omni-item-text {
|
|
225
|
+
flex: 1;
|
|
226
|
+
min-width: 0;
|
|
227
|
+
}
|
|
228
|
+
.omni-item-label {
|
|
229
|
+
overflow: hidden;
|
|
230
|
+
text-overflow: ellipsis;
|
|
231
|
+
white-space: nowrap;
|
|
232
|
+
}
|
|
233
|
+
.omni-item-subtitle {
|
|
234
|
+
overflow: hidden;
|
|
235
|
+
text-overflow: ellipsis;
|
|
236
|
+
white-space: nowrap;
|
|
237
|
+
font-size: 0.75rem;
|
|
238
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
239
|
+
opacity: 0.8;
|
|
240
|
+
}
|
|
241
|
+
.omni-item-active .omni-item-subtitle {
|
|
242
|
+
color: var(--color-fd-accent-foreground, #fafafa);
|
|
243
|
+
opacity: 0.7;
|
|
244
|
+
}
|
|
245
|
+
.omni-item-badge {
|
|
246
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
247
|
+
flex-shrink: 0;
|
|
248
|
+
}
|
|
249
|
+
.omni-item-ext {
|
|
250
|
+
position: relative;
|
|
251
|
+
z-index: 2;
|
|
252
|
+
display: inline-flex;
|
|
253
|
+
align-items: center;
|
|
254
|
+
justify-content: center;
|
|
255
|
+
padding: 0.25rem;
|
|
256
|
+
border-radius: 0.25rem;
|
|
257
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
258
|
+
flex-shrink: 0;
|
|
259
|
+
transition:
|
|
260
|
+
color 100ms,
|
|
261
|
+
background 100ms;
|
|
262
|
+
text-decoration: none;
|
|
263
|
+
}
|
|
264
|
+
.omni-item-ext:hover {
|
|
265
|
+
color: var(--color-fd-foreground, #fafafa);
|
|
266
|
+
background: var(--color-fd-muted, #262626);
|
|
267
|
+
}
|
|
268
|
+
.omni-item-shortcuts {
|
|
269
|
+
display: none;
|
|
270
|
+
align-items: center;
|
|
271
|
+
gap: 0.25rem;
|
|
272
|
+
font-size: 10px;
|
|
273
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
274
|
+
}
|
|
275
|
+
@media (min-width: 640px) {
|
|
276
|
+
.omni-item-shortcuts {
|
|
277
|
+
display: flex;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
.omni-kbd-sm {
|
|
281
|
+
border-radius: 0.25rem;
|
|
282
|
+
background: var(--color-fd-muted, #262626);
|
|
283
|
+
padding: 0.125rem 0.25rem;
|
|
284
|
+
font-family: inherit;
|
|
285
|
+
}
|
|
286
|
+
.omni-item-chevron {
|
|
287
|
+
width: 0.875rem;
|
|
288
|
+
height: 0.875rem;
|
|
289
|
+
margin-left: 0.25rem;
|
|
290
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
291
|
+
opacity: 0;
|
|
292
|
+
transition: opacity 120ms;
|
|
293
|
+
flex-shrink: 0;
|
|
294
|
+
}
|
|
295
|
+
.omni-item:hover .omni-item-chevron {
|
|
296
|
+
opacity: 1;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/* Highlight */
|
|
300
|
+
.omni-highlight {
|
|
301
|
+
border-radius: 2px;
|
|
302
|
+
background: color-mix(in srgb, var(--color-fd-primary, #6366f1) 30%, transparent);
|
|
303
|
+
padding: 0 2px;
|
|
304
|
+
color: inherit;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/* Empty states */
|
|
308
|
+
.omni-empty-group {
|
|
309
|
+
padding: 0.5rem 0.75rem;
|
|
310
|
+
font-size: 0.75rem;
|
|
311
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
312
|
+
}
|
|
313
|
+
.omni-empty {
|
|
314
|
+
padding: 2rem 0.75rem;
|
|
315
|
+
text-align: center;
|
|
316
|
+
font-size: 0.875rem;
|
|
317
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
318
|
+
}
|
|
319
|
+
.omni-empty-icon {
|
|
320
|
+
width: 2rem;
|
|
321
|
+
height: 2rem;
|
|
322
|
+
margin: 0 auto 0.5rem;
|
|
323
|
+
display: flex;
|
|
324
|
+
align-items: center;
|
|
325
|
+
justify-content: center;
|
|
326
|
+
border-radius: 9999px;
|
|
327
|
+
background: var(--color-fd-muted, #262626);
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/* Footer */
|
|
331
|
+
.omni-footer {
|
|
332
|
+
border-top: 1px solid var(--color-fd-border, #262626);
|
|
333
|
+
}
|
|
334
|
+
.omni-footer-inner {
|
|
335
|
+
display: flex;
|
|
336
|
+
align-items: center;
|
|
337
|
+
justify-content: space-between;
|
|
338
|
+
padding: 0.5rem 0.75rem;
|
|
339
|
+
font-size: 0.75rem;
|
|
340
|
+
color: var(--color-fd-muted-foreground, #a3a3a3);
|
|
341
|
+
}
|
|
342
|
+
.omni-footer-hints {
|
|
343
|
+
display: flex;
|
|
344
|
+
align-items: center;
|
|
345
|
+
gap: 1rem;
|
|
346
|
+
}
|
|
347
|
+
.omni-footer-hint {
|
|
348
|
+
display: flex;
|
|
349
|
+
align-items: center;
|
|
350
|
+
gap: 0.25rem;
|
|
351
|
+
}
|
|
352
|
+
.omni-footer-hint-desktop {
|
|
353
|
+
display: none;
|
|
354
|
+
}
|
|
355
|
+
@media (min-width: 640px) {
|
|
356
|
+
.omni-footer-hint-desktop {
|
|
357
|
+
display: flex;
|
|
358
|
+
}
|
|
359
|
+
}
|
package/styles/pixel-border.css
CHANGED
|
@@ -58,10 +58,7 @@
|
|
|
58
58
|
html {
|
|
59
59
|
scroll-behavior: auto;
|
|
60
60
|
scroll-padding-top: calc(
|
|
61
|
-
var(--fd-nav-height, 56px) +
|
|
62
|
-
var(--fd-banner-height, 0px) +
|
|
63
|
-
var(--fd-tocnav-height, 0px) +
|
|
64
|
-
24px
|
|
61
|
+
var(--fd-nav-height, 56px) + var(--fd-banner-height, 0px) + var(--fd-tocnav-height, 0px) + 24px
|
|
65
62
|
);
|
|
66
63
|
}
|
|
67
64
|
|
|
@@ -80,18 +77,22 @@ html:not([data-anchor-scrolling]) {
|
|
|
80
77
|
width: 12px;
|
|
81
78
|
height: 12px;
|
|
82
79
|
}
|
|
80
|
+
|
|
83
81
|
::-webkit-scrollbar-track {
|
|
84
82
|
background: var(--scrollbar-track);
|
|
85
83
|
}
|
|
84
|
+
|
|
86
85
|
::-webkit-scrollbar-thumb {
|
|
87
86
|
background-color: var(--scrollbar-thumb);
|
|
88
87
|
border-radius: 9999px;
|
|
89
88
|
border: 3px solid transparent;
|
|
90
89
|
background-clip: content-box;
|
|
91
90
|
}
|
|
91
|
+
|
|
92
92
|
::-webkit-scrollbar-thumb:hover {
|
|
93
93
|
background-color: var(--scrollbar-thumb-hover);
|
|
94
94
|
}
|
|
95
|
+
|
|
95
96
|
::-webkit-scrollbar-corner {
|
|
96
97
|
background: transparent;
|
|
97
98
|
}
|
|
@@ -115,21 +116,21 @@ code:not(pre code) {
|
|
|
115
116
|
}
|
|
116
117
|
|
|
117
118
|
/* ═══════════════════════════════════════════════════════════════════
|
|
118
|
-
*
|
|
119
|
+
* Rounded-none: scoped to docs layout to avoid bleeding onto landing page
|
|
119
120
|
* ═══════════════════════════════════════════════════════════════════ */
|
|
120
121
|
|
|
121
|
-
/* Cards, popovers, dialogs, inputs, buttons, badges */
|
|
122
|
-
[class*="rounded-"],
|
|
123
|
-
[class*="border-radius"],
|
|
124
|
-
.rounded-lg,
|
|
125
|
-
.rounded-md,
|
|
126
|
-
.rounded-xl,
|
|
127
|
-
.rounded-2xl {
|
|
122
|
+
/* Cards, popovers, dialogs, inputs, buttons, badges — docs only */
|
|
123
|
+
#nd-docs-layout [class*="rounded-"],
|
|
124
|
+
#nd-docs-layout [class*="border-radius"],
|
|
125
|
+
#nd-docs-layout .rounded-lg,
|
|
126
|
+
#nd-docs-layout .rounded-md,
|
|
127
|
+
#nd-docs-layout .rounded-xl,
|
|
128
|
+
#nd-docs-layout .rounded-2xl {
|
|
128
129
|
border-radius: 0 !important;
|
|
129
130
|
}
|
|
130
131
|
|
|
131
|
-
/* Inline code */
|
|
132
|
-
code:not(pre code) {
|
|
132
|
+
/* Inline code — docs only */
|
|
133
|
+
#nd-docs-layout code:not(pre code) {
|
|
133
134
|
border-radius: 0 !important;
|
|
134
135
|
}
|
|
135
136
|
|
|
@@ -137,6 +138,11 @@ code:not(pre code) {
|
|
|
137
138
|
* Pixel-border theme — better-auth inspired sidebar, clean dark UI
|
|
138
139
|
* ═══════════════════════════════════════════════════════════════════ */
|
|
139
140
|
|
|
141
|
+
/* ─── Wider content area on desktop ──────────────────────────────── */
|
|
142
|
+
/* :root {
|
|
143
|
+
--fd-layout-width: 1400px;
|
|
144
|
+
} */
|
|
145
|
+
|
|
140
146
|
/* ─── Docs grid: pin sidebar left, TOC right, content fills middle ── */
|
|
141
147
|
@media (min-width: 768px) {
|
|
142
148
|
#nd-docs-layout {
|
|
@@ -152,7 +158,6 @@ code:not(pre code) {
|
|
|
152
158
|
}
|
|
153
159
|
|
|
154
160
|
/* ── Full-width border separators between top-level items ─────────── */
|
|
155
|
-
/* Negative margins extend the border line across the full sidebar. */
|
|
156
161
|
.dark aside .overscroll-contain > div {
|
|
157
162
|
margin-top: -22px;
|
|
158
163
|
}
|
|
@@ -163,12 +168,9 @@ code:not(pre code) {
|
|
|
163
168
|
margin-right: -1rem;
|
|
164
169
|
padding-left: 1rem;
|
|
165
170
|
padding-right: 1rem;
|
|
166
|
-
/* padding-top: 0.75rem; */
|
|
167
171
|
padding-bottom: 0.75rem;
|
|
168
172
|
}
|
|
169
173
|
|
|
170
|
-
/* Folder wrappers: border + negative margin but NO padding
|
|
171
|
-
so the parent link inside aligns with other top-level items. */
|
|
172
174
|
.dark aside .overscroll-contain > div > div {
|
|
173
175
|
border-top: 1px solid hsl(0 0% 12%);
|
|
174
176
|
margin-left: -1rem;
|
|
@@ -176,16 +178,16 @@ code:not(pre code) {
|
|
|
176
178
|
padding: 0 !important;
|
|
177
179
|
}
|
|
178
180
|
|
|
179
|
-
/* Parent link inside a folder (e.g. "Introduction") —
|
|
180
|
-
inherit the same padding as other top-level links from the
|
|
181
|
-
all-links rule so it aligns flush. No extra padding here. */
|
|
182
|
-
|
|
183
|
-
/* First item: no top border */
|
|
184
181
|
.dark aside .overscroll-contain > div > a[data-active]:first-child,
|
|
185
182
|
.dark aside .overscroll-contain > div > div:first-child {
|
|
186
183
|
border-top: none;
|
|
187
184
|
}
|
|
188
185
|
|
|
186
|
+
.dark aside .overscroll-contain > div > a[data-active]:last-child,
|
|
187
|
+
.dark aside .overscroll-contain > div > div:last-child {
|
|
188
|
+
border-bottom: 1px solid hsl(0 0% 12%);
|
|
189
|
+
}
|
|
190
|
+
|
|
189
191
|
/* ── Sidebar links (all levels) ──────────────────────────────────── */
|
|
190
192
|
|
|
191
193
|
.dark aside a[data-active] {
|
|
@@ -200,7 +202,6 @@ code:not(pre code) {
|
|
|
200
202
|
background-color: transparent !important;
|
|
201
203
|
}
|
|
202
204
|
|
|
203
|
-
/* Kill the Tailwind utility bg on active & hover */
|
|
204
205
|
.dark aside a[data-active="true"],
|
|
205
206
|
.dark aside a[data-active="true"]:hover {
|
|
206
207
|
background: transparent !important;
|
|
@@ -209,7 +210,6 @@ code:not(pre code) {
|
|
|
209
210
|
font-weight: 600;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
|
-
/* Hover on inactive: text brightens only */
|
|
213
213
|
.dark aside a[data-active="false"]:hover {
|
|
214
214
|
background: transparent !important;
|
|
215
215
|
background-color: transparent !important;
|
|
@@ -217,9 +217,6 @@ code:not(pre code) {
|
|
|
217
217
|
}
|
|
218
218
|
|
|
219
219
|
/* ── Child links inside collapsible folders ──────────────────────── */
|
|
220
|
-
/* Smaller text, indented, no border separators.
|
|
221
|
-
Target only links inside the inner overflow-hidden collapsible
|
|
222
|
-
content container (which has both data-state and overflow-hidden). */
|
|
223
220
|
|
|
224
221
|
.dark aside div.overflow-hidden[data-state] a[data-active] {
|
|
225
222
|
font-size: 0.785rem !important;
|
|
@@ -253,36 +250,26 @@ code:not(pre code) {
|
|
|
253
250
|
.dark aside button.text-fd-muted-foreground:hover {
|
|
254
251
|
color: hsl(0 0% 100%);
|
|
255
252
|
}
|
|
253
|
+
|
|
256
254
|
.dark aside a[data-active="true"]::before {
|
|
257
|
-
background-color: var(--color-fd-primary) !important;
|
|
258
|
-
width: 2px !important;
|
|
259
|
-
margin-left: 0.6rem !important;
|
|
260
|
-
inset-inline-start: 0.5rem !important;
|
|
255
|
+
background-color: var(--color-fd-primary) !important;
|
|
256
|
+
width: 2px !important;
|
|
257
|
+
margin-left: 0.6rem !important;
|
|
258
|
+
inset-inline-start: 0.5rem !important;
|
|
261
259
|
}
|
|
262
260
|
|
|
263
|
-
/* Change the static folder guide line */
|
|
264
261
|
.dark aside div.overflow-hidden[data-state]::before {
|
|
265
262
|
margin-left: 0.5rem !important;
|
|
266
263
|
height: calc(100% + 20px) !important;
|
|
267
|
-
/* margin-bottom: -10px !important; */
|
|
268
264
|
margin-top: -25px !important;
|
|
269
265
|
}
|
|
270
266
|
|
|
271
|
-
/* ── Folder parent link when children are EXPANDED ────── */
|
|
272
267
|
.dark aside div[data-state="open"] > :last-child {
|
|
273
268
|
overflow: hidden;
|
|
274
269
|
}
|
|
275
270
|
|
|
276
|
-
/* ── Folder parent link when children are COLLAPSED ───── */
|
|
277
|
-
/* .dark aside div[data-state="closed"] > a[data-active] {
|
|
278
|
-
color: hsl(0 0% 60%) !important;
|
|
279
|
-
font-weight: 400 !important;
|
|
280
|
-
} */
|
|
281
|
-
|
|
282
|
-
|
|
283
271
|
/* ── Search button: full-width, border-y only ────────────────────── */
|
|
284
272
|
|
|
285
|
-
|
|
286
273
|
.dark aside button[class*="bg-fd-secondary"] {
|
|
287
274
|
background: transparent !important;
|
|
288
275
|
border: none !important;
|
|
@@ -426,32 +413,66 @@ figure.shiki > div:first-child {
|
|
|
426
413
|
font-size: 0.75rem;
|
|
427
414
|
letter-spacing: 0.01em;
|
|
428
415
|
}
|
|
416
|
+
|
|
429
417
|
.fd-breadcrumb-link {
|
|
430
418
|
color: inherit;
|
|
431
419
|
text-decoration: none;
|
|
432
420
|
text-transform: uppercase;
|
|
433
421
|
font-family: var(--fd-font-mono, var(--font-geist-mono, ui-monospace, monospace));
|
|
434
422
|
}
|
|
423
|
+
|
|
435
424
|
.fd-breadcrumb-current {
|
|
436
425
|
font-family: var(--fd-font-mono, var(--font-geist-mono, ui-monospace, monospace));
|
|
437
426
|
text-transform: uppercase;
|
|
438
427
|
}
|
|
439
|
-
/*
|
|
428
|
+
/* llms.txt links */
|
|
429
|
+
.fd-llms-txt-links {
|
|
430
|
+
display: inline-flex;
|
|
431
|
+
align-items: center;
|
|
432
|
+
gap: 0.5rem;
|
|
433
|
+
}
|
|
440
434
|
|
|
435
|
+
.fd-llms-txt-link {
|
|
436
|
+
color: var(--color-fd-muted-foreground, hsl(0 0% 45%));
|
|
437
|
+
font-size: 0.65rem !important;
|
|
438
|
+
font-family: var(--fd-font-mono, ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace);
|
|
439
|
+
text-decoration: none;
|
|
440
|
+
padding: 0.015rem 0.4rem !important;
|
|
441
|
+
border-radius: 0px !important;
|
|
442
|
+
border: 0.5px solid var(--color-fd-border, hsl(0 0% 80% / 50%));
|
|
443
|
+
transition: color 150ms, border-color 150ms;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
.fd-llms-txt-link:hover {
|
|
447
|
+
color: var(--color-fd-foreground, hsl(0 0% 10%)) !important;
|
|
448
|
+
border: 0.5px solid var(--color-fd-muted-foreground, hsl(0 0% 10% / 10%)) !important;
|
|
449
|
+
text-decoration: none;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
/* ─── Page Actions (pixel-border overrides) ───────────────────────── */
|
|
441
453
|
.fd-page-action-btn {
|
|
442
454
|
border-radius: 0 !important;
|
|
443
455
|
font-size: 0.75rem;
|
|
444
456
|
letter-spacing: 0.03em;
|
|
457
|
+
text-transform: uppercase;
|
|
458
|
+
box-shadow: 2px 2px 0 0 var(--color-fd-border, #262626);
|
|
459
|
+
font-family: var(--fd-font-mono, var(--font-geist-mono, ui-monospace, monospace)) !important;
|
|
445
460
|
}
|
|
446
461
|
|
|
447
462
|
.fd-page-action-menu {
|
|
448
463
|
border-radius: 0 !important;
|
|
449
464
|
box-shadow: 0 4px 24px hsl(0 0% 0% / 0.5);
|
|
465
|
+
padding: 0px !important;
|
|
466
|
+
box-shadow: 2px 2px 0 0 var(--color-fd-border, #262626);
|
|
450
467
|
}
|
|
451
468
|
|
|
452
469
|
.fd-page-action-menu-item {
|
|
453
470
|
border-radius: 0 !important;
|
|
454
|
-
font-size: 0.
|
|
471
|
+
font-size: 0.68rem;
|
|
472
|
+
border-top: 1px solid var(--color-fd-border, #262626);
|
|
473
|
+
text-transform: uppercase;
|
|
474
|
+
color: var(--color-fd-muted-foreground, hsl(0 0% 45%));
|
|
475
|
+
font-family: var(--fd-font-mono, var(--font-geist-mono, ui-monospace, monospace)) !important;
|
|
455
476
|
}
|
|
456
477
|
|
|
457
478
|
/* ─── AI Chat (pixel-border — zero radius, pixel-art, monospace) ── */
|
|
@@ -543,13 +564,13 @@ figure.shiki > div:first-child {
|
|
|
543
564
|
letter-spacing: 0.06em;
|
|
544
565
|
}
|
|
545
566
|
|
|
546
|
-
.fd-ai-
|
|
567
|
+
.fd-ai-loader-shimmer-text {
|
|
547
568
|
text-transform: uppercase;
|
|
548
569
|
letter-spacing: 0.04em;
|
|
549
570
|
font-size: 11px;
|
|
550
571
|
}
|
|
551
572
|
|
|
552
|
-
.fd-ai-
|
|
573
|
+
.fd-ai-loader-typing-dot {
|
|
553
574
|
border-radius: 0;
|
|
554
575
|
width: 4px;
|
|
555
576
|
height: 4px;
|
|
@@ -627,11 +648,7 @@ figure.shiki > div:first-child {
|
|
|
627
648
|
font-size: 11px;
|
|
628
649
|
}
|
|
629
650
|
|
|
630
|
-
.fd-ai-
|
|
631
|
-
border-radius: 0;
|
|
632
|
-
width: 5px;
|
|
633
|
-
height: 5px;
|
|
634
|
-
}
|
|
651
|
+
/* Full-modal now uses .fd-ai-loader-typing-dot (see above) */
|
|
635
652
|
|
|
636
653
|
/* ─── Code blocks (pixel-border) ─────────────────────────────────── */
|
|
637
654
|
|
|
@@ -669,3 +686,49 @@ figure.shiki > div:first-child {
|
|
|
669
686
|
.fd-ai-code-block code {
|
|
670
687
|
font-family: var(--fd-font-mono, ui-monospace, monospace);
|
|
671
688
|
}
|
|
689
|
+
|
|
690
|
+
/* ─── Omni Command Palette (pixel-border theme) ─────────────────── */
|
|
691
|
+
|
|
692
|
+
.omni-content {
|
|
693
|
+
border-radius: 0 !important;
|
|
694
|
+
border: 2px solid var(--color-fd-border, hsl(0 0% 15%));
|
|
695
|
+
box-shadow:
|
|
696
|
+
3px 3px 0 0 var(--color-fd-border, hsl(0 0% 15%)),
|
|
697
|
+
0 0 0 1px rgba(255, 255, 255, 0.02);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
.omni-item {
|
|
701
|
+
border-radius: 0 !important;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.omni-kbd,
|
|
705
|
+
.omni-kbd-sm {
|
|
706
|
+
border-radius: 0 !important;
|
|
707
|
+
border: 1px solid var(--color-fd-border, hsl(0 0% 15%));
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.omni-close-btn {
|
|
711
|
+
border-radius: 0 !important;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.omni-empty-icon {
|
|
715
|
+
border-radius: 0 !important;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.omni-search-input {
|
|
719
|
+
font-family: var(--fd-font-mono, ui-monospace, monospace);
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
.omni-group-label {
|
|
723
|
+
font-family: var(--fd-font-mono, ui-monospace, monospace);
|
|
724
|
+
letter-spacing: 0.08em;
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
.omni-footer-inner {
|
|
728
|
+
font-family: var(--fd-font-mono, ui-monospace, monospace);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
.omni-highlight {
|
|
732
|
+
background: color-mix(in srgb, var(--color-fd-primary, #6366f1) 25%, transparent);
|
|
733
|
+
border-radius: 0 !important;
|
|
734
|
+
}
|