/* Horus variant overrides.
   theme.palette in models/horus.yml anchors the named Material palette
   (indigo) so data-md-color-primary/accent="indigo" get set on <body>; this
   file overrides the actual color values those attributes drive, to the
   Horus theme color (#008987) rather than stock Material indigo.

   Material scopes --md-primary-fg-color/--md-accent-fg-color to
   body[data-md-color-primary=...]/[data-md-color-accent=...], not
   :root/html, so a plain :root rule silently loses to Material's own rule
   at equal specificity - match (or exceed) that selector instead. */

body[data-md-color-primary="indigo"] {
  --md-primary-fg-color: #008987;
  --md-primary-fg-color--light: #2e9e9d;
  --md-primary-fg-color--dark: #00706f;
}

body[data-md-color-accent="indigo"] {
  --md-accent-fg-color: #008987;
  --md-accent-fg-color--transparent: #0089871a;
}

/* Body text links (.md-typeset a) use --md-typeset-a-color, which falls
   back to --md-primary-fg-color in light mode (so it's already covered
   above) but Material hardcodes a lighter indigo substitute in dark mode
   for readability - #008987 is dark enough to need the same treatment. */
body[data-md-color-scheme="slate"][data-md-color-primary="indigo"] {
  --md-typeset-a-color: #33a19f;
}
