Skip to content

Commit

Permalink
Button: change text to white on hover
Browse files Browse the repository at this point in the history
Issue #3
  • Loading branch information
minh-de-rien committed Jan 26, 2024
1 parent c6dcb37 commit 58efe66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/widgets/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const { buttonName, className } = Astro.props;

<button
class:list={["border-2 border-navy bg-white m-9 button-shadow",
"transition delay-150 hover:bg-navy hover:text-sky-600",
"transition delay-150 hover:bg-navy",
className]}
>
{buttonName}
<p class="hover:text-white">{buttonName}</p>
</button>
<style>
.button-shadow {
Expand Down

0 comments on commit 58efe66

Please sign in to comment.