Custom folder colors based on name #18
AnubisNekhet
started this conversation in
Snippets
Replies: 2 comments 1 reply
-
You can use this code if you're using older obsidian version. It's theme agnostic. .nav-folder-title[data-path="your folder name"] {
color: #5999ff;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
This is amazing. Thank you SO much. How can I use hex codes in the css snippet that works with the newer version? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The following snippet allows you to set custom folder colors based on name instead of a simple repeating pattern (Works with both rainbow folder styles):
The only caveat is that it needs the latest obsidian version since it uses
:has()
.Beta Was this translation helpful? Give feedback.
All reactions