@farming-labs/theme 0.2.131 → 0.2.133-perf.0

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.
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/colorful/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/command-grid/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/concrete/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/darkbold/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/darksharp/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/default/index.ts
4
4
  /**
package/dist/docs-api.mjs CHANGED
@@ -1127,7 +1127,11 @@ function scanDocsDir(docsDir, entry, locale, excludedDirs = [], publicPath = `/$
1127
1127
  rawContent,
1128
1128
  agentFallbackRawContent: agentRawContent !== rawContent ? agentRawContent : void 0,
1129
1129
  url,
1130
- sourcePath: pageSource.replace(/\\/g, "/"),
1130
+ sourcePath: path.relative(
1131
+ /* turbopackIgnore: true */
1132
+ docsDir,
1133
+ pageSource
1134
+ ).replace(/\\/g, "/"),
1131
1135
  lastmod: normalizeFrontmatterLastmod(data.lastmod),
1132
1136
  lastModified: reader.stat(pageSource).mtime.toISOString(),
1133
1137
  locale,
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/greentree/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/hardline/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/ledger/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/pixel-border/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/shadcn/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/shiny/index.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { createTheme } from "@farming-labs/docs";
1
+ import { createTheme } from "@farming-labs/docs/config";
2
2
 
3
3
  //#region src/threadline/index.ts
4
4
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farming-labs/theme",
3
- "version": "0.2.131",
3
+ "version": "0.2.133-perf.0",
4
4
  "description": "Theme package for @farming-labs/docs — layout, provider, MDX components, and styles",
5
5
  "keywords": [
6
6
  "docs",
@@ -161,13 +161,13 @@
161
161
  "tsdown": "^0.20.3",
162
162
  "typescript": "^5.9.3",
163
163
  "vitest": "^4.1.8",
164
- "@farming-labs/docs": "0.2.131"
164
+ "@farming-labs/docs": "0.2.133-perf.0"
165
165
  },
166
166
  "peerDependencies": {
167
- "@farming-labs/docs": ">=0.0.1",
168
167
  "next": ">=16.0.0",
169
168
  "react": ">=19.2.0",
170
- "react-dom": ">=19.2.0"
169
+ "react-dom": ">=19.2.0",
170
+ "@farming-labs/docs": "^0.2.133-perf.0"
171
171
  },
172
172
  "peerDependenciesMeta": {
173
173
  "next": {