From aa8eda3d50c688e270d728609a96cf891501c187 Mon Sep 17 00:00:00 2001 From: PA Date: Wed, 3 Jul 2019 02:09:14 -0400 Subject: [PATCH] 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 --- packages/docusaurus-1.x/lib/static/css/main.css | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/docusaurus-1.x/lib/static/css/main.css b/packages/docusaurus-1.x/lib/static/css/main.css index f35f130417e0e..e9363f01c7190 100644 --- a/packages/docusaurus-1.x/lib/static/css/main.css +++ b/packages/docusaurus-1.x/lib/static/css/main.css @@ -1979,6 +1979,7 @@ input::placeholder { .onPageNav .toc-headings > li > a.active { font-weight: 600; + color: $primaryColor; } .onPageNav ul {