Skip to content

Commit 6f23f62

Browse files
authored
fix: Split theme generation CLI from runtime theme utils (#80)
1 parent 34621c9 commit 6f23f62

File tree

19 files changed

+272
-266
lines changed

19 files changed

+272
-266
lines changed

.changeset/mean-taxis-drive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@layerstack/tailwind': patch
3+
---
4+
5+
fix: Split theme generation CLI from runtime theme utils

packages/tailwind/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"dev": "rimraf dist && tsc -p tsconfig.build.json --watch",
1010
"build": "rimraf dist && tsc -p tsconfig.build.json && pnpm build:css && cp -r ./src/lib/css dist",
11-
"build:css": "tsc --noEmit && tsx ./src/lib/cli.ts",
11+
"build:css": "tsc --noEmit && tsx ./src/lib/cli/index.ts",
1212
"preview": "vite preview",
1313
"package": "svelte-package",
1414
"prepublishOnly": "svelte-package",
@@ -24,13 +24,14 @@
2424
"@types/culori": "^2.1.1",
2525
"@types/d3-array": "^3.2.1",
2626
"@types/lodash-es": "^4.17.12",
27-
"daisyui": "^4.12.24",
27+
"@types/node": "^24.0.1",
2828
"culori": "^4.0.1",
29+
"daisyui": "^4.12.24",
2930
"prettier": "^3.5.3",
3031
"rimraf": "6.0.1",
32+
"tailwindcss": "^4.1.5",
3133
"tslib": "^2.8.1",
3234
"tsx": "^4.19.4",
33-
"tailwindcss": "^4.1.5",
3435
"typescript": "^5.8.3",
3536
"vite": "^6.3.5",
3637
"vitest": "^3.1.3"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { format } from 'prettier';
55
import { entries } from '@layerstack/utils';
66
import { mapKeys } from '@layerstack/utils/object';
77

8-
import { colorNames, themeStylesString, type Colors, type SupportedColorSpace } from './theme.js';
8+
import { colorNames, themeStylesString, type Colors, type SupportedColorSpace } from './utils.js';
99
import { themes as daisyThemes } from './daisy.js';
1010
import { themes as skeletonThemes } from './skeleton.js';
1111

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)