From 28c52675d62950c694760ed96f642f0dda059938 Mon Sep 17 00:00:00 2001 From: lolabird <89228316+Lolabird@users.noreply.github.com> Date: Mon, 9 Sep 2024 17:27:51 -0600 Subject: [PATCH] Change active TOC color is 'Show Position in TOC' widget is in use --- everforest-ant-dark.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/everforest-ant-dark.css b/everforest-ant-dark.css index 7c96ea5..b8aae4f 100644 --- a/everforest-ant-dark.css +++ b/everforest-ant-dark.css @@ -261,11 +261,21 @@ html { overflow: visible !important; font-size: var(--tree-font-size); } + +/***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:"]) { + color: inherit !important; +} + .toc-widget .toc li, .highlights-list > ol > li { text-align: left; } + /*****Included Notes*****/ .include-note { margin-bottom: 1.1rem !important;