Skip to content

Commit 9d16de8

Browse files
andjsrkaskoufis
andauthored
Simplify type CSSVarFunction (#1567)
Co-authored-by: Adam Skoufis <[email protected]>
1 parent f0533be commit 9d16de8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/dirty-drinks-refuse.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/private': patch
3+
---
4+
5+
Simplify `CSSVarFunction` type

packages/private/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export type CSSVarFunction = `var(--${string})` | `var(--${string}, ${string})`;
1+
export type CSSVarFunction = `var(--${string})`;
22

33
export type Contract = {
44
[key: string]: CSSVarFunction | null | Contract;

0 commit comments

Comments
 (0)