Skip to content

Commit

Permalink
update hover state for secondary buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
elijames-codecov committed Jul 31, 2024
1 parent c696b6b commit eee7ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const {type, cta, url, color, target} = Astro.props;
const commonClassList = `px-6 py-4 rounded-small text-[1.25rem] font-[700] leading-[130%] tracking-[-0.025rem] capitalize`;
const primaryClassList = `bg-black border-2 border-black ${commonClassList} text-white hover:bg-black/80`;
const secondaryClassList = `${commonClassList} border-2 border-${color} text-${color} hover:border-${color}/80 hover:text-${color}/80`;
const secondaryClassList = `${commonClassList} border-2 border-${color} text-${color} hover:opacity-80`;
---

Expand Down

0 comments on commit eee7ce6

Please sign in to comment.