Skip to content
Discussion options

You must be logged in to vote

Yes, you can change the color of notes in the hierarchy (note tree) in Trilium Notes. The simplest way is to add a #color attribute to a note and set it to any valid CSS color (like #ff0000 for red or green). This changes the color of both the icon and the title in the tree view details wiki.

For more advanced customization (like changing background color or adding icons), you can assign a CSS class to a note using the #cssClass(inheritable)=yourClassName attribute, then add global CSS in a note with the #appCss attribute. For example:

.important span.fancytree-title::before {
  content: "⚠ ";
  background-color: red;
  color: yellow;
}

This will style all notes with the important class …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@saitatter
Comment options

@dosubot
Comment options

Answer selected by eliandoran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant