From 056f7a08dc8d80f218472c70c31a1aea4278db70 Mon Sep 17 00:00:00 2001 From: AmjadHD Date: Mon, 8 Aug 2022 23:06:01 +0100 Subject: [PATCH 1/5] Implement auto dark mode --- config/nimdoc.cfg | 22 ++--- doc/nimdoc.css | 90 ++++++++----------- nimdoc/rst2html/expected/rst_examples.html | 11 +-- .../expected/index.html | 11 +-- nimdoc/testproject/expected/nimdoc.out.css | 90 ++++++++----------- .../expected/subdir/subdir_b/utils.html | 11 +-- nimdoc/testproject/expected/testproject.html | 11 +-- tools/dochack/dochack.nim | 38 +++----- 8 files changed, 120 insertions(+), 164 deletions(-) diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg index 7aee50d8c525..29c861a325d6 100644 --- a/config/nimdoc.cfg +++ b/config/nimdoc.cfg @@ -136,11 +136,12 @@ doc.body_toc_group = """
- -     Dark Mode + +