@uniweb/core 0.5.7 → 0.5.8
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 +1 -1
- package/src/block.js +2 -1
package/package.json
CHANGED
package/src/block.js
CHANGED
|
@@ -480,7 +480,8 @@ export default class Block {
|
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
// Anything else → CSS color (hex, rgb, hsl, oklch, named color, var())
|
|
483
|
-
|
|
483
|
+
// Resolve bare palette refs (e.g. "primary-900" → "var(--primary-900)")
|
|
484
|
+
return { mode: 'color', color: resolveOverrideValue(raw) }
|
|
484
485
|
}
|
|
485
486
|
|
|
486
487
|
// Object with explicit mode — pass through
|