@farming-labs/theme 0.2.98 → 0.2.101
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/browser.d.mts +28 -0
- package/dist/browser.mjs +81 -0
- package/dist/docs-client-hooks.mjs +1 -1
- package/dist/docs-command-search.mjs +13 -2
- package/dist/docs-layout.mjs +7 -3
- package/dist/docs-page-client.d.mts +6 -0
- package/dist/docs-page-client.mjs +33 -6
- package/dist/mdx.mjs +1 -1
- package/dist/open-docs-provider-icons.mjs +14 -0
- package/dist/open-docs-providers.mjs +17 -2
- package/dist/page-actions.mjs +3 -8
- package/dist/pixel-border/index.d.mts +1 -0
- package/dist/pixel-border/index.mjs +2 -1
- package/dist/reading-time-options.mjs +27 -0
- package/dist/reading-time.mjs +2 -24
- package/dist/tablet-sidebar-bridge.mjs +64 -0
- package/dist/tanstack-layout.d.mts +5 -0
- package/dist/tanstack-layout.mjs +10 -4
- package/dist/tanstack.d.mts +1 -1
- package/dist/tanstack.mjs +1 -1
- package/package.json +9 -2
- package/styles/bundles/browser-framework.css +10585 -0
- package/styles/bundles/shared-framework.css +3 -3
- package/styles/pixel-border.css +33 -13
|
@@ -3972,7 +3972,7 @@ code.shiki span {
|
|
|
3972
3972
|
background: var(--color-fd-popover, var(--color-fd-background, #0c0c0c));
|
|
3973
3973
|
border: 1px solid var(--color-fd-border, rgba(255, 255, 255, 0.1));
|
|
3974
3974
|
border-radius: var(--radius, 8px);
|
|
3975
|
-
box-shadow: 2px 2px 0 0 var(--color-fd-border, #262626);
|
|
3975
|
+
box-shadow: 2px 2px 0 0 var(--color-fd-border, #262626);
|
|
3976
3976
|
animation: fd-ai-fade-in 100ms ease-out;
|
|
3977
3977
|
}
|
|
3978
3978
|
|
|
@@ -4820,7 +4820,7 @@ code.shiki span {
|
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
4822
|
.fd-ai-fm-input-bar--closed {
|
|
4823
|
-
|
|
4823
|
+
|
|
4824
4824
|
}
|
|
4825
4825
|
|
|
4826
4826
|
.fd-ai-fm-input-bar--open {
|
|
@@ -6673,7 +6673,7 @@ html[data-fd-route-kind="changelog"] .fd-ai-fm-input-bar {
|
|
|
6673
6673
|
}
|
|
6674
6674
|
|
|
6675
6675
|
.fd-changelog-prose h2 {
|
|
6676
|
-
|
|
6676
|
+
|
|
6677
6677
|
margin-top: 1.75rem;
|
|
6678
6678
|
font-size: 1.0625rem !important;
|
|
6679
6679
|
font-weight: 600 !important;
|
package/styles/pixel-border.css
CHANGED
|
@@ -157,14 +157,41 @@ code:not(pre code) {
|
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
/* ───
|
|
160
|
+
/* ─── Default docs: comfortable article gutters ─────────────────── */
|
|
161
161
|
@media (min-width: 768px) {
|
|
162
|
+
#nd-docs-layout:not([data-fd-framework]) article#nd-page {
|
|
163
|
+
padding-inline: 2rem;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@media (max-width: 1279px) {
|
|
168
|
+
#nd-docs-layout:not([data-fd-framework]) {
|
|
169
|
+
--fd-toc-popover-height: 0px !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
#nd-docs-layout:not([data-fd-framework]) #nd-toc,
|
|
173
|
+
#nd-docs-layout:not([data-fd-framework]) [data-toc-popover] {
|
|
174
|
+
display: none !important;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* Keep the native Clerk bend from overpainting the straight rail segment. */
|
|
179
|
+
#nd-toc a > div.bottom-1\.5 {
|
|
180
|
+
bottom: 0.375rem;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
#nd-toc a > div.top-1\.5 {
|
|
184
|
+
top: 0.375rem;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/* ─── Docs grid: sidebar (sticky left, full height) | content | TOC ─────── */
|
|
188
|
+
@media (min-width: 1024px) {
|
|
162
189
|
#nd-docs-layout:not([data-fd-framework]),
|
|
163
190
|
#nd-docs-layout:not([data-fd-framework]) [style*="fd-sidebar-col"] {
|
|
164
191
|
grid-template-columns: var(--fd-sidebar-col, 0px) 1fr min-content !important;
|
|
165
192
|
}
|
|
166
193
|
/* Sidebar stretches to end and sticks on scroll; no max-height so content isn't clipped */
|
|
167
|
-
#nd-docs-layout aside#nd-sidebar {
|
|
194
|
+
#nd-docs-layout:not([data-fd-framework]) aside#nd-sidebar {
|
|
168
195
|
position: sticky;
|
|
169
196
|
top: 0;
|
|
170
197
|
align-self: start;
|
|
@@ -182,23 +209,23 @@ code:not(pre code) {
|
|
|
182
209
|
var(--fd-sidebar-col) minmax(0, 1fr) var(--fd-toc-width) !important;
|
|
183
210
|
}
|
|
184
211
|
|
|
185
|
-
#nd-docs-layout [data-sidebar-placeholder] {
|
|
212
|
+
#nd-docs-layout:not([data-fd-framework]) [data-sidebar-placeholder] {
|
|
186
213
|
justify-self: stretch;
|
|
187
214
|
}
|
|
188
215
|
|
|
189
|
-
#nd-docs-layout article#nd-page {
|
|
216
|
+
#nd-docs-layout:not([data-fd-framework]) article#nd-page {
|
|
190
217
|
max-width: none;
|
|
191
218
|
margin-inline: 0;
|
|
192
219
|
}
|
|
193
220
|
|
|
194
|
-
#nd-docs-layout article#nd-page > .prose {
|
|
221
|
+
#nd-docs-layout:not([data-fd-framework]) article#nd-page > .prose {
|
|
195
222
|
max-width: none;
|
|
196
223
|
}
|
|
197
224
|
}
|
|
198
225
|
|
|
199
226
|
/* ─── Mobile: ensure sidebar drawer/content isn't clipped ───────────────── */
|
|
200
227
|
@media (max-width: 767px) {
|
|
201
|
-
#nd-docs-layout aside#nd-sidebar {
|
|
228
|
+
#nd-docs-layout:not([data-fd-framework]) aside#nd-sidebar {
|
|
202
229
|
max-height: none;
|
|
203
230
|
overflow-y: visible;
|
|
204
231
|
}
|
|
@@ -469,13 +496,6 @@ article a[class*="border"]:hover {
|
|
|
469
496
|
border-color: var(--fd-pixel-modal-border) !important;
|
|
470
497
|
}
|
|
471
498
|
|
|
472
|
-
/* ─── TOC right panel (light + dark) ───────────────────────────────── */
|
|
473
|
-
|
|
474
|
-
nav[class*="toc"],
|
|
475
|
-
[class*="fd-toc"] {
|
|
476
|
-
border-color: var(--color-fd-border);
|
|
477
|
-
}
|
|
478
|
-
|
|
479
499
|
/* ─── Separator/Divider (hr) — light + dark ─────────────────────────── */
|
|
480
500
|
|
|
481
501
|
hr {
|