From 5c72ef96e10d2416a5dacbe19a4af7a0b1154cd3 Mon Sep 17 00:00:00 2001 From: bitkarrot <73979971+bitkarrot@users.noreply.github.com> Date: Sat, 21 Dec 2024 17:21:51 -0800 Subject: [PATCH 1/2] add dark mode toggle using jekyll's just-the-docs sample switcher --- _config.yml | 2 ++ _includes/head_custom.html | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/_config.yml b/_config.yml index 16a961a..2e1be74 100644 --- a/_config.yml +++ b/_config.yml @@ -29,6 +29,8 @@ github_username: chaincodelabs # Build settings theme: just-the-docs +# Color scheme supports "light" (default) and "dark" +color_scheme: dark plugins: - asciidoctor-diagram - jekyll-feed diff --git a/_includes/head_custom.html b/_includes/head_custom.html index 959e62e..1c38d61 100644 --- a/_includes/head_custom.html +++ b/_includes/head_custom.html @@ -1,2 +1,19 @@ + + + + From 03473b2185f1d139835347ea26138878b4b43539 Mon Sep 17 00:00:00 2001 From: Bitkarrot <73979971+bitkarrot@users.noreply.github.com> Date: Wed, 8 Jan 2025 13:54:57 -0800 Subject: [PATCH 2/2] Update _config.yml remove default statement --- _config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 2e1be74..c4398a1 100644 --- a/_config.yml +++ b/_config.yml @@ -29,7 +29,7 @@ github_username: chaincodelabs # Build settings theme: just-the-docs -# Color scheme supports "light" (default) and "dark" +# Color scheme supports "light" and "dark" color_scheme: dark plugins: - asciidoctor-diagram