:root { --accent-h: 15; --accent-s: 85%; --accent-l: 60%; --background-primary: #222222; --background-primary-alt: #1c1c1c; --background-secondary: #181818; --background-secondary-alt: #1f1f1f; --background-modifier-border: #2e2e2e; --background-modifier-form-field: #1f1f1f; --background-modifier-form-field-highlighted: #2c2c2c; --background-modifier-hover: #2c2c2c; --background-modifier-active-hover: #2c2c2c; --background-modifier-error: #be0d22; --background-modifier-error-hover: #40aedd; --background-modifier-success: #47b8e6; --background-modifier-success-hover: #47b8e6; --text-accent: #2f8fb5; --text-accent-hover: #40aedd; --text-accent-visited: #2f8fb5; --text-accent-visited-hover: #40aedd; --text-normal: #c6c6c6; --text-muted: #7a7a7a; --text-faint: #555555; --text-heading: #e4e4e4; --inline-title-color: #40aedd; --text-highlight-bg: #2c2c2c; --text-on-accent: #111111; --text-error: #be0d22; --text-success: #47b8e6; --text-selection: #2c2c2c; --outline-item-color: #7a7a7a; --outline-item-color-active: #c6c6c6; --interactive-normal: #2d2d2d; --interactive-hover: #2d2d2d; --interactive-accent: #008dc9; --interactive-accent-hover: #40aedd; --interactive-muted: #2e2e2e; --blockquote-border: #0090cc; --code-background: #2c2c2c; --code-normal: #eeeeee; --list-marker-color: var(--syntax-function); --syntax-comment: #888888; --syntax-constant: #64c8f2; --syntax-diff-changed: #98e80f; --syntax-function: #6ed5ff; --syntax-invalid: #be0d22; --syntax-keyword: #cccccc; --syntax-keyword-secondary: #aaaaaa; --syntax-markup-text: #eeeeee; --syntax-property: #00b3ff; --syntax-punctuation: #cccccc; --syntax-string: #cbd200; --syntax-variable: #0090cc; --embed-background: #1f1f1f; --embed-border: #2e2e2e; --modal-background: #1f1f1f; --modal-border: #2e2e2e; --prompt-background: #1f1f1f; --prompt-border: #2e2e2e; --modal-border-color: #2e2e2e; --prompt-border-color: #2e2e2e; --view-action-active-bg: #1a98ce; --background-primary-rgb: 34, 34, 34; --background-secondary-rgb: 28, 28, 28; --text-normal-rgb: 198, 198, 198; --accent-h: 199; --accent-s: 100%; --accent-l: 40%; --titlebar-background: #161616; --titlebar-background-focused: #161616; } .theme-dark { --background-primary: #222222; --background-primary-alt: #1c1c1c; --background-secondary: #181818; --background-secondary-alt: #1f1f1f; --text-normal: #c6c6c6; --text-muted: #7a7a7a; --text-faint: #555555; --text-accent: #2f8fb5; --text-accent-hover: #40aedd; --text-accent-visited: #2f8fb5; --text-accent-visited-hover: #40aedd; --text-heading: #e4e4e4; --inline-title-color: #40aedd; --outline-item-color: #7a7a7a; --outline-item-color-active: #c6c6c6; --text-on-accent: #111111; --titlebar-background: #161616; --titlebar-background-focused: #161616; --interactive-normal: #2d2d2d; --interactive-hover: #2d2d2d; --interactive-accent: #008dc9; --interactive-accent-hover: #40aedd; --interactive-muted: #2e2e2e; --nav-item-color: #9cb6c4; --nav-item-color-hover: #47b8e6; --nav-item-background-hover: #1d2327; --nav-item-color-active: #e9f4fa; --nav-item-background-active: #1f252b; --nav-item-color-selected: #e9f4fa; --nav-item-color-selected-active: #e9f4fa; --nav-item-background-selected: #1f252b; --nav-item-icon-color: #1a98ce; --nav-item-icon-color-hover: #47b8e6; --nav-file-title-color: var(--text-normal); --nav-file-title-color-active: #f2f2f2; --nav-folder-title-color: var(--text-normal); --icon-color: #1a98ce; --icon-color-hover: #47b8e6; --icon-color-active: #47b8e6; --icon-color-focused: #47b8e6; --ribbon-background: #161616; --ribbon-background-hover: #1f1f1f; --sidebar-background: #151b1f; --tab-container-background: #181818; --tab-outline-color: #2e2e2e; --tab-divider-color: #2e2e2e; --divider-color: #2e2e2e; --modal-border: #2e2e2e; --pane-border-width: 1px; --pane-border-color: #2e2e2e; } .theme-light { --background-primary: #f7f9fb; --background-primary-alt: #f0f4f7; --background-secondary: #ffffff; --background-secondary-alt: #ffffff; --background-modifier-border: #cdd7df; --background-modifier-form-field: #ffffff; --background-modifier-form-field-highlighted: #d9e7f0; --background-modifier-hover: #d9e7f0; --background-modifier-active-hover: #d9e7f0; --background-modifier-error: #be0d22; --background-modifier-error-hover: #009fdb; --background-modifier-success: #00a2e7; --background-modifier-success-hover: #00a2e7; --text-normal: #10212d; --text-muted: #5b6c78; --text-faint: #8a97a1; --text-accent: #2f8fb5; --text-accent-hover: #54b8e0; --text-accent-visited: #2f8fb5; --text-accent-visited-hover: #54b8e0; --text-heading: #0b1a24; --inline-title-color: #009fdb; --text-highlight-bg: #d9e7f0; --outline-item-color: #5b6c78; --outline-item-color-active: #10212d; --text-on-accent: #ffffff; --titlebar-background: #ffffff; --titlebar-background-focused: #ffffff; --interactive-normal: #e3ecf3; --interactive-hover: #d9e7f0; --interactive-accent: #008dc9; --interactive-accent-hover: #009fdb; --interactive-muted: #cdd7df; --text-selection: #d9e7f0; --blockquote-border: #0070a1; --code-background: #e2eaf0; --code-normal: #172630; --list-marker-color: var(--list-marker-color); --syntax-comment: #6f7a82; --syntax-constant: #b51224; --syntax-diff-changed: #a18a1a; --syntax-function: #006ea6; --syntax-invalid: #c11124; --syntax-keyword: #005f86; --syntax-keyword-secondary: #0e3f5a; --syntax-markup-text: #172630; --syntax-property: #0070a1; --syntax-punctuation: #73818b; --syntax-string: #868e00; --syntax-variable: #004f70; --embed-background: #ffffff; --embed-border: #cdd7df; --modal-background: #ffffff; --modal-border: #cdd7df; --prompt-background: #ffffff; --prompt-border: #cdd7df; --nav-item-color: #6c7b87; --nav-item-color-hover: #006ea6; --nav-item-background-hover: #eaf2f8; --nav-item-color-active: #008fd8; --nav-item-background-active: #cfe6f6; --nav-item-color-selected: #008fd8; --nav-item-color-selected-active: #008fd8; --nav-item-background-selected: #cfe6f6; --nav-item-icon-color: #008fd8; --nav-item-icon-color-hover: #00a2e7; --nav-file-title-color: #10212d; --nav-file-title-color-active: #051018; --nav-folder-title-color: #10212d; --icon-color: #008fd8; --icon-color-hover: #00a2e7; --icon-color-active: #00a2e7; --icon-color-focused: #00a2e7; --ribbon-background: #ffffff; --ribbon-background-hover: #edf2f6; --sidebar-background: #ffffff; --tab-container-background: #ffffff; --tab-outline-color: #cdd7df; --tab-divider-color: #cdd7df; --divider-color: #cdd7df; --modal-border: #cdd7df; --pane-border-width: 1px; --pane-border-color: #cdd7df; --modal-border-color: #cdd7df; --prompt-border-color: #cdd7df; --view-action-active-bg: #006fa6; --background-primary-rgb: 247, 249, 251; --background-secondary-rgb: 224, 232, 240; --text-normal-rgb: 16, 33, 45; --accent-h: 199; --accent-s: 100%; --accent-l: 40%; } .theme-light code, .theme-dark code { color: var(--syntax-keyword); } /* Prism preview syntax colors */ :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.comment, .token.prolog, .token.doctype, .token.cdata) { color: var(--syntax-comment); font-style: italic; } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.punctuation, .token.operator) { color: var(--syntax-punctuation); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.keyword, .token.atrule, .token.selector) { color: var(--syntax-keyword); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.boolean, .token.number, .token.constant, .token.symbol) { color: var(--syntax-constant); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] .token.tag { color: var(--syntax-keyword); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.attr-name, .token.property) { color: var(--syntax-property); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.string, .token.char, .token.regex) { color: var(--syntax-string); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.function, .token.builtin, .token.class-name) { color: var(--syntax-function); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.variable, .token.parameter) { color: var(--syntax-variable); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] .token.inserted { color: var(--syntax-string); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] .token.deleted { color: var(--syntax-keyword-secondary); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] .token.important { color: var(--syntax-diff-changed); } :is(.theme-dark, .theme-light) .markdown-preview-view :is(code, pre)[class*="language-"] :is(.token.error, .token.invalid) { color: var(--syntax-invalid); } /* CodeMirror (Live Preview) syntax colors */ :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-comment { color: var(--syntax-comment); font-style: italic; } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-keyword, .cm-tag) { color: var(--syntax-keyword); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-operator, .cm-punctuation, .cm-bracket, .cm-meta) { color: var(--syntax-punctuation); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-number, .cm-atom) { color: var(--syntax-constant); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-string, .cm-string-2) { color: var(--syntax-string); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-def, .cm-function, .cm-builtin, .cm-type) { color: var(--syntax-function); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is(.cm-variableName, .cm-variable, .cm-parameter) { color: var(--syntax-variable); } :is(.theme-dark, .theme-light) .cm-s-obsidian span:is( .cm-property, .cm-qualifier, .cm-attribute, .cm-variable-2, .cm-variable-3 ) { color: var(--syntax-property); } :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-link { color: var(--syntax-function); } :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-error { color: var(--syntax-invalid); } :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-strong { color: var(--syntax-diff-changed); } .is-mobile .app-header { background-color: var(--background-primary); } body:is(.theme-dark, .theme-light), body:is(.theme-dark, .theme-light) .workspace, body:is(.theme-dark, .theme-light) .workspace-split, body:is(.theme-dark, .theme-light) .workspace-leaf, body:is(.theme-dark, .theme-light) .view-content, body:is(.theme-dark, .theme-light) .markdown-source-view, body:is(.theme-dark, .theme-light) .markdown-preview-view { background-color: var(--background-primary); color: var(--text-normal); } body:is(.theme-dark, .theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) a { color: var(--text-accent); } body:is(.theme-dark, .theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) a:visited { color: var(--text-accent-visited); } body:is(.theme-dark, .theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) a:hover, body:is(.theme-dark, .theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) a:visited:hover { color: var(--text-accent-visited-hover); } body:is(.theme-dark, .theme-light) .internal-link, body:is(.theme-dark, .theme-light) .markdown-preview-view .internal-link, body:is(.theme-dark, .theme-light) .markdown-source-view .internal-link { color: var(--text-accent); } body:is(.theme-dark, .theme-light) .internal-link.is-unresolved { opacity: 0.8; } body:is(.theme-dark, .theme-light) .internal-link:hover, body:is(.theme-dark, .theme-light) .internal-link.is-unresolved:hover { color: var(--text-accent-hover); opacity: 1; } body:is(.theme-dark, .theme-light) .internal-link:visited { color: var(--text-accent-visited); } body:is(.theme-dark, .theme-light) .internal-link:visited:hover { color: var(--text-accent-visited-hover); } .workspace-leaf-content[data-type="outline"] .tree-item-self, .workspace-leaf-content[data-type="outline"] .tree-item-icon, .workspace-leaf-content[data-type="outline"] .tree-item-inner { color: var(--outline-item-color); } .workspace-leaf-content[data-type="outline"] .tree-item-self.is-active, .workspace-leaf-content[data-type="outline"] .tree-item-self:hover { color: var(--outline-item-color-active); } .theme-dark .tree-item-self { color: var(--text-normal); } .theme-light .workspace-leaf { background-color: var(--background-primary); } .theme-light .workspace-ribbon { border: none; } .theme-light .workspace-leaf-resize-handle { border-color: transparent; } .theme-light .workspace-tab-header-inner { border-radius: 4px; } .theme-light .workspace-tab-header::before, .theme-light .workspace-tab-header::after { display: none; } .theme-light .workspace-tab-header.is-active { box-shadow: none; } .theme-light .workspace .mod-root .workspace-tab-header-inner::after { display: none; } .theme-light .workspace-ribbon.mod-left:before, .workspace-tab-header-container { border: none; } .theme-light .workspace-sidedock-vault-profile { border: none !important; background: var(--background-primary) !important; } .theme-light .nav-file-title.is-active, .theme-light .nav-file-title.is-active:hover { background: var(--nav-item-background-active); color: var(--nav-item-color-active); } .modal, .prompt { border: 1px solid var(--modal-border-color); } .prompt .prompt-input-container, .prompt .prompt-results { border-color: var(--prompt-border-color); } :is(.theme-dark, .theme-light) .nav-files-container :is( .nav-file-title.is-active, .nav-folder-title.is-active, .nav-file.is-active > .nav-file-title, .nav-file.is-active > .nav-folder-title, .nav-folder.is-active > .nav-file-title, .nav-folder.is-active > .nav-folder-title ) { color: var(--nav-item-color-active); } :is(body.theme-dark, body.theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) :is(h1, h2, h3, h4, h5, h6), :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-header, :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-strong.cm-header { color: var(--text-heading); } :is(body.theme-dark, body.theme-light) :is(.markdown-preview-view, .markdown-source-view, .view-content) :is(h1.inline-title, .inline-title), :is(.theme-dark, .theme-light) .cm-s-obsidian .cm-inline-title { color: var(--inline-title-color); } :is(.theme-dark, .theme-light) .workspace-ribbon, :is(.theme-dark, .theme-light) .workspace-ribbon::before, :is(.theme-dark, .theme-light) .workspace-ribbon::after, :is(.theme-dark, .theme-light) .workspace-ribbon.side-dock-ribbon.mod-left.is-collapsed { background-color: var(--ribbon-background); } .theme-dark .workspace-leaf .view-content { background-color: var(--ribbon-background); } .theme-light .workspace-leaf .view-content { background-color: var(--background-primary); } :is(.theme-dark, .theme-light) .titlebar, :is(.theme-dark, .theme-light) .is-focused .titlebar { background-color: var(--titlebar-background); } :is(.theme-dark, .theme-light) .markdown-preview-view ul > li::marker, :is(.theme-dark, .theme-light) .markdown-preview-view ol > li::marker, :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-formatting-list, :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-formatting-list-ul, :is(.theme-dark, .theme-light) .cm-s-obsidian span.cm-formatting-list-ol { color: var(--list-marker-color); } :is(.theme-dark, .theme-light) .view-actions :is( .clickable-icon.mod-active, .clickable-icon.is-active, button.mod-active, button.is-active ) { background-color: var(--view-action-active-bg); } :is(.theme-dark, .theme-light) .workspace-ribbon :is( .workspace-ribbon-action.is-active, .workspace-ribbon-collapse-btn.is-active ), :is(.theme-dark, .theme-light) .side-dock-ribbon-tab.is-active, :is(.theme-dark, .theme-light) .side-dock-ribbon-action.is-active { background-color: var(--view-action-active-bg); }