/* * Solarized Light Theme for TriliumNext * * Fixed light variant (no automatic light/dark switching). * Palette: Solarized (Ethan Schoonover, MIT) */ #trilium-app { --theme-style: light; /* Main surfaces */ --main-background-color: #fdf6e3; --main-text-color: #657b83; --main-border-color: #93a1a1; --subtle-border-color: #eee8d5; --dropdown-border-color: #93a1a1; --dropdown-shadow-opacity: 0.5; /* Accented / highlight */ --accented-background-color: #eee8d5; --more-accented-background-color: #93a1a1; /* Cards & dialogs */ --card-background-color: #eee8d5; --card-background-hover-color: #93a1a1; --card-border-color: #93a1a1; --tool-dialog-background-color: #eee8d5; --modal-background-color: #eee8d5; --modal-border-color: #93a1a1; /* Text & muted */ --muted-text-color: #586e75; --menu-text-color: #657b83; --menu-background-color: #eee8d5; --menu-background-color-no-backdrop: #eee8d5; /* Links */ --link-color: #268bd2; --link-hover-color: #2aa198; --link-hover-background: #2aa19824; /* Inputs */ --input-background-color: #93a1a160; --input-text-color: #657b83; --input-placeholder-color: #586e7580; --input-hover-background: #93a1a160; --input-focus-outline-color: #268bd2; --input-focus-background: #93a1a150; --input-focus-color: #657b83; --input-action-button-color: #93a1a1; --input-action-button-hover: #657b83; /* Selection */ --selection-background-color: #268bd2; --hover-item-text-color: #657b83; --hover-item-background-color: #eee8d5; --active-item-text-color: #657b83; --active-item-background-color: #93a1a1; /* Left pane / launcher */ --left-pane-background-color: #eee8d5; --left-pane-text-color: #586e75; --left-pane-icon-color: #586e75; --left-pane-item-hover-background: #93a1a1; --left-pane-item-selected-background: #93a1a1; --left-pane-item-selected-color: #657b83; --launcher-pane-background-color: #eee8d5; --launcher-pane-text-color: #586e75; --launcher-pane-vert-background-color: #eee8d5; --launcher-pane-vert-text-color: #586e75; --launcher-pane-horiz-background-color: #eee8d5; --launcher-pane-horiz-text-color: #586e75; /* Tabs & breadcrumb / window backgrounds */ --window-background-color-bgfx: #eee8d5; --root-background: #eee8d5; --tab-background-color: #eee8d5; --note-split-background-color: #fdf6e3; --center-pane-background-color-bgfx: #fdf6e3; --launcher-pane-horiz-background-color-bgfx: #eee8d5; --center-pane-horiz-layout-background-color-bgfx: #fdf6e3; --center-pane-vert-layout-background-color-bgfx: #fdf6e3; /* Tabs */ --active-tab-background-color: #eee8d5; --active-tab-text-color: #657b83; --inactive-tab-background-color: #fdf6e3; --inactive-tab-text-color: #586e75; --tab-close-button-hover-background: #93a1a1; --tab-close-button-hover-color: #dc322f; /* Right pane */ --right-pane-background-color: #eee8d5; --right-pane-heading-color: #657b83; --right-pane-item-hover-background: #93a1a1; --right-pane-item-hover-color: #657b83; /* Bottom panel */ --bottom-panel-background-color: #eee8d5; --bottom-panel-title-bar-background-color: #fdf6e3; /* Status bar */ --status-bar-border-color: #93a1a1; /* Code / inline code */ --inline-code-background-color: #eee8d5; --inline-code-border-color: #93a1a1; --code-block-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15); /* Note icons */ --note-icon-background-color: #eee8d5; --note-icon-color: #657b83; /* Floating buttons */ --floating-button-background-color: #eee8d5; --floating-button-color: #657b83; --floating-button-hover-background: #93a1a1; --floating-button-hover-color: #657b83; /* Tooltips */ --tooltip-background-color: #eee8d5; --tooltip-foreground-color: #657b83; /* Scrollbar */ --scrollbar-thumb-color: #93a1a1; --scrollbar-thumb-hover-color: #93a1a1; --scrollbar-background-color: #eee8d5; /* Checkboxes / tasks */ --task-checkbox-done-color: #586e75; --task-checkbox-glyph-color: #657b83; --task-checkbox-without-state-background: #93a1a1; --task-checkbox-with-state-background: #268bd2; /* Mermaid */ --mermaid-theme: light; /* Buttons */ --cmd-button-background-color: #93a1a1a0; --cmd-button-text-color: #657b83; --cmd-button-hover-background-color: #93a1a1a0; --cmd-button-hover-text-color: #657b83; --icon-button-hover-background: #93a1a1; --icon-button-hover-color: #657b83; /* Logs */ --log-error-color: #dc322f; --log-info-color: #268bd2; --log-slow-color: #cb4b16; --log-success-color: #586e75; /* Badges */ --badge-background-color: #93a1a1; --badge-text-color: #657b83; /* CKEditor editor dropdowns / panels (no yellow) */ --ck-color-base-foreground: #93a1a1; --ck-color-base-background: #fdf6e3; --ck-color-dialog-background: #fdf6e3; --ck-color-dropdown-panel-background: #fdf6e3; --ck-color-dropdown-panel-border: #93a1a1; --ck-color-list-background: #fdf6e3; --ck-color-list-button-hover-background: #93a1a1; --ck-color-list-button-on-background: #93a1a1; --ck-color-button-default-background: #eee8d5; --ck-color-button-default-hover-background: #93a1a1; --ck-color-button-on-background: #93a1a1; --ck-color-button-on-hover-background: #93a1a1; --ck-color-button-action-background: #93a1a1; --ck-color-button-action-hover-background: #93a1a1; --ck-color-input-background: #fdf6e3; --ck-editor-toolbar-button-on-background: #93a1a1; --ck-editor-toolbar-button-on-color: #657b83; --ck-editor-toolbar-dropdown-button-open-background: #eee8d5; } /* Menus & dropdowns are often rendered outside #trilium-app, so also set them globally. */ :root { --menu-text-color: #657b83; --menu-background-color: #fdf6e3; --menu-background-color-no-backdrop: #fdf6e3; --menu-item-icon-color: #93a1a1; --menu-item-disabled-opacity: 0.5; --menu-item-keyboard-shortcut-color: #93a1a190; --menu-item-arrow-color: #93a1a1a3; --menu-item-delimiter-color: #93a1a1; --menu-item-group-header-color: #586e75; --menu-section-background-color: #fdf6e3; --menu-hover-item-background-color: #93a1a1; --menu-hover-item-text-color: #657b83; --hover-item-background-color: #93a1a1; --active-item-background-color: #93a1a1; --dropdown-border-color: #93a1a1; --dropdown-item-icon-destructive-color: #dc322f; /* CKEditor editor dropdowns are rendered outside #trilium-app, so set them globally (no yellow). */ --ck-color-base-text: #657b83; --ck-color-text: #657b83; --ck-color-base-foreground: #93a1a1; --ck-color-base-background: #fdf6e3; --ck-color-dialog-background: #fdf6e3; --ck-color-dropdown-panel-background: #fdf6e3; --ck-color-dropdown-panel-border: #93a1a1; --ck-color-list-background: #fdf6e3; --ck-color-list-button-hover-background: #93a1a1; --ck-color-list-button-on-background: #93a1a1; --ck-color-list-button-on-text: #657b83; --ck-color-button-default-background: #eee8d5; --ck-color-button-default-hover-background: #93a1a1; --ck-color-button-on-background: #93a1a1; --ck-color-button-on-hover-background: #93a1a1; --ck-color-button-action-background: #93a1a1; --ck-color-button-action-hover-background: #93a1a1; --ck-color-input-background: #fdf6e3; --ck-color-input-text: #657b83; --ck-color-panel-background: #fdf6e3; --ck-color-toolbar-background: #eee8d5; } /* Force the note-tree context menu / dropdowns to a neutral, non-yellow background. */ body.desktop .dropdown-menu, body.desktop .dropdown-menu.tn-dropdown-menu, body.desktop .dropdown-menu.tn-dropdown-list, body.mobile .dropdown-menu { --menu-background-color: #fdf6e3 !important; --menu-background-color-no-backdrop: #fdf6e3 !important; --menu-section-background-color: #fdf6e3 !important; background-color: #fdf6e3 !important; } body.desktop .dropdown-menu::before, body.mobile .dropdown-menu::before { background-color: #fdf6e3 !important; backdrop-filter: none !important; } body.desktop .dropdown-menu .dropdown-item, body.mobile .dropdown-menu .dropdown-item { --custom-color: #657b83 !important; color: #657b83; } body.desktop .dropdown-menu .dropdown-item:hover, body.desktop .dropdown-menu .dropdown-item:focus, body.desktop .dropdown-menu .dropdown-item.active { background-color: #93a1a1 !important; color: #657b83; } /* ============ TREELINES (Vertical tree lines) ============ */ /* Base connector lines — Harbor neutral */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:nth-of-type(2n) { border-left: 2.5px solid rgba(88, 110, 117, 0.8); border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:nth-of-type(2n+1) { border-left: 2.5px solid rgba(88, 110, 117, 0.5); border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR red */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-E64D4D) { border-left: 2.5px solid #dc322f80; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR orange */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-E6994D) { border-left: 2.5px solid #cb4b1680; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR yellow */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-E5E64D) { border-left: 2.5px solid #d8c36e80; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR green (light) */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-99E64D) { border-left: 2.5px solid #586e7580; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR green */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-4DE64D) { border-left: 2.5px solid #586e7580; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR aqua/green */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-4DE699) { border-left: 2.5px solid #2aa19880; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR aqua/cyan */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-4DE5E6) { border-left: 2.5px solid #2aa19880; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR blue */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-4D99E6) { border-left: 2.5px solid #268bd280; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR blue/purple */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-4D4DE6) { border-left: 2.5px solid #268bd280; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR purple */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-994DE6) { border-left: 2.5px solid #d3368280; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* COLOR pink/magenta */ div.tree li.fancytree-lastsib ul li[aria-expanded="true"]:has(> .color-E64DB3) { border-left: 2.5px solid #d3368280; border-top-left-radius: 10px !important; border-bottom-left-radius: 10px !important; } /* ============ NOTE HEADER BOXES (h2-h6) ============ */ /* Box background behind header text. h2 spans full editor width, h3-h6 hug the text block. Transparent, distinct colours. */ .ck-content h2 { background-color: rgba(94, 129, 172, 0.18); border-bottom: 2px solid rgba(94, 129, 172, 0.45); border-radius: 4px; padding: 0.25em 0.4em; } .ck-content h3 { background-color: rgba(88, 110, 117, 0.14); border-bottom: 2px solid rgba(88, 110, 117, 0.38); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h4 { background-color: rgba(203, 75, 22, 0.14); border-bottom: 2px solid rgba(203, 75, 22, 0.38); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h5 { background-color: rgba(211, 54, 130, 0.12); border-bottom: 2px solid rgba(211, 54, 130, 0.35); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h6 { background-color: rgba(42, 161, 152, 0.12); border-bottom: 2px solid rgba(42, 161, 152, 0.35); border-radius: 4px; padding: 0.2em 0.35em; } /* ============ TABLES ============ */ .ck-content table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--main-border-color); border-radius: 8px; overflow: hidden; margin: 1em 0; } .ck-content table th, .ck-content table td { border: none; border-bottom: 1px solid var(--main-border-color); border-right: 1px solid var(--main-border-color); padding: 8px 12px; text-align: left; background-color: transparent !important; } .ck-content table th:last-child, .ck-content table td:last-child { border-right: none; } .ck-content table tr:last-child td { border-bottom: none; } .ck-content table thead th { background-color: rgba(94, 129, 172, 0.16) !important; color: #657b83; font-weight: 700; border-bottom: 2px solid rgba(94, 129, 172, 0.40); } .ck-content table tbody td:first-child { background-color: rgba(0, 0, 0, 0.05) !important; color: #657b83; font-weight: 600; white-space: nowrap; } .ck-content table tbody tr:nth-child(even) td:not(:first-child) { background-color: rgba(0, 0, 0, 0.04) !important; } .ck-content table tbody tr:hover td { background-color: rgba(94, 129, 172, 0.08) !important; } .ck-content table .col-hover { background-color: rgba(94, 129, 172, 0.08) !important; } .ck-content table tbody tr:hover td.col-hover, .ck-content table thead th.col-hover { background-color: rgba(94, 129, 172, 0.15) !important; }