/* Soothe — tinge Obsidian with soothing colors. Verified against Obsidian 1.13.7;
   no !important, since theme.css loads after app.css.

   Three layers, top to bottom:
     1. Palettes  — every colour that changes with the theme. One block per theme,
                    both blocks list the exact same keys.
     2. Mapping   — palette tokens wired onto Obsidian's variables. Written once for
                    both themes, and kept at .theme-* specificity: that is what lets
                    it beat app.css.
     3. Constants — values that are identical in light and dark.

   Retinting the theme means editing layer 1 only; --soothe-* tokens are private to
   this file and never read by Obsidian directly. */




.theme-dark {
	
	--soothe-link: #59A2C5;
	--soothe-hover: #B3A14B;

	
	--soothe-bg-primary: #2F3136;
	--soothe-bg-primary-alt: #36393F;
	--soothe-bg-secondary: #202225;
	--soothe-bg-secondary-alt: #0C1018D1;

	
	--soothe-text-normal: #BBC0C5;
	--soothe-text-muted: #B2AD97;
	--soothe-text-faint: #A09A7F;

	
	--soothe-accent: #FFB067BA;

	
	--soothe-bold: #CAD7D7;
	--soothe-italic: #BED2D2;

	
	--soothe-h1: #C688B1;
	--soothe-h2: #BC946C;
	--soothe-h3: #AD9B47;
	--soothe-h4: #91A086;
	--soothe-h5: #59A2C5;
	--soothe-h6: #939BD6;

	
	--soothe-highlight: #FFFF0020;

	
	--soothe-quote: #7B6CCA;
}

.theme-light {
	
	--soothe-link: #2C647F;
	--soothe-hover: #695E2C;

	
	--soothe-bg-primary: #E0E2E5;
	--soothe-bg-primary-alt: #D6D9DC;
	--soothe-bg-secondary: #F0F1F2;
	--soothe-bg-secondary-alt: #FFFFFF;

	
	--soothe-text-normal: #2F3136;
	--soothe-text-muted: #484947;
	--soothe-text-faint: #5E5F5D;

	
	--soothe-accent: #9A4500;

	
	--soothe-bold: #1E2023;
	--soothe-italic: #252728;

	
	--soothe-h1: #97487C;
	--soothe-h2: #805C3A;
	--soothe-h3: #6F642E;
	--soothe-h4: #5A6751;
	--soothe-h5: #2F6A86;
	--soothe-h6: #4D5ABC;

	
	--soothe-highlight: #FFFF0033;

	
	--soothe-quote: #4D3CA6;
}




.theme-dark,
.theme-light {
	
	--background-primary: var(--soothe-bg-primary);
	--background-primary-alt: var(--soothe-bg-primary-alt);
	--background-secondary: var(--soothe-bg-secondary);
	--background-secondary-alt: var(--soothe-bg-secondary-alt);

	
	--text-normal: var(--soothe-text-normal);
	--text-muted: var(--soothe-text-muted);
	--text-faint: var(--soothe-text-faint);

	
	--text-accent: var(--soothe-accent);
	--text-accent-hover: var(--soothe-hover);

	
	--bold-color: var(--soothe-bold);
	--italic-color: var(--soothe-italic);

	
	--h1-color: var(--soothe-h1);
	--h2-color: var(--soothe-h2);
	--h3-color: var(--soothe-h3);
	--h4-color: var(--soothe-h4);
	--h5-color: var(--soothe-h5);
	--h6-color: var(--soothe-h6);

	
	--text-highlight-bg: var(--soothe-highlight);

	
	--blockquote-border-color: var(--soothe-quote);
}




body {
	
	--accent-h: 181;
	--accent-s: 7.3%;
	--accent-l: 36%;

	
	--background-modifier-border: #92A1A17A;

	
	--code-tag: var(--text-accent);

	
	--link-color: var(--soothe-link);
	--link-color-hover: var(--soothe-hover);
	--link-external-color: var(--soothe-link);
	--link-external-color-hover: var(--soothe-hover);
	--link-decoration: none;
	--link-decoration-hover: none;
	--link-external-decoration: none;
	--link-external-decoration-hover: none;

	
	--soothe-band-1: color-mix(in srgb, var(--mono-100) 5%, transparent);
	--soothe-band-2: color-mix(in srgb, var(--mono-100) 10%, transparent);
	--table-row-alt-background: var(--soothe-band-1);
	--table-header-background: var(--soothe-band-2);
	--table-row-background-hover: var(--soothe-band-1);
	--table-row-alt-background-hover: var(--soothe-band-2);
	--table-header-background-hover: var(--soothe-band-2);
}
