/* Black and white theme: strip all accent color, links, and diagrams. */

[data-md-color-scheme="default"] {
    --md-primary-fg-color: #000000;
    --md-accent-fg-color: #333333;
    --md-typeset-a-color: #000000;
    --md-typeset-a-color--active: #333333;
    --md-code-hl-color: #eeeeee;
}

[data-md-color-scheme="slate"] {
    --md-primary-fg-color: #000000;
    --md-accent-fg-color: #dddddd;
    --md-typeset-a-color: #dddddd;
    --md-typeset-a-color--active: #ffffff;
}

/* Images and the mermaid diagram render in grayscale. */
img,
.mermaid svg {
    filter: grayscale(100%);
}

/* Remove the yellow/orange focus + mark rendering. */
mark {
    background: #dddddd;
    color: #000000;
}

[data-md-color-scheme="slate"] mark {
    background: #222222;
    color: #ffffff;
}
/* Collapsible file blocks (??? example): a thin gray border, no color. */
.md-typeset .admonition.example,
.md-typeset details.example,
.md-typeset .example:focus-within {
    border-color: var(--md-default-fg-color--lightest);
    border-width: 1px;
    box-shadow: none;
}

.md-typeset .example > .admonition-title,
.md-typeset .example > summary {
    background-color: transparent;
}

.md-typeset .example > .admonition-title::before,
.md-typeset .example > summary::before {
    background-color: var(--md-default-fg-color--light);
}
