We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4640cea commit a839f59Copy full SHA for a839f59
apps/builder/app/builder/features/style-panel/shared/css-value-input/css-value-input.tsx
@@ -335,7 +335,9 @@ const itemToString = (item: CssValueInputValue | null) => {
335
return "";
336
}
337
if (item.type === "var") {
338
- return `var(--${item.value})`;
+ return item.fallback
339
+ ? `var(--${item.value}, ${toValue(item.fallback)})`
340
+ : `var(--${item.value})`;
341
342
if (item.type === "keyword") {
343
// E.g. we want currentcolor to be lower case
0 commit comments