hhlp
10
I’ve found and this is the source:
→ discourse-custom-code/common at main · discourse/discourse-custom-code · GitHub
p > code,
li > code,
pre > code {
color: dark-light-choose($code_light, $code_dark) $i;
background: dark-light-choose($code_background_light, $code_background_dark) $i;
}
you can do it without tweaks CSS, just use that component and modify:
- color light.
- color background light.
- code dark.
- code background dark.
NOTE
however this works for both inline code and block-code.
Regards.,
3 Likes