Files
arch-custom-iso/airootfs/root/.config/obsidian/obsidian.css
T

100 lines
2.5 KiB
CSS

/* Theme for Obsidian */
.theme-dark, .theme-light {
/* Core colors */
--background-primary: #1e1e2e;
--background-primary-alt: #1e1e2e;
--background-secondary: #1e1e2e;
--background-secondary-alt: #1e1e2e;
--text-normal: #cdd6f4;
/* Selection colors */
--text-selection: #292b3b;
/* Border color */
--background-modifier-border: #585b70;
/* Semantic heading colors */
--text-title-h1: #f38ba8;
--text-title-h2: #a6e3a1;
--text-title-h3: #f9e2af;
--text-title-h4: #89b4fa;
--text-title-h5: #cba6f7;
--text-title-h6: #cba6f7;
/* Links and accents */
--text-link: #89b4fa;
--text-accent: #89b4fa;
--text-accent-hover: #89b4fa;
--interactive-accent: #89b4fa;
--interactive-accent-hover: #89b4fa;
/* Muted text */
--text-muted: color-mix(in srgb, #cdd6f4 70%, transparent);
--text-faint: color-mix(in srgb, #cdd6f4 55%, transparent);
/* Code */
--code-normal: #94e2d5;
/* Errors and success */
--text-error: #f38ba8;
--text-error-hover: #f38ba8;
--text-success: #a6e3a1;
/* Tags */
--tag-color: #94e2d5;
--tag-background: #585b70;
/* Graph */
--graph-line: #585b70;
--graph-node: #89b4fa;
--graph-node-focused: #89b4fa;
--graph-node-tag: #94e2d5;
--graph-node-attachment: #a6e3a1;
}
/* 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: #94e2d5;
}
/* Syntax highlighting */
.cm-s-obsidian span.cm-keyword { color: #f38ba8; }
.cm-s-obsidian span.cm-string { color: #a6e3a1; }
.cm-s-obsidian span.cm-number { color: #f9e2af; }
.cm-s-obsidian span.cm-comment { color: #585b70; }
.cm-s-obsidian span.cm-operator { color: #89b4fa; }
.cm-s-obsidian span.cm-def { color: #89b4fa; }
/* Links */
.markdown-rendered a {
color: var(--text-link);
}
/* Blockquotes */
.markdown-rendered blockquote {
border-left-color: #89b4fa;
}
/* 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);
}