File tree 3 files changed +11
-1
lines changed
3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 8
8
/site
9
9
/public
10
10
11
+ # generated by zola
12
+ /static /styles /syntax-theme-dark.css
13
+ /static /styles /syntax-theme-light.css
14
+
11
15
# these are old compiled sass files, people might still have them lying arouynd
12
16
/static /styles /vendor.css
13
17
/static /styles /app.css
Original file line number Diff line number Diff line change @@ -8,7 +8,11 @@ build_search_index = false
8
8
9
9
[markdown ]
10
10
highlight_code = true
11
- highlight_theme = " boron"
11
+ highlight_theme = " css"
12
+ highlight_themes_css = [
13
+ { theme = " boron" , filename = " styles/syntax-theme-dark.css" },
14
+ { theme = " OneHalfLight" , filename = " styles/syntax-theme-light.css" },
15
+ ]
12
16
bottom_footnotes = true
13
17
insert_anchor_links = " left"
14
18
extra_syntaxes_and_themes = [" syntaxes" ]
Original file line number Diff line number Diff line change 19
19
< link rel ="stylesheet " href ="{{ config.base_url | safe }}/styles/tachyons.css "/>
20
20
< link rel ="stylesheet " href ="{{ config.base_url | safe }}/styles/fonts.css "/>
21
21
< link rel ="stylesheet " href ="{{ config.base_url | safe }}/styles/app.css "/>
22
+ < link rel ="stylesheet " type ="text/css " href ="/styles/syntax-theme-dark.css " media ="(prefers-color-scheme: dark) " />
23
+ < link rel ="stylesheet " type ="text/css " href ="/styles/syntax-theme-light.css " media ="(prefers-color-scheme: light) " />
22
24
23
25
<!-- stylesheet for user agents without js -->
24
26
< noscript >
You can’t perform that action at this time.
0 commit comments