Replies: 1 comment 3 replies
-
@amca01, there's no such parameter. If you want to change that side of things, you basically need to fork the theme and edit it to match your desired styles. If you have a stylesheet that matches the classes generated by the clarity theme. Please the readme. I think there's a file you can use to override those styles. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As hugo-clarity uses the highlight.js engine for code displaying, there are (according to its website) some 243 different styles to choose. I prefer a light style to dark - but how can I set it in my config file? In the example site,
style="monokai"
is commented out. But when I choose a different style, my code fails to render properly: quite a lot of code is invisible. That is, it's displayed in the same colour as the background.Should I be using another parameter than
style
? Or is there another way to choose a highlighting theme? Thanks very much.Beta Was this translation helpful? Give feedback.
All reactions