/* Set the colors for the light theme */
[data-md-color-scheme="default"] {
    --md-primary-fg-color: #EA7470;
    --md-accent-fg-color: #EA7470;
}

/* @media screen and (max-width: 76.1875em) */
[data-md-color-scheme="default"] .md-nav--primary .md-nav__title[for=__drawer] {
    background-color: #EA7470;
}

[data-md-color-scheme="default"] .md-source {
    background-color: #EA7470;
}

[data-md-color-scheme="default"] .md-header {
    background-color: #EA7470;
}

[data-md-color-scheme="default"] .md-tabs {
    background-color: #EA7470;
}


/* Set the colors for the dark theme */
[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #EAA915;
    --md-accent-fg-color: #EEBA44;
}

[data-md-color-scheme="slate"] .md-header {
    background-color: #344FA1;
}

[data-md-color-scheme="slate"] .md-tabs {
    background-color: #344FA1;
}

/* @media screen and (max-width: 76.1875em) */
[data-md-color-scheme="slate"] .md-nav--primary .md-nav__title[for=__drawer] {
    background-color: #344FA1;
}

[data-md-color-scheme="slate"] .md-source {
    background-color: #344FA1;
}

/* Fix line numbers in code blocks */
.linenos {
    background-color: var(--md-default-bg-color--light);
    margin-right: 0.5rem;
}

/* Override md-tab-set colors. */
.md-typeset .tabbed-labels {
    --md-accent-fg-color: var(--md-primary-fg-color);
}

/* Modify Sphinx Immaterial python-apigen linkable parameter coloring. */
.sig-param a.reference span .pre {
    color: var(--md-code-hl-generic-color);
}

.sig-param a.reference span .pre:hover {
    color: var(--md-accent-fg-color);
}

/* Override announcement banner colors */
.md-banner {
    background-color: var(--md-typeset-mark-color);
    color: var(--md-default-fg-color);
}
