From 83d2560a4a2029ae67f2bc0245c5460543af4252 Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Sat, 17 Jan 2026 15:54:35 -0700 Subject: [PATCH] Fix show position in toc colors --- everforest-ant-dark.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/everforest-ant-dark.css b/everforest-ant-dark.css index 19ecbf5..2bf7d24 100644 --- a/everforest-ant-dark.css +++ b/everforest-ant-dark.css @@ -297,11 +297,8 @@ padding-left: 1.5rem; } /***Only applies if 'Show Position in TOC' widget is in use***/ -.toc-widget span.toc li[style] { - color: var(--tan) !important; -} -.toc-widget span.toc li:not([style*="color:"]), .toc-widget span.toc li:not([style*="color:"]) * { - color: inherit !important; +.toc li.in-view { + color: var(--tan) !important; } .toc-widget .toc li, .highlights-list > ol > li {