/* Match the dark-theme text color to the pure white (#FFFFFF) of the logo. */
body[data-theme="dark"] {
  --color-foreground-primary: #ffffff;
  --color-sidebar-caption-text: #ffffff;
}

@media (prefers-color-scheme: dark) {
  body:not([data-theme="light"]) {
    --color-foreground-primary: #ffffff;
    --color-sidebar-caption-text: #ffffff;
  }
}

/* Light mode: match the logo's black text (#000000), no muted gray.
   Mirror furo's own light/dark selectors so "auto" mode follows the
   system preference (an unscoped body:not([data-theme=dark]) rule would
   also match auto+system-dark and wrongly override the white above). */
body[data-theme="light"] {
  --color-sidebar-caption-text: #000000;
}

@media (prefers-color-scheme: light) {
  body:not([data-theme="dark"]) {
    --color-sidebar-caption-text: #000000;
  }
}
