From a5508c734b2a9a3a3eb2597e317f5d741026e6e6 Mon Sep 17 00:00:00 2001 From: Ivan Puhachov <49251289+ivanpuhachov@users.noreply.github.com> Date: Sun, 4 Jul 2021 20:27:39 -0400 Subject: [PATCH] Fix distill darkmode (#299) * updating distill post to show fixes done * fix for colors in numerated lists and tables * fixing blockquotes * fixing colors in math, footnotes, references, hover boxes, code highlights * Add example distill overrides * reverted back changes in distill template.v2.js Co-authored-by: Maruan Al-Shedivat --- _layouts/distill.html | 1 + _posts/2018-12-22-distill.md | 123 +++++++++++++++++++++++++++++- _sass/_base.scss | 8 ++ _sass/_distill.scss | 2 +- assets/js/distillpub/overrides.js | 20 +++++ 5 files changed, 152 insertions(+), 2 deletions(-) create mode 100644 assets/js/distillpub/overrides.js diff --git a/_layouts/distill.html b/_layouts/distill.html index f9459f1..a038990 100644 --- a/_layouts/distill.html +++ b/_layouts/distill.html @@ -5,6 +5,7 @@ {% include scripts/mathjax.html %} + {% if page._styles %}