[css mod] custom colors for highlighting, bold and italics

Hi,
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.

4 Likes

It works great and it’s truly amazing!
Thank you!

nice to see your mods for logseq ! thank you!

1 Like

Replied in gist but wanted to bump the thread here for anyone else looking for multi-colored highlights in logseq:
Credit to Denaro for writing the plugin. You can follow their readme, but there are a couple extra steps required.

  1. Clone their repo: GitHub - DenaroCF/Highlighters-for-Logseq: More highlight colors in Logseq
  2. Enable your logseq developer mode under settings > advanced
  3. Go to your plugins > load unpacked plugin and select the cloned repo root folder (default name Highlighters-for-Logseq)
  4. Go to the root folder and edit package.json, changing “main”: “./index.html”, to “main”: “src/index.html”,
  5. Reboot logseq

You can test if it works by typing /high which should bring up a menu of all your highlighter options. You can change and add options in src/index.js.