Skip to content

Commit

Permalink
fix: customizing component example with hover and pressed effects
Browse files Browse the repository at this point in the history
  • Loading branch information
rayan1810 committed Oct 28, 2022
1 parent ca2f3de commit 0b91120
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/storybook/stories/theme/Custom/CustomizingVariant.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export const Example = () => {
rounded: ({ colorScheme }: any) => {
return {
bg: `${colorScheme}.500`,
_hover: { bg: `${colorScheme}.600` },
_pressed: { bg: `${colorScheme}.700` },
_text: { color: `${colorScheme}.50` },
rounded: 'full',
};
},
Expand Down

0 comments on commit 0b91120

Please sign in to comment.