@webmate-studio/builder 0.2.48 → 0.2.49

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.48",
3
+ "version": "0.2.49",
4
4
  "type": "module",
5
5
  "description": "Webmate Studio Component Builder",
6
6
  "keywords": [
@@ -158,6 +158,14 @@ function generateThemeCSS(colors, designTokens = null) {
158
158
 
159
159
  themeCSS += `}\n`;
160
160
 
161
+ // IMPORTANT: Add baseline font-family utility classes that reference CSS variables
162
+ // These classes are ALWAYS available, even if designTokens are not provided
163
+ // The actual font values come from tenant-specific design tokens (loaded separately)
164
+ themeCSS += `\n/* Font-family utilities (reference CSS variables from design tokens) */\n`;
165
+ themeCSS += `.font-heading { font-family: var(--font-heading); }\n`;
166
+ themeCSS += `.font-body { font-family: var(--font-body); }\n`;
167
+ themeCSS += `.font-mono { font-family: var(--font-mono); }\n`;
168
+
161
169
  return themeCSS;
162
170
  }
163
171