File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -244,10 +244,13 @@ highlight_theme = "css" # Required for class-based highlighting
244244# Specify theme(s) for dark and light modes
245245highlight_themes_css = [
246246 { theme = " one-dark" , filename = " syntax/syntax-theme-dark.css" },
247- { theme = " one -dark" , filename = " syntax/syntax-theme-light.css" },
247+ { theme = " gruvbox -dark" , filename = " syntax/syntax-theme-light.css" },
248248]
249249```
250250
251+ For example, the above configuration will use the ` one-dark ` theme for dark mode
252+ and the ` gruvbox-dark ` theme for light mode.
253+
251254##### Choosing Themes
252255
2532561 . Browse available themes at [ Zola's syntax highlighting
Original file line number Diff line number Diff line change @@ -204,10 +204,14 @@ highlight_theme = "css" # Required for class-based highlighting
204204# Specify theme(s) for dark and light modes
205205highlight_themes_css = [
206206 { theme = " one-dark" , filename = " syntax/syntax-theme-dark.css" },
207- { theme = " one -dark" , filename = " syntax/syntax-theme-light.css" },
207+ { theme = " gruvbox -dark" , filename = " syntax/syntax-theme-light.css" },
208208]
209209```
210210
211+ For example, the above configuration will use the ` one-dark ` theme for dark mode
212+ and the ` gruvbox-dark ` theme for light mode. ** You can see this in action by
213+ toggling the theme at the top of this page.**
214+
211215##### Choosing Themes
212216
2132171 . Browse available themes at [ Zola's syntax highlighting
You can’t perform that action at this time.
0 commit comments