chore: add toc theme config option and update theme guides

This commit is contained in:
radishzzz 2025-05-18 17:23:32 +01:00
parent 94f9998f45
commit eb82a7d2f2
14 changed files with 121 additions and 15 deletions

View file

@ -16,7 +16,7 @@ body {
-webkit-backface-visibility: hidden;
}
body::selection {
--at-apply: 'bg-mark';
--at-apply: 'bg-highlight';
}
/* Fix KaTeX Overflow Issue */
@ -54,7 +54,7 @@ h4:hover .heading-anchor-link svg:hover {
}
.highlight-static::after,
.highlight-hover::after {
--at-apply: 'content-[""] absolute left-0 z--1 h-0.5em w-full bg-mark';
--at-apply: 'content-[""] absolute left-0 z--1 h-0.5em w-full bg-highlight';
}
.highlight-static::after,
.highlight-hover:hover::after {