From f6053eda788f7c9bb7e33c9261300cd96ceb52f4 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 1 Jan 2022 15:00:25 -0600 Subject: [PATCH] improve dark mode contrast by adjusting link colors and adding background to inline code snippets --- assets/sass/_override.sass | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 assets/sass/_override.sass diff --git a/assets/sass/_override.sass b/assets/sass/_override.sass new file mode 100644 index 0000000..29adae2 --- /dev/null +++ b/assets/sass/_override.sass @@ -0,0 +1,12 @@ +html + --theme-dark: #4AAED9 + @mixin darkmode + + &[data-mode="dim"] + @include darkmode + code + &.noClass + background: var(--code-bg) !important + .post_content + a + color: var(--theme-dark) \ No newline at end of file