/* pluxeo: the violet of the project's diagrams, and room for them. */
:root {
  --md-primary-fg-color: #4b2e6f;
  --md-primary-fg-color--light: #6a4a92;
  --md-primary-fg-color--dark: #36204f;
  --md-accent-fg-color: #7a4fb0;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #4b2e6f;
  --md-accent-fg-color: #b79be0;
}

/* Diagrams carry a white page of their own; frame them in dark mode. */
.md-typeset img[src$=".svg"] {
  display: block;
  margin: 1.5em auto;
  max-width: 100%;
  border-radius: 6px;
}

[data-md-color-scheme="slate"] .md-typeset img[src$=".svg"] {
  box-shadow: 0 0 0 1px var(--md-default-fg-color--lightest);
}
