vault backup: 2026-04-07 12:07:52
This commit is contained in:
140
.obsidian/snippets/matugen.css
vendored
Normal file
140
.obsidian/snippets/matugen.css
vendored
Normal file
@@ -0,0 +1,140 @@
|
||||
/* Matugen Obsidian Dynamic Colors Snippet
|
||||
* Place output in: <vault>/.obsidian/snippets/matugen.css
|
||||
* Then enable it in: Settings → Appearance → CSS Snippets
|
||||
*/
|
||||
|
||||
.theme-dark, .theme-light {
|
||||
|
||||
/* ── Material You RGB helpers ──────────────────────────── */
|
||||
--mat-bg-rgb: 14, 21, 20;
|
||||
--mat-surface-rgb: 14, 21, 20;
|
||||
--mat-on-surface-rgb: 221, 228, 226;
|
||||
--mat-primary-rgb: 74, 227, 220;
|
||||
--mat-on-primary-rgb: 0, 55, 53;
|
||||
|
||||
/* ── Core Backgrounds ──────────────────────────────────── */
|
||||
--background-primary: #0e1514;
|
||||
--background-primary-alt: #0e1514;
|
||||
--background-secondary: #161d1c;
|
||||
--background-secondary-alt: #1a2120;
|
||||
|
||||
/* ── Titlebar ──────────────────────────────────────────── */
|
||||
--titlebar-background: #0e1514;
|
||||
--titlebar-background-focused: #161d1c;
|
||||
--titlebar-text-color: #dde4e2;
|
||||
|
||||
/* ── Borders & Dividers ────────────────────────────────── */
|
||||
--background-modifier-border: #3c4948;
|
||||
--background-modifier-border-focus: #859492;
|
||||
--background-modifier-border-hover: #859492;
|
||||
|
||||
/* ── Text Colors ───────────────────────────────────────── */
|
||||
--text-normal: #dde4e2;
|
||||
--text-muted: #bbcac8;
|
||||
--text-faint: #859492;
|
||||
--text-on-accent: #003735;
|
||||
--text-selection: rgba(74, 227, 220, 0.25);
|
||||
|
||||
/* ── Accent & Interactive ──────────────────────────────── */
|
||||
--interactive-accent: #4ae3dc;
|
||||
--interactive-accent-hover: #15c7c0;
|
||||
--interactive-accent-rgb: 74, 227, 220;
|
||||
--text-accent: #4ae3dc;
|
||||
--text-accent-hover: #15c7c0;
|
||||
|
||||
/* ── Hover & Active Modifiers ──────────────────────────── */
|
||||
--background-modifier-hover: rgba(var(--mat-on-surface-rgb), 0.06);
|
||||
--background-modifier-active-hover: rgba(var(--mat-primary-rgb), 0.15);
|
||||
--background-modifier-success: #ff995c;
|
||||
--background-modifier-error: #93000a;
|
||||
--background-modifier-error-hover: #ffb4ab;
|
||||
|
||||
/* ── Obsidian Color Scale (--color-base-XX) ────────────── */
|
||||
--color-base-00: #0e1514;
|
||||
--color-base-05: #0e1514;
|
||||
--color-base-10: #090f0f;
|
||||
--color-base-20: #161d1c;
|
||||
--color-base-25: #1a2120;
|
||||
--color-base-30: #242b2b;
|
||||
--color-base-35: #2f3635;
|
||||
--color-base-40: #3c4948;
|
||||
--color-base-50: #859492;
|
||||
--color-base-60: #bbcac8;
|
||||
--color-base-70: #dde4e2;
|
||||
--color-base-100: #dde4e2;
|
||||
|
||||
/* ── Semantic Colors ───────────────────────────────────── */
|
||||
--color-red: #ffb4ab;
|
||||
--color-orange: #ffc19f;
|
||||
--color-yellow: #9dd0cc;
|
||||
--color-green: #ff995c;
|
||||
--color-cyan: #1d514e;
|
||||
--color-blue: #4ae3dc;
|
||||
--color-purple: #9dd0cc;
|
||||
--color-pink: #ffc19f;
|
||||
|
||||
/* ── Headings ──────────────────────────────────────────── */
|
||||
--h1-color: #4ae3dc;
|
||||
--h2-color: #4ae3dc;
|
||||
--h3-color: #9dd0cc;
|
||||
--h4-color: #ffc19f;
|
||||
--h5-color: #bbcac8;
|
||||
--h6-color: #859492;
|
||||
|
||||
/* ── Links ─────────────────────────────────────────────── */
|
||||
--link-color: #4ae3dc;
|
||||
--link-color-hover: #002d2b;
|
||||
--link-external-color: #ffc19f;
|
||||
--link-unresolved-color: #859492;
|
||||
|
||||
/* ── Tags ──────────────────────────────────────────────── */
|
||||
--tag-color: #002d2b;
|
||||
--tag-background: #15c7c0;
|
||||
--tag-border-color: #4ae3dc;
|
||||
--tag-color-hover: #003735;
|
||||
--tag-background-hover: #4ae3dc;
|
||||
|
||||
/* ── Checkboxes ────────────────────────────────────────── */
|
||||
--checkbox-color: #4ae3dc;
|
||||
--checkbox-color-hover: #15c7c0;
|
||||
--checkbox-border-color: #859492;
|
||||
--checkbox-marker-color: #003735;
|
||||
|
||||
/* ── Code Blocks ───────────────────────────────────────── */
|
||||
--code-background: #161d1c;
|
||||
--code-normal: #dde4e2;
|
||||
--code-comment: #859492;
|
||||
--code-function: #4ae3dc;
|
||||
--code-important: #ffb4ab;
|
||||
--code-keyword: #9dd0cc;
|
||||
--code-operator: #ffc19f;
|
||||
--code-property: #bbcac8;
|
||||
--code-punctuation: #3c4948;
|
||||
--code-string: #ffc19f;
|
||||
--code-tag: #ffb4ab;
|
||||
--code-value: #9dd0cc;
|
||||
|
||||
/* ── Scrollbar ─────────────────────────────────────────── */
|
||||
--scrollbar-thumb-bg: rgba(var(--mat-on-surface-rgb), 0.12);
|
||||
--scrollbar-active-thumb-bg: rgba(var(--mat-on-surface-rgb), 0.25);
|
||||
--scrollbar-bg: transparent;
|
||||
|
||||
/* ── Inputs ────────────────────────────────────────────── */
|
||||
--input-shadow: none;
|
||||
--input-shadow-hover: 0 0 0 2px #859492;
|
||||
|
||||
/* ── Graph View ────────────────────────────────────────── */
|
||||
--graph-node: #4ae3dc;
|
||||
--graph-node-unresolved: #859492;
|
||||
--graph-node-focused: #002d2b;
|
||||
--graph-node-tag: #9dd0cc;
|
||||
--graph-node-attachment: #ffc19f;
|
||||
--graph-line: #3c4948;
|
||||
--graph-background: #0e1514;
|
||||
|
||||
}
|
||||
|
||||
/* ── Active line highlight ─────────────────────────────────── */
|
||||
.cm-active {
|
||||
background-color: rgba(var(--mat-on-surface-rgb), 0.03) !important;
|
||||
}
|
||||
Reference in New Issue
Block a user