Skip to content

Commit eb88176

Browse files
authored
Merge pull request #497 from mayaarguelles/fix/button-hover-states
Changes button link hover text color to black when both monochrome + …
2 parents 77f095b + 7abda50 commit eb88176

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/LinkButton/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ switch (variant) {
2020
---
2121

2222
<a
23-
class={"button-link outline outline-1 outline-type-color py-2 px-4 flex flex-nowrap w-fit items-center justify-between rounded-full hover:bg-sidebar-type-color hover:text-sidebar-bg-color hover:no-underline " +
23+
class={"button-link outline outline-1 outline-type-color py-2 px-4 flex flex-nowrap w-fit items-center justify-between rounded-full hover:bg-sidebar-type-color hover:text-bg-color hover:no-underline " +
2424
Astro.props.class}
2525
href={url}
2626
>

src/components/Nav/styles.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
border: 1px solid var(--sidebar-type-color);
211211
&:hover {
212212
background-color: var(--sidebar-type-color);
213-
color: var(--sidebar-bg-color);
213+
color: var(--bg-color);
214214
text-decoration: none;
215215
}
216216
font-size: 1.5rem;

styles/markdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
}
3232
color: var(--sidebar-type-color);
3333
&:hover {
34-
color: var(--sidebar-bg-color);
34+
color: var(--bg-color);
3535
}
3636
}
3737

0 commit comments

Comments
 (0)