/* Custom CSS for the Memoir mkdocs site (Material for MkDocs theme).
 *
 * Theme-aware logo swap: the default `logo:` in mkdocs.yml is the dark-bg
 * variant (`_static/memoir.png`), which reads well on the slate/dark palette
 * but shows a hard square on the default/light palette. On light mode we swap
 * to `_static/memoir-light.png` (transparent background, dark glyph).
 *
 * Material exposes the active palette via `data-md-color-scheme` on the body:
 *   default = light, slate = dark.
 *
 * The CSS lives at `_static/custom.css`; image URLs are relative to it, so
 * `memoir-light.png` resolves to `_static/memoir-light.png` in the built site.
 */

[data-md-color-scheme="default"] .md-header__button.md-logo img,
[data-md-color-scheme="default"] .md-nav__title .md-logo img {
    content: url("memoir-light.png");
}
