@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.
@@ -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;
@@ -157,14 +157,41 @@ code:not(pre code) {
157
157
  }
158
158
  }
159
159
 
160
- /* ─── Docs grid: sidebar (sticky left, full height) | content | TOC ─────── */
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 {