Skip to content

Commit

Permalink
Add light/dark mode switch
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 committed Nov 5, 2023
1 parent f165f1d commit 867b017
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
10 changes: 7 additions & 3 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ website:
site-url: "https://mfisher87.github.io/infra"
# site-path: "/infra" # Needed?

repo-url: "https://github.com/mfisher87/infra"
repo-url: &repo-url "https://github.com/mfisher87/infra"
repo-actions:
- "edit"
- "source"
Expand All @@ -18,9 +18,11 @@ website:
left: "© 2023"

sidebar:
background: "#eee"
style: "docked"
search: true
tools:
- icon: "github"
href: *repo-url
contents:
- text: "Nodes"
href: "nodes/index.md"
Expand All @@ -36,6 +38,8 @@ website:

format:
html:
theme: "cosmo"
theme:
light: ["flatly", "styles.scss"]
dark: ["darkly", "styles.scss"]
css: "styles.css"
toc: true
1 change: 0 additions & 1 deletion styles.css

This file was deleted.

1 change: 1 addition & 0 deletions styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*-- scss:rules --*/

0 comments on commit 867b017

Please sign in to comment.