@farming-labs/theme 0.2.43 → 0.2.45
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/docs-layout.mjs +3 -1
- package/dist/tanstack-layout.mjs +3 -1
- package/package.json +15 -3
- package/styles/bundles/shared-framework.css +10555 -0
- package/styles/colorful.css +26 -10
- package/styles/command-grid.css +19 -6
- package/styles/concrete.css +36 -17
- package/styles/darkbold.css +48 -22
- package/styles/darksharp.css +33 -5
- package/styles/default.css +8 -1
- package/styles/framework.css +3616 -0
- package/styles/greentree.css +56 -21
- package/styles/hardline.css +319 -24
- package/styles/ledger.css +20 -5
- package/styles/pixel-border.css +32 -11
- package/styles/shiny.css +42 -20
- package/styles/threadline.css +17 -16
package/dist/docs-layout.mjs
CHANGED
|
@@ -591,7 +591,9 @@ function buildTypographyCSS(typo) {
|
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
if (vars.length === 0) return "";
|
|
594
|
-
return `:root
|
|
594
|
+
return `:root,
|
|
595
|
+
body:has(#nd-docs-layout),
|
|
596
|
+
#nd-docs-layout {\n ${vars.join("\n ")}\n}`;
|
|
595
597
|
}
|
|
596
598
|
function TypographyStyle({ typography }) {
|
|
597
599
|
const css = buildTypographyCSS(typography);
|
package/dist/tanstack-layout.mjs
CHANGED
|
@@ -145,7 +145,9 @@ function buildTypographyCSS(typo) {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
if (vars.length === 0) return "";
|
|
148
|
-
return `:root
|
|
148
|
+
return `:root,
|
|
149
|
+
body:has(#nd-docs-layout),
|
|
150
|
+
#nd-docs-layout {\n ${vars.join("\n ")}\n}`;
|
|
149
151
|
}
|
|
150
152
|
function TypographyStyle({ typography }) {
|
|
151
153
|
const css = buildTypographyCSS(typography);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@farming-labs/theme",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.45",
|
|
4
4
|
"description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"docs",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"tsdown": "^0.20.3",
|
|
147
147
|
"typescript": "^5.9.3",
|
|
148
148
|
"vitest": "^4.1.8",
|
|
149
|
-
"@farming-labs/docs": "0.2.
|
|
149
|
+
"@farming-labs/docs": "0.2.45"
|
|
150
150
|
},
|
|
151
151
|
"peerDependencies": {
|
|
152
152
|
"@farming-labs/docs": ">=0.0.1",
|
|
@@ -154,8 +154,20 @@
|
|
|
154
154
|
"react": ">=19.2.0",
|
|
155
155
|
"react-dom": ">=19.2.0"
|
|
156
156
|
},
|
|
157
|
+
"peerDependenciesMeta": {
|
|
158
|
+
"next": {
|
|
159
|
+
"optional": true
|
|
160
|
+
},
|
|
161
|
+
"react": {
|
|
162
|
+
"optional": true
|
|
163
|
+
},
|
|
164
|
+
"react-dom": {
|
|
165
|
+
"optional": true
|
|
166
|
+
}
|
|
167
|
+
},
|
|
157
168
|
"scripts": {
|
|
158
|
-
"build": "tsdown",
|
|
169
|
+
"build": "node scripts/build-css-bundles.mjs && tsdown",
|
|
170
|
+
"build:css": "node scripts/build-css-bundles.mjs",
|
|
159
171
|
"dev": "tsdown --watch",
|
|
160
172
|
"typecheck": "tsc --noEmit",
|
|
161
173
|
"test": "vitest run",
|