since there is no special group for CSS for Logseq (or I haven’t found it :)), I post it here.
I have ported my custom colors CSS from Roam to Logseq and you can download it here:
Simply copy it into your custom.css and then use the syntax like this:
#c-red ^^HIGHLIGHTED TEXT^^
Hopefully, it will work for you.