I’ve made an update which has added some new features.
Firstly, I’ve added coloured blocks, which you can use via code blocks or html <div>
s or <span>
s
I’ve also styled tags, and made it easy to change the colour in CSS for your own custom tags with the same colours as the blocks above (or any other colours you wish), like this example for #important
/* 8.1. Tag custom colours */
/* As of Obsidian 0.9.0 there are custom classes for tags.
* this theme provides varibles of the form --background-<color> and --text-<color> for the following colours:
* gray, brown, orange, yellow, green, blue, purple, pink, red
* If you want your own colours for your own specific tags you can copy and utilize this: */
.cm-s-obsidian span.cm-hashtag.cm-tag-important,
.tag[href="#important"] {
background-color: var(--background-red);
}