Tentatively add a dark mode

This commit is contained in:
2023-03-11 11:52:49 -08:00
parent 9594b699f8
commit c631be65bc
4 changed files with 61 additions and 16 deletions

View File

@@ -2,7 +2,6 @@
@import "mixins.scss";
@import "margin.scss";
$toc-color: $code-color;
$toc-border-color: $code-border-color;
.table-of-contents {
@@ -46,7 +45,7 @@ $toc-border-color: $code-border-color;
div.wrapper {
@include bordered-block;
padding: 1rem;
background-color: $toc-color;
background-color: var(--code-color);
border-color: $toc-border-color;
box-sizing: border-box;
max-width: 100%;