/* * Ash Light Theme for TriliumNext * * Derived from the current default (next) theme via #appThemeBase=next-light. * Fixed light variant. * * The "Ash" palette light twin: bone / ash-paper surfaces with soot text and * the same hue family as Ash Dark, darkened for legibility on paper. * * tones: paper #e9e3d5 raised #f2ecdf deep #dcd5c3 border #c9c1ad * muted #6f685c ink #2a2822 * accents: ember #a85f1d gold #8a6a24 blood #96392a rot #7c4a66 * moss #5c6631 steel #3d6b72 violet #6a4c72 rust #7d4a2c */ #trilium-app { --theme-style: light; /* Main surfaces */ --main-background-color: #e9e3d5; --main-text-color: #2a2822; --main-border-color: #c9c1ad; --subtle-border-color: #d8d1c1; --dropdown-border-color: #c9c1ad; --dropdown-shadow-opacity: 0.25; /* Accented / highlight */ --accented-background-color: #dcd5c3; --more-accented-background-color: #c9c1ad; /* Cards & dialogs */ --card-background-color: #f2ecdf; --card-background-hover-color: #dcd5c3; --card-border-color: #c9c1ad; --tool-dialog-background-color: #f2ecdf; --modal-background-color: #f2ecdf; --modal-border-color: #c9c1ad; /* Text & muted */ --muted-text-color: #6f685c; --menu-text-color: #2a2822; --menu-background-color: #f2ecdf; --menu-background-color-no-backdrop: #f2ecdf; /* Links */ --link-color: #3d6b72; --link-hover-color: #a85f1d; --link-hover-background: #a85f1d1f; /* Inputs */ --input-background-color: #f2ecdf; --input-text-color: #2a2822; --input-placeholder-color: #6f685c90; --input-hover-background: #dcd5c3; --input-focus-outline-color: #a85f1d; --input-focus-background: #dcd5c3; --input-focus-color: #141310; --input-action-button-color: #6f685c; --input-action-button-hover: #141310; /* Selection */ --selection-background-color: #c56a2b; --hover-item-text-color: #141310; --hover-item-background-color: #dcd5c3; --active-item-text-color: #141310; --active-item-background-color: #c9c1ad; /* Left pane / launcher */ --left-pane-background-color: #dcd5c3; --left-pane-text-color: #6f685c; --left-pane-icon-color: #5b5449; --left-pane-item-hover-background: #c9c1ad; --left-pane-item-selected-background: #b7ae98; --left-pane-item-selected-color: #141310; --launcher-pane-background-color: #dcd5c3; --launcher-pane-text-color: #6f685c; --launcher-pane-vert-background-color: #dcd5c3; --launcher-pane-vert-text-color: #6f685c; --launcher-pane-horiz-background-color: #dcd5c3; --launcher-pane-horiz-text-color: #6f685c; /* Tabs & breadcrumb / window backgrounds */ --window-background-color-bgfx: #dcd5c3; --root-background: #dcd5c3; --tab-background-color: #dcd5c3; --note-split-background-color: #e9e3d5; --center-pane-background-color-bgfx: #e9e3d5; --launcher-pane-horiz-background-color-bgfx: #dcd5c3; --center-pane-horiz-layout-background-color-bgfx: #e9e3d5; --center-pane-vert-layout-background-color-bgfx: #e9e3d5; /* Tabs */ --active-tab-background-color: #e9e3d5; --active-tab-text-color: #141310; --inactive-tab-background-color: #dcd5c3; --inactive-tab-text-color: #6f685c; --tab-close-button-hover-background: #c9c1ad; --tab-close-button-hover-color: #96392a; /* Right pane */ --right-pane-background-color: #dcd5c3; --right-pane-heading-color: #2a2822; --right-pane-item-hover-background: #c9c1ad; --right-pane-item-hover-color: #141310; /* Bottom panel */ --bottom-panel-background-color: #dcd5c3; --bottom-panel-title-bar-background-color: #e9e3d5; /* Status bar */ --status-bar-border-color: #c9c1ad; /* Code / inline code */ --inline-code-background-color: #dcd5c3; --inline-code-border-color: #c9c1ad; --code-block-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12); /* Note icons */ --note-icon-background-color: #dcd5c3; --note-icon-color: #2a2822; /* Floating buttons */ --floating-button-background-color: #dcd5c3; --floating-button-color: #2a2822; --floating-button-hover-background: #c9c1ad; --floating-button-hover-color: #141310; /* Tooltips */ --tooltip-background-color: #2a2822; --tooltip-foreground-color: #f2ecdf; /* Scrollbar */ --scrollbar-thumb-color: #b7ae98; --scrollbar-thumb-hover-color: #a89e85; --scrollbar-background-color: #dcd5c3; /* Checkboxes / tasks */ --task-checkbox-done-color: #5c6631; --task-checkbox-glyph-color: #f2ecdf; --task-checkbox-without-state-background: #b7ae98; --task-checkbox-with-state-background: #a85f1d; /* Mermaid */ --mermaid-theme: default; /* Buttons */ --cmd-button-background-color: #c9c1adc0; --cmd-button-text-color: #2a2822; --cmd-button-hover-background-color: #b7ae98c0; --cmd-button-hover-text-color: #141310; --icon-button-hover-background: #dcd5c3; --icon-button-hover-color: #141310; /* Logs */ --log-error-color: #96392a; --log-info-color: #3d6b72; --log-slow-color: #8a6a24; --log-success-color: #5c6631; /* Badges */ --badge-background-color: #c9c1ad; --badge-text-color: #2a2822; /* CKEditor editor dropdowns / panels */ --ck-color-base-foreground: #dcd5c3; --ck-color-base-background: #e9e3d5; --ck-color-dialog-background: #e9e3d5; --ck-color-dropdown-panel-background: #f2ecdf; --ck-color-dropdown-panel-border: #c9c1ad; --ck-color-list-background: #f2ecdf; --ck-color-list-button-hover-background: #dcd5c3; --ck-color-list-button-on-background: #c9c1ad; --ck-color-button-default-background: #dcd5c3; --ck-color-button-default-hover-background: #c9c1ad; --ck-color-button-on-background: #c9c1ad; --ck-color-button-on-hover-background: #b7ae98; --ck-color-button-action-background: #c9c1ad; --ck-color-button-action-hover-background: #b7ae98; --ck-color-input-background: #f2ecdf; --ck-editor-toolbar-button-on-background: #c9c1ad; --ck-editor-toolbar-button-on-color: #141310; --ck-editor-toolbar-dropdown-button-open-background: #dcd5c3; } /* Menus & dropdowns render outside #trilium-app, so also set them globally. */ :root { --menu-text-color: #2a2822; --menu-background-color: #f2ecdf; --menu-background-color-no-backdrop: #f2ecdf; --menu-item-icon-color: #6f685c; --menu-item-disabled-opacity: 0.5; --menu-item-keyboard-shortcut-color: #6f685c90; --menu-item-arrow-color: #6f685ca3; --menu-item-delimiter-color: #dcd5c3; --menu-item-group-header-color: #6f685c; --menu-section-background-color: #f2ecdf; --menu-hover-item-background-color: #dcd5c3; --menu-hover-item-text-color: #141310; --hover-item-background-color: #dcd5c3; --active-item-background-color: #c9c1ad; --dropdown-border-color: #dcd5c3; --dropdown-item-icon-destructive-color: #96392a; --ck-color-base-text: #2a2822; --ck-color-text: #2a2822; --ck-color-base-foreground: #dcd5c3; --ck-color-base-background: #e9e3d5; --ck-color-dialog-background: #e9e3d5; --ck-color-dropdown-panel-background: #f2ecdf; --ck-color-dropdown-panel-border: #c9c1ad; --ck-color-list-background: #f2ecdf; --ck-color-list-button-hover-background: #dcd5c3; --ck-color-list-button-on-background: #c9c1ad; --ck-color-list-button-on-text: #141310; --ck-color-button-default-background: #dcd5c3; --ck-color-button-default-hover-background: #c9c1ad; --ck-color-button-on-background: #c9c1ad; --ck-color-button-on-hover-background: #b7ae98; --ck-color-button-action-background: #c9c1ad; --ck-color-button-action-hover-background: #b7ae98; --ck-color-input-background: #f2ecdf; --ck-color-input-text: #2a2822; --ck-color-panel-background: #dcd5c3; --ck-color-toolbar-background: #dcd5c3; } 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: #f2ecdf !important; --menu-background-color-no-backdrop: #f2ecdf !important; --menu-section-background-color: #f2ecdf !important; background-color: #f2ecdf !important; } body.desktop .dropdown-menu::before, body.mobile .dropdown-menu::before { background-color: #f2ecdf !important; backdrop-filter: none !important; } body.desktop .dropdown-menu .dropdown-item, body.mobile .dropdown-menu .dropdown-item { --custom-color: #2a2822 !important; color: #2a2822; } body.desktop .dropdown-menu .dropdown-item:hover, body.desktop .dropdown-menu .dropdown-item:focus, body.desktop .dropdown-menu .dropdown-item.active { background-color: #dcd5c3 !important; color: #141310; } /* ============ NOTE HEADER BOXES (h2-h6) ============ */ .ck-content h2 { background-color: rgba(168, 95, 29, 0.18); border-bottom: 2px solid rgba(168, 95, 29, 0.55); border-radius: 4px; padding: 0.25em 0.4em; } .ck-content h3 { background-color: rgba(61, 107, 114, 0.16); border-bottom: 2px solid rgba(61, 107, 114, 0.5); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h4 { background-color: rgba(92, 102, 49, 0.16); border-bottom: 2px solid rgba(92, 102, 49, 0.5); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h5 { background-color: rgba(106, 76, 114, 0.16); border-bottom: 2px solid rgba(106, 76, 114, 0.5); border-radius: 4px; padding: 0.2em 0.35em; } .ck-content h6 { background-color: rgba(124, 74, 102, 0.16); border-bottom: 2px solid rgba(124, 74, 102, 0.5); 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(168, 95, 29, 0.16) !important; color: #141310; font-weight: 700; border-bottom: 2px solid rgba(168, 95, 29, 0.45); } .ck-content table tbody td:first-child { background-color: rgba(0, 0, 0, 0.04) !important; color: #2a2822; 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.03) !important; } .ck-content table tbody tr:hover td, .ck-content table .col-hover { background-color: rgba(61, 107, 114, 0.08) !important; } .ck-content table tbody tr:hover td.col-hover, .ck-content table thead th.col-hover { background-color: rgba(61, 107, 114, 0.16) !important; } /* ============ MERMAID ============ */ .mermaid-render svg { width: 95%; height: auto; max-width: 100%; }