Fix scroll spy styling

This commit is contained in:
Ben C 2023-07-16 20:13:34 -04:00
parent 6a2997693b
commit d9e88c3022
No known key found for this signature in database
GPG Key ID: 556064B755159BBC
2 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,7 @@ h2.heading {
/* Highlight TOC header link matching the current scroll position */
.current-header-link {
background-color: var(--theme-bg-accent);
border-inline-start-color: var(--theme-accent);
/* Indicates the current heading for forced colors users in older browsers */
outline: 1px solid transparent;
}

View File

@ -75,6 +75,7 @@ body {
--theme-bg: #222222;
--theme-bg-hover: hsla(var(--color-gray-40), 1);
--theme-bg-offset: hsla(var(--color-gray-5), 1);
--theme-bg-accent: hsla(var(--color-green), var(--theme-accent-opacity));
--theme-code-inline-bg: hsla(var(--color-gray-10), 1);
--theme-code-inline-text: hsla(var(--color-base-white), 100%, 1);
--theme-code-bg: hsla(var(--color-gray-5), 1);