Skip to content

Commit

Permalink
Add dark mode to pkgdown site
Browse files Browse the repository at this point in the history
Requires pkgdown >= 2.1.0

Remove custom right navbar (otherwise that replaces search and dark mode toggle)
  • Loading branch information
remlapmot committed Jul 7, 2024
1 parent 4e8749d commit 7522fcf
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
url: https://mrcieu.github.io/TwoSampleMR/
template:
params:
bootswatch: united
bootstrap: 5
light-switch: true
bslib:
bootswatch: united
pkgdown-navbar-bg: '#e95420'

navbar:
left:
Expand All @@ -26,9 +28,6 @@ navbar:
href: reference/index.html
- text: "Changelog"
href: "news/index.html"
right:
- text: "Source"
href: https://github.com/mrcieu/TwoSampleMR

articles:
- title: "Guide"
Expand Down

0 comments on commit 7522fcf

Please sign in to comment.