/* Omarchy theme for Thunderbird. * Rendered from the current theme's colors.toml on every theme change * (template: ~/.config/omarchy/themed/thunderbird.css.tpl) and installed into * each Thunderbird profile by ~/.config/omarchy/hooks/theme-set.d/thunderbird. * Only Thunderbird's own colour variables are overridden, so its layout and * states keep working; email bodies are left untouched. */ :root, :host { color-scheme: {{ mode }} !important; /* Surfaces, from the page background toward the text colour */ --layout-background-0: {{ background }} !important; --layout-background-1: {{ mix background foreground 4% }} !important; --layout-background-2: {{ mix background foreground 8% }} !important; --layout-background-3: {{ mix background foreground 12% }} !important; --layout-background-4: {{ mix background foreground 18% }} !important; /* Text */ --layout-color-0: {{ bright_foreground }} !important; --layout-color-1: {{ foreground }} !important; --layout-color-2: {{ mix foreground background 25% }} !important; --layout-color-3: {{ muted }} !important; /* Borders */ --layout-border-0: {{ mix background foreground 10% }} !important; --layout-border-1: {{ mix background foreground 20% }} !important; --layout-border-2: {{ muted }} !important; /* Selection (folder list, message list, menus) */ --selected-item-color: {{ selection_background }} !important; --selected-item-text-color: {{ foreground }} !important; --sidebar-highlight-background-color: {{ selection_background }} !important; --sidebar-highlight-text-color: {{ foreground }} !important; /* Accent: primary buttons, focus rings, links */ --color-accent-primary: {{ accent }} !important; --button-primary-background-color: {{ accent }} !important; --button-primary-hover-background-color: {{ mix accent background 15% }} !important; --button-primary-active-background-color: {{ mix accent background 25% }} !important; --button-primary-border-color: {{ accent }} !important; --button-primary-text-color: {{ background }} !important; --focus-outline-color: {{ accent }} !important; --toolbar-field-focus-border-color: {{ accent }} !important; --link-color: {{ accent }} !important; --link-color-hover: {{ mix accent background 20% }} !important; /* Toolbars, tabs, search fields */ --lwt-accent-color: {{ background }} !important; --toolbar-background-color: {{ background }} !important; --toolbar-text-color: {{ foreground }} !important; --toolbar-field-background-color: {{ mix background foreground 4% }} !important; --toolbar-field-color: {{ foreground }} !important; --toolbar-field-border-color: {{ mix background foreground 12% }} !important; --search-bar-background: {{ mix background foreground 4% }} !important; --search-bar-color: {{ foreground }} !important; --search-bar-border-color: {{ mix background foreground 12% }} !important; /* Panes and popups */ --sidebar-background-color: {{ mix background foreground 4% }} !important; --sidebar-text-color: {{ foreground }} !important; --tree-view-bg: {{ background }} !important; --tree-view-color: {{ foreground }} !important; --tree-pane-background: {{ background }} !important; --panel-background-color: {{ background }} !important; --panel-text-color: {{ foreground }} !important; --panel-border-color: {{ mix background foreground 12% }} !important; }