@nqmcreative/ui 0.4.3 → 0.4.4
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/cli/index.mjs +5 -3
- package/package.json +1 -1
package/cli/index.mjs
CHANGED
|
@@ -389,9 +389,11 @@ async function init() {
|
|
|
389
389
|
`@import '@nqmcreative/ui/${style.name}/theme.css';`,
|
|
390
390
|
...(style.fonts ? [`@import '@nqmcreative/ui/${style.name}/fonts.css';`] : []),
|
|
391
391
|
``,
|
|
392
|
-
`/* Tailwind v4 skips node_modules — point it at this style's folder
|
|
393
|
-
` the class names used inside
|
|
394
|
-
|
|
392
|
+
`/* Tailwind v4 skips node_modules — point it at this style's folder and`,
|
|
393
|
+
` the shared core, so the class names used inside the components (tone`,
|
|
394
|
+
` colours and the like live in core) are generated. */`,
|
|
395
|
+
`@source '${source}/styles/${style.name}';`,
|
|
396
|
+
`@source '${source}/core';`
|
|
395
397
|
];
|
|
396
398
|
|
|
397
399
|
const css = await readOr(project.css);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nqmcreative/ui",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Svelte 5 + Tailwind CSS v4 component library — three styles (matte, paper, sprout), 70 components each, one shared behaviour core. No runtime dependencies.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|