dotfiles/omarchy/current/theme/obsidian.css

100 lines
2.5 KiB
CSS
Raw Permalink Normal View History

2026-05-18 13:35:54 +00:00
/* Omarchy Theme for Obsidian */
.theme-dark, .theme-light {
/* Core colors */
--background-primary: #0B0C16;
--background-primary-alt: #0B0C16;
--background-secondary: #0B0C16;
--background-secondary-alt: #0B0C16;
--text-normal: #ddf7ff;
/* Selection colors */
--text-selection: #ddf7ff;
/* Border color */
--background-modifier-border: #6a6e95;
/* Semantic heading colors */
--text-title-h1: #50f872;
--text-title-h2: #4fe88f;
--text-title-h3: #50f7d4;
--text-title-h4: #829dd4;
--text-title-h5: #86a7df;
--text-title-h6: #86a7df;
/* Links and accents */
--text-link: #829dd4;
--text-accent: #82FB9C;
--text-accent-hover: #82FB9C;
--interactive-accent: #82FB9C;
--interactive-accent-hover: #82FB9C;
/* Muted text */
--text-muted: color-mix(in srgb, #ddf7ff 70%, transparent);
--text-faint: color-mix(in srgb, #ddf7ff 55%, transparent);
/* Code */
--code-normal: #7cf8f7;
/* Errors and success */
--text-error: #50f872;
--text-error-hover: #50f872;
--text-success: #4fe88f;
/* Tags */
--tag-color: #7cf8f7;
--tag-background: #6a6e95;
/* Graph */
--graph-line: #6a6e95;
--graph-node: #82FB9C;
--graph-node-focused: #829dd4;
--graph-node-tag: #7cf8f7;
--graph-node-attachment: #4fe88f;
}
/* Headers */
.cm-header-1, .markdown-rendered h1 { color: var(--text-title-h1); }
.cm-header-2, .markdown-rendered h2 { color: var(--text-title-h2); }
.cm-header-3, .markdown-rendered h3 { color: var(--text-title-h3); }
.cm-header-4, .markdown-rendered h4 { color: var(--text-title-h4); }
.cm-header-5, .markdown-rendered h5 { color: var(--text-title-h5); }
.cm-header-6, .markdown-rendered h6 { color: var(--text-title-h6); }
/* Code blocks */
.markdown-rendered code {
color: #7cf8f7;
}
/* Syntax highlighting */
.cm-s-obsidian span.cm-keyword { color: #50f872; }
.cm-s-obsidian span.cm-string { color: #4fe88f; }
.cm-s-obsidian span.cm-number { color: #50f7d4; }
.cm-s-obsidian span.cm-comment { color: #6a6e95; }
.cm-s-obsidian span.cm-operator { color: #829dd4; }
.cm-s-obsidian span.cm-def { color: #829dd4; }
/* Links */
.markdown-rendered a {
color: var(--text-link);
}
/* Blockquotes */
.markdown-rendered blockquote {
border-left-color: #82FB9C;
}
/* Active elements */
.workspace-leaf.mod-active .workspace-leaf-header-title {
color: var(--interactive-accent);
}
.nav-file-title.is-active {
color: var(--interactive-accent);
}
/* Search results */
.search-result-file-title {
color: var(--interactive-accent);
}