Meta Post - Common CSS Hacks

In the CSS I’m working off of, the entirety of the code for tags is:

.cm-s-obsidian span.cm-hashtag,
a.tag {
color: var(–accent-2);
}

.tag { color: var(–accent-2);
}
.tag[href=“#litnotes”] {
color : #c7fd8b;

So the #litnotes tag shows up with a unique color in preview, but not in edit.