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 b8fb2e9 commit f9ca82bCopy full SHA for f9ca82b
.changeset/perfect-pens-perform.md
@@ -0,0 +1,5 @@
1
+---
2
+'@vanilla-extract/css': patch
3
4
+
5
+Fix fallbackVar type defintion
packages/css/src/vars.ts
@@ -35,7 +35,7 @@ export function createVar(debugId?: string): CSSVarFunction {
35
}
36
37
export function fallbackVar(
38
- ...values: [...Array<string>, string]
+ ...values: [string, ...Array<string>]
39
): CSSVarFunction {
40
let finalValue = '';
41
0 commit comments