Skip to content

Commit

Permalink
style: 버튼 컴포넌트, 카테고리 추가 버튼 hover 스타일 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
khakhiD committed Dec 2, 2023
1 parent 344c356 commit a04a717
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/atoms/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ const Button = forwardRef<ButtonProps, 'button'>(
size={size}
{...props}
ref={ref}
_hover={{
opacity: '80%',
}}
_groupHover={{
opacity: '80%',
}}
>
{children}
</ChakraButton>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const CategoryAddHeader = ({ categoryTitle, onAddItem }: CategoryAddHeaderProps)
borderRadius={'1.22rem'}
bg={'none'}
onClick={onAddItem}
_hover={{
bg: 'primary.100',
}}
>
<AddIcon color={'primary.900'} />
</Button>
Expand Down

0 comments on commit a04a717

Please sign in to comment.