Skip to content

Commit

Permalink
Set colour in highlighted items in table of content
Browse files Browse the repository at this point in the history
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
  • Loading branch information
parkas2018 committed Jun 26, 2019
1 parent a6736dd commit d2bf7cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/docusaurus-1.x/lib/static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -1979,6 +1979,7 @@ input::placeholder {

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

.onPageNav ul {
Expand Down

0 comments on commit d2bf7cf

Please sign in to comment.