/* shell/variables.css — what the Variables panel changes. It sets data attributes on <html>; the rules below override
   tokens. The accents are vivid for buttons and marks (--dba-accent), with a deeper shade of the same hue for text and
   links (--dba-accent-text), so words stay readable. Blue is the site's own colour; green is the logo's (#2eb66e).
   Every label-on-button and text pair was checked at 4.5:1 or better in both themes. */

:root[data-accent="green"] {
	--wp--preset--color--accent: #2eb66e;
	--wp--preset--color--accent-ink: #05220f;
	--wp--preset--color--accent-soft: #e4f7ed;
	--dba-accent-text: #12784a;
}

:root[data-accent="violet"] {
	--wp--preset--color--accent: #7c3aed;
	--wp--preset--color--accent-ink: #ffffff;
	--wp--preset--color--accent-soft: #f1eafe;
	--dba-accent-text: #6d28d9;
}

:root[data-accent="pink"] {
	--wp--preset--color--accent: #ec4899;
	--wp--preset--color--accent-ink: #2a0414;
	--wp--preset--color--accent-soft: #fde8f2;
	--dba-accent-text: #be1865;
}

:root[data-accent="orange"] {
	--wp--preset--color--accent: #ff7a1a;
	--wp--preset--color--accent-ink: #2a1000;
	--wp--preset--color--accent-soft: #fff0e2;
	--dba-accent-text: #b04800;
}

:root[data-theme="dark"][data-accent="green"] {
	--wp--preset--color--accent: #34c97a;
	--wp--preset--color--accent-ink: #05220f;
	--wp--preset--color--accent-soft: #12291d;
	--dba-accent-text: #5fdc9b;
}

:root[data-theme="dark"][data-accent="violet"] {
	--wp--preset--color--accent: #a78bfa;
	--wp--preset--color--accent-ink: #150a2e;
	--wp--preset--color--accent-soft: #241c3d;
	--dba-accent-text: #bda8ff;
}

:root[data-theme="dark"][data-accent="pink"] {
	--wp--preset--color--accent: #f472b6;
	--wp--preset--color--accent-ink: #2a0414;
	--wp--preset--color--accent-soft: #391a2b;
	--dba-accent-text: #ff9ccd;
}

:root[data-theme="dark"][data-accent="orange"] {
	--wp--preset--color--accent: #ff8f3d;
	--wp--preset--color--accent-ink: #2a1000;
	--wp--preset--color--accent-soft: #36210f;
	--dba-accent-text: #ffae72;
}

/* Heading size and spacing are multipliers on the rhythm tokens (00-tokens.css) */
:root[data-scale="compact"] {
	--dba-h-k: 0.86;
}

:root[data-scale="large"] {
	--dba-h-k: 1.14;
}

:root[data-density="compact"] {
	--dba-sp-k: 0.6;
}

:root[data-density="roomy"] {
	--dba-sp-k: 1.3;
}
