Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
/* Light theme is special since it's also baseline/default so when a theme does not define some variable then
value from this theme will be used. For this reason this theme uses "html" instead of ":root"
since it's less "specific" and thus serves as default */
html {
/* either light or dark, colored theme with darker tones are also dark, used e.g. for note map node colors */
--theme-style: light;
--main-font-family: Montserrat, sans-serif;
--main-font-size: normal;
--tree-font-family: Montserrat, sans-serif;
--tree-font-size: normal;
--detail-font-family: Montserrat, sans-serif;
--detail-font-size: normal;
--monospace-font-family: JetBrainsLight, monospace;
--monospace-font-size: normal;
--main-background-color: white;
--main-text-color: black;
--main-border-color: #ccc;
--dropdown-border-color: #ccc;
--dropdown-shadow-opacity: 0.2;
--dropdown-item-icon-destructive-color: #ec5138;
--contextual-help-icon-color: #004382;
--accented-background-color: #f5f5f5;
--more-accented-background-color: #ddd;
--icon-button-hover-background: var(--accented-background-color);
--button-background-color: transparent;
--button-border-color: #ddd;
--button-text-color: black;
--button-border-radius: 5px;
--button-disabled-background-color: #ddd;
--button-disabled-text-color: black;
--primary-button-background-color: #6c757d;
--primary-button-text-color: white;
--primary-button-border-color: #6c757d;
--muted-text-color: #666;
--input-text-color: black;
--input-background-color: transparent;
--input-focus-outline-color: #00000063;
--radio-checkbox-background: color-mix(in srgb, var(--main-text-color) 18%, transparent);
--radio-checkbox-hover-background: color-mix(in srgb, var(--main-text-color) 31%, transparent);
--radio-checkbox-indicator-color: var(--main-text-color);
--hover-item-text-color: black;
--hover-item-background-color: transparent;
--hover-item-border-color: #ccc;
--menu-item-arrow-color: #00000080;
--modal-control-button-background: #0000001a;
--modal-control-button-color: #737373;
--modal-control-button-hover-color: white;
--modal-control-button-hover-background: gray;
--modal-close-button-hover-background: var(--tab-close-button-hover-background, #c95a5a);
--active-item-text-color: black;
--active-item-background-color: #ddd;
--active-item-border-color: transparent;
/* The highlighted row, the row padding and the list padding of every suggestion list: the
text editor's mentions, the search completions and `FormAutocomplete`. */
--suggestion-active-text-color: var(--active-item-text-color);
--suggestion-active-background-color: var(--active-item-background-color);
--suggestion-item-padding-block: 5px;
--suggestion-item-padding-inline: 5px;
--suggestion-list-padding: 6px;
--menu-text-color: black;
--menu-background-color: white;
--modal-background-color: white;
--modal-backdrop-color: black;
--left-pane-background-color: #f3f3f3;
--left-pane-text-color: #333;
--launcher-pane-background-color: #f3f3f3;
--launcher-pane-text-color: #333;
--active-tab-background-color: #ddd;
--active-tab-hover-background-color: #d1d1d1;
--active-tab-text-color: black;
--inactive-tab-background-color: #f0f0f0;
--inactive-tab-hover-background-color: #e3e3e3;
--inactive-tab-text-color: #666;
--scrollbar-thumb-color: color-mix(in srgb, var(--main-text-color) 36%, transparent);
--scrollbar-thumb-hover-color: color-mix(in srgb, var(--main-text-color) 40%, transparent);
--scrollbar-background-color: transparent;
--card-background-color: color-mix(in srgb, var(--main-text-color) 6%, transparent);
--card-background-hover-color: color-mix(in srgb, var(--main-text-color) 11%, transparent);
--selection-background-color: #3399FF70;
--tooltip-background-color: #f8f8f8;
--link-color: blue;
--mermaid-theme: default;
--native-titlebar-background: #ffffff00;
--calendar-coll-event-background-lightness: 95%;
--calendar-coll-event-background-saturation: 80%;
}
#left-pane .fancytree-node.tinted {
--custom-color: var(--light-theme-custom-color);
}
:root .reference-link.use-note-color,
:root .reference-link.use-note-color:hover,
.ck-content a.reference-link.use-note-color > span,
.board-note.use-note-color {
color: var(--light-theme-custom-color, inherit);
}
.use-note-color {
--custom-color: var(--light-theme-custom-color);
}
span.fancytree-active {
color: var(--light-theme-custom-color, var(--active-item-text-color));
}