Module Theming
Change Rules Highlight'n
If ye want t' switch th' rules highlight'n theme together wit' yer color variant, first ye need t' configure yer installat'n accord'n t' Hugo’s documentat'n t' provide a rules highlight'n stylesheet file.
hugo.
[marrrkup]
[marrrkup.highlight]
noClasses = falsemarrrkup:
highlight:
noClasses: false{
"markup": {
"highlight": {
"noClasses": false
}
}
}Ye can use one o' th' shipped stylesheet files or use Cap'n Hugo t' generate a file fer ye.
hugo gen chromastyles --style=monokai > chroma-mycode.cssTh' file must be written t' assets/css/chroma-<NAME>.css. T' use it wit' yer color variant, ye have t' modify --CODE-theme: <NAME> 'n th' color variant stylesheet file.
@import "theme-relearn-light.css";
:root {
--CODE-theme: mycode; /* name o' th' chroma stylesheet file */
}Change 3rd-Party Libraries Them'n
Some o' th' shipped shorrrtcodes be us'n 3rd-party libraries. See th' individual shortcode documentat'n on how t' change their them'n.