@webmate-studio/builder 0.2.43 → 0.2.44
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
CHANGED
|
@@ -292,13 +292,12 @@ export async function generateTailwindCSS(classes, options = {}) {
|
|
|
292
292
|
}
|
|
293
293
|
|
|
294
294
|
// Create input CSS with Tailwind v4 syntax
|
|
295
|
-
//
|
|
296
|
-
//
|
|
295
|
+
// Always include theme (for color/spacing variables)
|
|
296
|
+
// We'll strip base/properties layers afterwards if includeBaseLayers is false
|
|
297
297
|
let inputCSS;
|
|
298
298
|
|
|
299
|
-
// Always
|
|
300
|
-
|
|
301
|
-
const themeCSS = includeBaseLayers ? generateThemeCSS(themeColors) : '';
|
|
299
|
+
// Always generate theme CSS (needed for utility classes like bg-primary)
|
|
300
|
+
const themeCSS = generateThemeCSS(themeColors);
|
|
302
301
|
inputCSS = `
|
|
303
302
|
@import "tailwindcss";
|
|
304
303
|
|