@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webmate-studio/builder",
3
- "version": "0.2.43",
3
+ "version": "0.2.44",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -292,13 +292,12 @@ export async function generateTailwindCSS(classes, options = {}) {
292
292
  }
293
293
 
294
294
  // Create input CSS with Tailwind v4 syntax
295
- // For component builds: only include utilities layer (no base/theme/properties)
296
- // For dev builds: include everything
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 use full Tailwind import
300
- // We'll strip layers afterwards if includeBaseLayers is false
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