Skip to content

Commit

Permalink
Bootstrap dark mode fix for Bootstrap 5.3 (#128)
Browse files Browse the repository at this point in the history
* Bootstrap dark mode fix for Bootstrap 5.3

* Disable dark mode

* Use beta version for testing

* Update to 0.0.27
  • Loading branch information
chrisreddington authored Jun 19, 2023
1 parent 2523711 commit 50ebe0d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion assets/sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -29,6 +31,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
Expand Down Expand Up @@ -64,4 +67,4 @@ $blockquote-font-size: 15px;
@import "fontawesome/solid.scss";
@import "fontawesome/brands.scss";

@import "styles.scss"
@import "styles.scss"
2 changes: 1 addition & 1 deletion exampleSite/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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 // indirect

0 comments on commit 50ebe0d

Please sign in to comment.