Skip to content

Commit 500eaad

Browse files
Sprinkles: Fix responsiveArray length of 4 (#210)
1 parent a90f194 commit 500eaad

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/rare-rings-applaud.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/sprinkles': patch
3+
---
4+
5+
Fix bug where `responsiveArray` with a length of 4 was considered invalid

packages/sprinkles/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ interface RequiredResponsiveArray<Length extends number, Value>
1111
}
1212

1313
export type ResponsiveArrayConfig<Value> = ResponsiveArray<
14-
2 | 3 | 5 | 6 | 7 | 8,
14+
2 | 3 | 4 | 5 | 6 | 7 | 8,
1515
Value
1616
>;
1717

0 commit comments

Comments
 (0)