Skip to content

Commit 16d5ec4

Browse files
committed
Fix link colors
1 parent c334a37 commit 16d5ec4

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

src/components/Markdown/Markdown.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,9 +361,24 @@ $topHeightMobileWithBanner: $bannerHeight + $topHeightMobile;
361361
}
362362
p a,
363363
li a {
364+
color: #1f5fbf;
364365
text-decoration: none;
365366
font-weight: 600;
366367
}
368+
p a:hover,
369+
li a:hover {
370+
color: #174ea6;
371+
}
372+
373+
.dark p a,
374+
.dark li a {
375+
color: #58a6ff;
376+
}
377+
378+
.dark p a:hover,
379+
.dark li a:hover {
380+
color: #79c0ff;
381+
}
367382

368383
p a:focus-visible,
369384
li a:focus-visible {

src/components/Navigation/Navigation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function Navigation({ links, pathname, hash = "", toggleSidebar }) {
240240
>
241241
{link.children.map((child) => {
242242
const classNames =
243-
"text-blue-800 dark:text-blue-300 py-5 text-sm capitalize hover:text-black dark:hover:text-white";
243+
"text-blue-800 dark:text-blue-300 py-5 text-sm capitalize hover:text-blue-800 dark:hover:text-blwue-300";
244244
const isActive = location.pathname.startsWith(child.url);
245245
return (
246246
<NavLink

0 commit comments

Comments
 (0)