Editing code highlight css #1142
-
Hi! I'm currently using blowfish to build my personal website, but I've been struggling with the syntax highlighting style. Looking at past threads I found this issue showcasing the use of render hooks to override the settings, but I'm not an expert of css and I haven't manage to solve my problem. My custom syntax highlighting code is currently under assets/css/custom.css, can anyone show me how to properly fix my issue? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For now I managed to solve this by adding the "!important" label to each CSS element of the custom syntax, this way the dark mode does not override its properties. I don't know if this is the proper way to do this, but I'll leave it here so that if anybody else has this problem he can find at least this workaround. |
Beta Was this translation helpful? Give feedback.
For now I managed to solve this by adding the "!important" label to each CSS element of the custom syntax, this way the dark mode does not override its properties. I don't know if this is the proper way to do this, but I'll leave it here so that if anybody else has this problem he can find at least this workaround.