Skip to content

Commit

Permalink
style: hover style 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
gahyuun committed Feb 16, 2024
1 parent 0f5a644 commit 77241e9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/ui/view/atom/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export function Button({ label, variant = 'primary', size = 'default', href, ...
const ButtonVariants = cva(`flex justify-center items-center px-[6px] py-[1px]`, {
variants: {
variant: {
primary: 'bg-primary rounded-[100px] text-white border-0',
secondary: 'bg-white rounded-[100px] border-solid border-[1px] border-gray',
text: '',
primary: 'bg-primary rounded-[100px] text-white border-0 hover:bg-primary-hover',
secondary: 'bg-white rounded-[100px] border-solid border-[1px] border-gray hover:bg-white-hover',
text: 'font-medium text-slate-400 text-sm hover:text-slate-600',
delete: 'py-[7px] px-[14px] bg-[#35353559] rounded-[7px] text-white leading-5 font-medium text-[18px]',
},
size: {
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ const config: Config = {
},
colors: {
primary: '#0B4093',
'primary-hover': '#093376',
dark: '#002968',
black: '#2f2f2f',
gray: '#9f9f9f',
'white-hover': '#f3f4f6',
},
},
},
Expand Down

0 comments on commit 77241e9

Please sign in to comment.