Default to monokai in dark theme and fixed defaulting mechanism in the JS

This commit is contained in:
Sumner Evans 2020-04-14 22:04:05 -06:00
parent 927306ddb9
commit 0d56e19d6a
No known key found for this signature in database
GPG key ID: 8904527AB50022FD
2 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@
<link rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE_DARK|default('github') }}.min.css">
href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE_DARK|default('monokai') }}.min.css">
<link rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/pygments/{{ PYGMENTS_STYLE|default('github') }}.min.css">