I’m trying to have mt graph view in obsidian colored by tag. For some reason all mt tags are green? I’m trying to get all files with the ‘wiskunde’ (math) tag red. It however does not work.
I’ve been trying to do it using CSS, or other tag options but nothing seems to work…
Does anyone have an idea ?
I really dont want to color only based on file location…
Are you sure you don’t have an order of coloring issue? What happens if you remove the coloring of the path which currently are at the top? Will your tagged notes then get color?
If that works, re-add the path coloring at the bottom.
As I mentioned above, you can change the color of the #tags themselves that show in the Graph (with a CSS snippet or two), but it’s for all tags. You can’t individually color specific #tags.
For both light and dark color schemes:
body {
--graph-node-tag: hotpink; /* default: var(--color-green); */
}
Thanx for the reply! Sorry I did not consider that only being able to change the color of all the tags to be a solution… I would for example want to be able to search for a tab and then see all the items connected to it, being either tags or pages.
Does anyone maybe have a solution for this? Maybe there’s some functionality I’m overseeing?