Skip to content

Instantly share code, notes, and snippets.

@pcuellar
Created September 23, 2022 16:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pcuellar/5a6f3a72b68527aaf2c48934ac4b28ae to your computer and use it in GitHub Desktop.
Save pcuellar/5a6f3a72b68527aaf2c48934ac4b28ae to your computer and use it in GitHub Desktop.
CSS Snippet for colorful text label navigation in Obsidian
/*Thanks to obadiahcruz for the pointers to make this work*/
/*Files icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-folder-closed, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-folder-closed, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-folder-closed {
color: #4F99D5;
}
/*Search icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-search, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-search, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-search {
color: #408369;
}
/*Starred Icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-star, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-star, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-star {
color: #D7BB43;
}
/*Tags icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-hash, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-hash, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-hash {
color: #DA7C2F;
}
/*Recent Files icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-clock, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-clock, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-clock {
color: #A5354E;
}
/*Graph view icon*/
.clickable-icon.side-dock-ribbon-action .svg-icon.lucide-git-fork, .mod-left-split .workspace-tab-header-inner-icon .svg-icon.lucide-git-fork, .mod-right-split .workspace-tab-header-inner-icon .svg-icon.lucide-git-fork {
color: #9461A4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment