@webmate-studio/builder 0.2.143 → 0.2.144
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
|
@@ -139,8 +139,11 @@ function generateColorVariables(t, lines) {
|
|
|
139
139
|
if (mapping.bgSubtle) lines.push(` --color-${world}-bg-subtle: var(--color-${world}-${mapping.bgSubtle});`);
|
|
140
140
|
if (mapping.bgSubtleHover) lines.push(` --color-${world}-bg-subtle-hover: var(--color-${world}-${mapping.bgSubtleHover});`);
|
|
141
141
|
if (mapping.text) lines.push(` --color-${world}-text: var(--color-${world}-${mapping.text});`);
|
|
142
|
+
if (mapping.textHover) lines.push(` --color-${world}-text-hover: var(--color-${world}-${mapping.textHover});`);
|
|
142
143
|
if (mapping.border) lines.push(` --color-${world}-border: var(--color-${world}-${mapping.border});`);
|
|
143
|
-
if (mapping.
|
|
144
|
+
if (mapping.borderHover) lines.push(` --color-${world}-border-hover: var(--color-${world}-${mapping.borderHover});`);
|
|
145
|
+
// ring zeigt auf border (kein eigenes Mapping nötig)
|
|
146
|
+
lines.push(` --color-${world}-ring: var(--color-${world}-border);`);
|
|
144
147
|
}
|
|
145
148
|
}
|
|
146
149
|
|
|
@@ -200,8 +203,10 @@ function generateColorUtilities(t) {
|
|
|
200
203
|
{ cls: `bg-${world}-subtle`, prop: 'background-color', varRef: `--color-${world}-bg-subtle` },
|
|
201
204
|
{ cls: `bg-${world}-subtle-hover`, prop: 'background-color', varRef: `--color-${world}-bg-subtle-hover` },
|
|
202
205
|
{ cls: `text-${world}`, prop: 'color', varRef: `--color-${world}-text` },
|
|
206
|
+
{ cls: `text-${world}-hover`, prop: 'color', varRef: `--color-${world}-text-hover` },
|
|
203
207
|
{ cls: `text-on-${world}`, prop: 'color', varRef: `--color-on-${world}` },
|
|
204
208
|
{ cls: `border-${world}`, prop: 'border-color', varRef: `--color-${world}-border` },
|
|
209
|
+
{ cls: `border-${world}-hover`, prop: 'border-color', varRef: `--color-${world}-border-hover` },
|
|
205
210
|
{ cls: `ring-${world}`, prop: '--tw-ring-color', varRef: `--color-${world}-ring` },
|
|
206
211
|
{ cls: `border-on-${world}`, prop: 'border-color', varRef: `--color-on-${world}` },
|
|
207
212
|
];
|
package/src/design-tokens-v2.js
CHANGED