Skip to content

Commit

Permalink
Fix font color of ClickableCards for contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
debanjum committed Oct 4, 2024
1 parent 98f78dd commit eff4143
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ClickableCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ const { title, link } = Astro.props;
<style>
a {
text-decoration: none;
color: white;
color: black;
}

/* If the system is in dark mode, use the light mode color */
@media (prefers-color-scheme: dark) {
a {
color: black;
color: white;
}
}
</style>
Expand Down

0 comments on commit eff4143

Please sign in to comment.