diff --git a/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx b/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx index 5308066e55..0d7cc133a0 100644 --- a/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx +++ b/apps/builder/app/builder/features/style-panel/shared/css-fragment.tsx @@ -45,7 +45,7 @@ const scopeCompletionSource: CompletionSource = (context) => { const search = word.text; const availableVariables = $availableVariables.get(); const options = availableVariables.map((varValue) => ({ - label: `--var(${varValue.value})`, + label: `var(--${varValue.value})`, displayLabel: `--${varValue.value}`, })); const matches = matchSorter(options, search, {