@farming-labs/theme 0.0.60 → 0.0.61
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/package.json +2 -2
- package/styles/default.css +27 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
"tsdown": "^0.20.3",
|
|
116
116
|
"typescript": "^5.9.3",
|
|
117
117
|
"vitest": "^3.2.4",
|
|
118
|
-
"@farming-labs/docs": "0.0.
|
|
118
|
+
"@farming-labs/docs": "0.0.61"
|
|
119
119
|
},
|
|
120
120
|
"peerDependencies": {
|
|
121
121
|
"@farming-labs/docs": ">=0.0.1",
|
package/styles/default.css
CHANGED
|
@@ -239,6 +239,33 @@
|
|
|
239
239
|
border-radius: 0.5rem;
|
|
240
240
|
}
|
|
241
241
|
|
|
242
|
+
/* ─── Desktop docs layout (default theme) ────────────────────────── */
|
|
243
|
+
|
|
244
|
+
@media (min-width: 1024px) {
|
|
245
|
+
#nd-docs-layout.grid {
|
|
246
|
+
grid-template:
|
|
247
|
+
"sidebar header toc"
|
|
248
|
+
"sidebar toc-popover toc"
|
|
249
|
+
"sidebar main toc" 1fr /
|
|
250
|
+
var(--fd-sidebar-col)
|
|
251
|
+
minmax(0, 1fr)
|
|
252
|
+
var(--fd-toc-width) !important;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
#nd-docs-layout [data-sidebar-placeholder] {
|
|
256
|
+
justify-self: stretch;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
#nd-docs-layout article#nd-page {
|
|
260
|
+
max-width: none;
|
|
261
|
+
margin-inline: 0;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
#nd-docs-layout article#nd-page > .prose {
|
|
265
|
+
max-width: none;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
242
269
|
.fd-feedback-status[data-status="success"] {
|
|
243
270
|
color: color-mix(in srgb, var(--color-fd-primary) 85%, var(--color-fd-foreground));
|
|
244
271
|
}
|