Skip to content

Commit c69bb1a

Browse files
committed
Fix Color typing
1 parent 841b744 commit c69bb1a

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.changeset/cool-months-start.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@devup-ui/react': patch
3+
---
4+
5+
Fix color typing

packages/react/src/types/props/background.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ export interface DevupUiBackgroundProps {
88
bgAttachment?: ResponsiveValue<Property.BackgroundAttachment>
99
bgClip?: ResponsiveValue<Property.BackgroundClip>
1010
bgColor?: ResponsiveValue<Property.BackgroundColor | keyof DevupThemeColors>
11+
color?: ResponsiveValue<Property.Color | keyof DevupThemeColors>
12+
background?: ResponsiveValue<Property.Background | keyof DevupThemeColors>
13+
backgroundColor?: ResponsiveValue<
14+
Property.BackgroundColor | keyof DevupThemeColors
15+
>
1116
bgImage?: ResponsiveValue<Property.BackgroundImage>
1217
bgOrigin?: ResponsiveValue<Property.BackgroundOrigin>
1318
bgPosition?: ResponsiveValue<Property.BackgroundPosition>

0 commit comments

Comments
 (0)