@inkdropapp/theme-dev-helpers 0.3.8 → 0.3.9
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 +3 -3
- package/pnpm-workspace.yaml +3 -0
- package/src/generate-palette.ts +1 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkdropapp/theme-dev-helpers",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.9",
|
|
4
4
|
"description": "A helper module for creating themes for Inkdrop",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"inkdrop",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"test": "bun test"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@inkdropapp/base-ui-theme": "^0.7.
|
|
28
|
-
"@inkdropapp/css": "^0.6.
|
|
27
|
+
"@inkdropapp/base-ui-theme": "^0.7.5",
|
|
28
|
+
"@inkdropapp/css": "^0.6.7",
|
|
29
29
|
"@vitejs/plugin-react": "^6.0.2",
|
|
30
30
|
"commander": "^15.0.0",
|
|
31
31
|
"puppeteer": "^25.1.0",
|
package/pnpm-workspace.yaml
CHANGED
package/src/generate-palette.ts
CHANGED
|
@@ -25,9 +25,7 @@ const appearance = options.appearance as 'light' | 'dark' | undefined
|
|
|
25
25
|
// Function to extract theme CSS variables
|
|
26
26
|
async function extractPalette(outputPath: string) {
|
|
27
27
|
const themePackageJson = await import(path.join(process.cwd(), 'package.json'))
|
|
28
|
-
const themeVariableNames: string[] = (
|
|
29
|
-
await import(`@inkdropapp/base-ui-theme/lib/variable-names.json`)
|
|
30
|
-
).default
|
|
28
|
+
const themeVariableNames: string[] = (await import(`@inkdropapp/css/ui.json`)).default
|
|
31
29
|
|
|
32
30
|
const browser = await puppeteer.launch()
|
|
33
31
|
const page = await browser.newPage()
|