add: light theme with dynamic syntax highlight

This commit is contained in:
Ungol 2025-12-23 22:27:51 +01:00
parent bd1eb53405
commit 7f253abdac
7 changed files with 705 additions and 838 deletions

View file

@ -11,7 +11,11 @@ build_search_index = true
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
highlight_theme = "Ungol"
highlight_theme = "css"
highlight_themes_css = [
{ theme = "ungol-dark", filename = "syntax-theme-dark.css" },
{ theme = "ungol-light", filename = "syntax-theme-light.css" },
]
extra_syntaxes_and_themes = ["highlight_themes"]
[extra]