@deneb-ui/core 2.0.118 → 2.0.120

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.
@@ -100,14 +100,14 @@ function generateFontsCss(fonts) {
100
100
  ' * Generated by: deneb fonts install / @deneb-ui/ui postinstall',
101
101
  ' */',
102
102
  '',
103
- ':root { --deneb-fonts-selfhosted: 1; }',
104
- '',
105
103
  ];
106
104
  for (const font of fonts) {
107
105
  lines.push(`/* ${font.label} (${font.id}) */`);
108
106
  lines.push(...buildFontsourceCssEntries(font));
109
107
  lines.push('');
110
108
  }
109
+ lines.push(':root { --deneb-fonts-selfhosted: 1; }');
110
+ lines.push('');
111
111
  return `${lines.join('\n').trim()}\n`;
112
112
  }
113
113
  function findLayoutPath(projectDir) {
@@ -44,26 +44,39 @@ function generateThemeVariables(theme) {
44
44
  '--brand-primary': primaryColor,
45
45
  '--primary-color': primaryColor,
46
46
  '--color-primary': primaryColor,
47
+ '--primary': primaryColor,
47
48
  '--brand-secondary': secondaryColor,
48
49
  '--secondary-color': secondaryColor,
50
+ '--color-secondary': buttonSecondaryBg,
51
+ '--secondary': buttonSecondaryBg,
49
52
  '--brand-accent': accentColor,
50
53
  '--accent-color': accentColor,
54
+ '--color-accent': accentColor,
55
+ '--accent': accentColor,
51
56
  '--page-background': bgColor,
52
57
  '--page-bg': bgColor,
53
58
  '--background': bgColor,
54
59
  '--page-text': textColor,
60
+ '--color-text': textColor,
61
+ '--text-color': textColor,
62
+ '--text': textColor,
63
+ '--foreground': textColor,
64
+ '--color-foreground': textColor,
55
65
  '--heading-color': theme?.headingColor || (isDark ? '#ffffff' : secondaryColor),
56
66
  '--color-heading': theme?.headingColor || (isDark ? '#ffffff' : secondaryColor),
57
67
  '--muted-text': mutedColor,
58
68
  '--text-muted': mutedColor,
59
- '--color-text': textColor,
60
69
  '--color-text-muted': mutedColor,
70
+ '--muted': mutedColor,
61
71
  '--link-color': theme?.linkColor || primaryColor,
62
72
  '--border-primary': borderColor,
63
73
  '--border': borderColor,
64
74
  '--color-border': borderColor,
65
75
  '--color-surface': isDark ? 'rgba(255,255,255,0.05)' : '#ffffff',
76
+ '--surface': isDark ? 'rgba(255,255,255,0.05)' : '#ffffff',
66
77
  '--card-bg': cardBg,
78
+ '--card': cardBg,
79
+ '--card-background': cardBg,
67
80
  '--card-border': cardBorder,
68
81
  '--product-card-bg': cardBg,
69
82
  '--product-card-border': cardBorder,
@@ -75,6 +88,7 @@ function generateThemeVariables(theme) {
75
88
  ? '0 10px 25px -5px rgba(0, 0, 0, 0.4)'
76
89
  : '0 10px 25px -5px rgba(0, 0, 0, 0.05)',
77
90
  '--header-bg': theme?.headerBackgroundColor || (isDark ? 'rgba(15, 23, 42, 0.85)' : 'rgba(255, 255, 255, 0.82)'),
91
+ '--footer-bg': theme?.footerBackgroundColor || (isDark ? '#0b0f19' : '#f8fafc'),
78
92
  '--input-bg': isDark ? '#1e293b' : '#ffffff',
79
93
  '--input-border': isDark ? 'rgba(255, 255, 255, 0.15)' : '#cbd5e1',
80
94
  '--input-color': textColor,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deneb-ui/core",
3
- "version": "2.0.118",
3
+ "version": "2.0.120",
4
4
  "description": "Headless style engine for real-time Fivora visual editing — CSS variables, DOM patcher, and preview protocol.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",