Skip to content

Commit

Permalink
misc(v1): use primary color for hovered items in table of contents (#…
Browse files Browse the repository at this point in the history
…1871)

* fix issue#1752

when element in side nav is hovered over the color changes.

* Update main.css
  • Loading branch information
blitz137 authored and yangshun committed Oct 27, 2019
1 parent 98679b5 commit f14b6ee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/docusaurus-1.x/lib/static/css/main.css
Expand Up @@ -1977,7 +1977,8 @@ input::placeholder {
color: #717171;
}

.onPageNav .toc-headings > li > a.active {
.onPageNav .toc-headings > li > a.active,
.onPageNav .toc-headings > li > a.hover {
font-weight: 600;
color: $primaryColor;
}
Expand Down

0 comments on commit f14b6ee

Please sign in to comment.