Skip to content

Commit afab287

Browse files
committed
Set dark theme as default to prevent flicker
Defaulting to the dark theme prevents flickering during page transitions. This also helps avoid flicker even when users switch to the light theme manually.
1 parent 7f259c0 commit afab287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_quarto.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ bibliography: references.bib
8989
format:
9090
html:
9191
theme:
92-
light: [custom.scss, flatly]
9392
dark: [custom.scss, darkly]
93+
light: [custom.scss, flatly]
9494
# - custom.scss
95-
# - cosmo
95+
# - flatly
9696
include-after-body:
9797
- includes/switch_images_for_theme.html
9898
- includes/simple_analytics.html

0 commit comments

Comments
 (0)