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

/* 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;
}

/* 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);
}
