@rokkit/themes 1.0.0-next.163 → 1.0.0-next.164
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/build.mjs +2 -1
- package/package.json +2 -2
package/build.mjs
CHANGED
|
@@ -204,9 +204,10 @@ async function build() {
|
|
|
204
204
|
// base.css: structural styles + palette CSS variable defaults
|
|
205
205
|
const paletteCSS = readFileSync(join(srcDir, 'palette.css'), 'utf-8')
|
|
206
206
|
const compiledPalette = await processCSS(paletteCSS, 'palette.css')
|
|
207
|
+
const zScaleCSS = theme.getZScaleCSS()
|
|
207
208
|
const baseCSS = resolveImports(join(srcDir, 'base', 'index.css'))
|
|
208
209
|
const compiledBase = await processCSS(baseCSS, 'base.css')
|
|
209
|
-
const baseFull = fixModeSelectors(compiledPalette + '\n' + compiledBase)
|
|
210
|
+
const baseFull = fixModeSelectors(compiledPalette + '\n' + zScaleCSS + '\n' + compiledBase)
|
|
210
211
|
writeFileSync(join(distDir, 'base.css'), baseFull, 'utf-8')
|
|
211
212
|
console.log('✓ dist/base.css (structural styles + palette defaults)')
|
|
212
213
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rokkit/themes",
|
|
3
|
-
"version": "1.0.0-next.
|
|
3
|
+
"version": "1.0.0-next.164",
|
|
4
4
|
"description": "Theme styles for @rokkit/ui components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
"build": "bun run build.mjs"
|
|
214
214
|
},
|
|
215
215
|
"dependencies": {
|
|
216
|
-
"@rokkit/core": "1.0.0-next.
|
|
216
|
+
"@rokkit/core": "1.0.0-next.164"
|
|
217
217
|
},
|
|
218
218
|
"devDependencies": {
|
|
219
219
|
"magic-string": "^0.30.21",
|