feat: use primary color for highlighted items in table of contents (#1628)

Currently the items in table of contents are highlighted as bold based on items being
viewed on the screen or as the user scrolls up/down on a page. Added the `primaryColor`
of the site's configuration to make the current section being viewed standout more
in the table of content.

closes #1608
This commit is contained in:
PA 2019-07-03 02:09:14 -04:00 committed by Yangshun Tay
parent f4effe49fc
commit 725219716f

View file

@ -1979,6 +1979,7 @@ input::placeholder {
.onPageNav .toc-headings > li > a.active {
font-weight: 600;
color: $primaryColor;
}
.onPageNav ul {