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 99f2527 commit 903f5bdCopy full SHA for 903f5bd
.changeset/blue-owls-care.md
@@ -3,5 +3,7 @@
3
---
4
5
- **Global CSS**: Improve text selection contrast
6
-- **System**: Fix issue where `borderEnd` shorthand was not working despite
7
- `borderStart` being present
+- **System**
+ - Fix issue where `borderEnd` shorthand was not working despite `borderStart`
8
+ being present
9
+ - Fix issue where `system.cva` return type was incorrect
packages/react/src/styled-system/recipe.types.ts
@@ -16,7 +16,7 @@ export type RecipeSelection<
16
17
export type RecipeVariantFn<T extends RecipeVariantRecord> = (
18
props?: RecipeSelection<T>,
19
-) => string
+) => SystemStyleObject
20
21
export type RecipeVariantProps<
22
T extends RecipeDefinition | SlotRecipeDefinition,
0 commit comments