/* the Sleep Analyzer mat's greys, in light and dark mode alike */
:root,
html[data-theme="light"],
html[data-theme="dark"] {
    --primary: #858387;
    --secondary: #5f5d61;
    --accent: #fff;
    --header-color: #fff;
    --breadcrumbs-bg: #858387;  /* the lighter mat grey, under the darker header */
    --breadcrumbs-fg: #fff;
    --breadcrumbs-link-fg: #fff;
    --default-button-bg: #2b2a2c;  /* the primary button, such as Save: a charcoal a step darker than the mat */
    --default-button-hover-bg: var(--secondary);
    --button-hover-bg: var(--primary);  /* the other buttons' hover, in place of Django's blue */
}

/* in dark mode the primary button is the lighter mat grey, since charcoal would vanish on the dark page */
@media (prefers-color-scheme: dark) {
    :root {
        --default-button-bg: var(--primary);
    }
}

html[data-theme="dark"] {
    --default-button-bg: var(--primary);
}
