mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 08:49:51 +02:00
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:
parent
f4effe49fc
commit
725219716f
1 changed files with 1 additions and 0 deletions
|
@ -1979,6 +1979,7 @@ input::placeholder {
|
|||
|
||||
.onPageNav .toc-headings > li > a.active {
|
||||
font-weight: 600;
|
||||
color: $primaryColor;
|
||||
}
|
||||
|
||||
.onPageNav ul {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue