Custom CSS in Light And Dark Theme

Hi! Is it possible to change tags font color automatically (using custom css) when I switch from Light to Dark theme and vice versa?

There’s a is-dark-mode class on .AppContainer that should help you.

P.S. Moving this post to Help; feel free to post in Share & Showcase if you have CSS that you’d like to share with everyone! :smiley:

Thanks! Could you give me a code example? If I want change tag’s color in dark mode where I should add is-dark-mode and .AppContainer ?

.node-tag { color: #00c8ff; }

Done)

.AppContainer.is-dark-mode .node-tag {
color: #00c8ff;
}
2 Likes