Skip to content

Commit

Permalink
Merge pull request #120 from etherlinkcom/toc-highlighting
Browse files Browse the repository at this point in the history
Fix TOC highlighting in dark mode
  • Loading branch information
malleta authored Jul 24, 2024
2 parents b5c5d0a + 4d28090 commit 90e5981
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@
--ifm-font-color-base: #FFFFFF;
--ifm-link-color: #38FF9C;
--ifm-navbar-link-color: #38FF9C;
--ifm-toc-link-color: #38FF9C;
--ifm-color-primary: #38FF9C;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
Expand Down Expand Up @@ -231,13 +230,14 @@ nav.navbar {
[data-theme='dark'] .breadcrumbs__item--active .breadcrumbs__link {
color: #38FF9C;
}
[data-theme='dark'] .table-of-contents__link:hover, .table-of-contents__link:hover code, .table-of-contents__link--active {
color: #38FF9C;
}

[data-theme='light'] .breadcrumbs__item--active .breadcrumbs__link {
color: #2A9660;
}

/* Table of contents */
[data-theme='dark'] .table-of-contents .table-of-contents__link--active, .table-of-contents .table-of-contents__link:hover {
color: #38FF9C;
}
[data-theme='light'] .table-of-contents__link:hover, .table-of-contents__link:hover code, .table-of-contents__link--active {
color: #2A9660;
}
Expand Down

0 comments on commit 90e5981

Please sign in to comment.