Other native obsidian classes like 'mod-warning'?

What I’m trying to do

Make use of the existing classes instead of creating custom ones.

I found out they exist from meta-bind’s doc

Things I have tried

Searching the forum, docs and google

There are a list of common CSS variables/properties here:


You can also use the inspector:

and click on parts of the UI to see what CSS is being applied. In the the same dev tools, if you click on Sources > app.css, you can view the full CSS that Obsidian is using. e.g.

2 Likes

Thank you
I still haven’t found what I was looking for, but I’ll keep at it

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.