summaryrefslogtreecommitdiff
path: root/docs/content/index.md
diff options
context:
space:
mode:
authorPhilip Molares2021-04-17 12:42:03 +0200
committerTilman Vatteroth2021-04-18 22:44:02 +0200
commit60251d89ee1de87b6df00ca7a91529d4acb6ee46 (patch)
treebf3bc53fce6f6ee49f7b917f865c3e4787b86ec3 /docs/content/index.md
parentad9d1e3364322a6717d69eb80372923768af7970 (diff)
Documentation: Add toggleable dark theme
The dark theme is mostly built on top of the mkdocs slate theme. Signed-off-by: Philip Molares <philip.molares@udo.edu> Co-Authored-by: Tilman Vatteroth <git@tilmanvatteroth.de>
Diffstat (limited to '')
-rw-r--r--docs/content/index.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/content/index.md b/docs/content/index.md
index df961b02..d2ab656c 100644
--- a/docs/content/index.md
+++ b/docs/content/index.md
@@ -1,6 +1,7 @@
# Welcome to the HedgeDoc Documentation
-![HedgeDoc Logo](images/hedgedoc_logo_horizontal.svg)
+<img alt="HedgeDoc Logo" title="HedgeDoc Logo" class="light-mode-only" src="images/hedgedoc_logo_black.svg">
+<img alt="HedgeDoc Logo" title="HedgeDoc Logo" class="dark-mode-only" src="images/hedgedoc_logo_white.svg">
HedgeDoc lets you create real-time collaborative markdown notes. You can test-drive
it by visiting our [HedgeDoc demo server][hedgedoc-demo].