From be66708bc2cce876a1a64b95b321ae8944f1404a Mon Sep 17 00:00:00 2001 From: Chris Reddington <791642+chrisreddington@users.noreply.github.com> Date: Mon, 19 Jun 2023 10:16:20 +0100 Subject: [PATCH 1/4] Bootstrap dark mode fix for Bootstrap 5.3 --- assets/sass/main.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 6f77ab0..e0008be 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -29,6 +29,7 @@ $blockquote-font-size: 15px; // Followed by our default variables and maps @import "bootstrap/variables"; +@import "bootstrap/variables-dark"; @import "bootstrap/maps"; // 3. Include remainder of required Bootstrap stylesheets @@ -64,4 +65,4 @@ $blockquote-font-size: 15px; @import "fontawesome/solid.scss"; @import "fontawesome/brands.scss"; -@import "styles.scss" \ No newline at end of file +@import "styles.scss" From ea0617e47093bec8ce95aecab3f98643d6f20ad9 Mon Sep 17 00:00:00 2001 From: Chris Reddington <791642+chrisreddington@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:43:56 +0000 Subject: [PATCH 2/4] Disable dark mode --- assets/sass/main.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/sass/main.scss b/assets/sass/main.scss index e0008be..42fbec0 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -12,6 +12,8 @@ $accent-color: {{ .Site.Params.content.theme.accentcolor | default "#157DB9" }}; $footer-color: {{ .Site.Params.content.theme.footercolor | default "#157DB9" }}; $compliment-color: {{ .Site.Params.content.theme.complimentcolor | default "#CFDCE1" }}; +$enable-dark-mode: false; + $theme-colors: ( "primary": #FFFFFF, "secondary": #FFFFFF, From 843a7ebf60e4ffc8e6abb36be99e45235aa967ba Mon Sep 17 00:00:00 2001 From: Chris Reddington <791642+chrisreddington@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:47:41 +0000 Subject: [PATCH 3/4] Use beta version for testing --- exampleSite/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 1664bf1..cf6ad21 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -5,4 +5,4 @@ module github.com/cloudwithchris/hugo-creator/exampleSite go 1.17 -require github.com/cloudwithchris/hugo-creator main // indirect +require github.com/cloudwithchris/hugo-creator v0.0.27-beta // indirect From f4c1bd79a5b89ba9d72cbe9e866fe4bbee4ed444 Mon Sep 17 00:00:00 2001 From: Chris Reddington <791642+chrisreddington@users.noreply.github.com> Date: Mon, 19 Jun 2023 09:50:29 +0000 Subject: [PATCH 4/4] Update to 0.0.27 --- exampleSite/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index cf6ad21..43a8371 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -5,4 +5,4 @@ module github.com/cloudwithchris/hugo-creator/exampleSite go 1.17 -require github.com/cloudwithchris/hugo-creator v0.0.27-beta // indirect +require github.com/cloudwithchris/hugo-creator v0.0.27 // indirect