/* ==========================================================================
   Himalayan Guardian brand palette
   Material only ships named colors, so custom hex values are bound to the
   "custom" palette name via CSS custom properties.
   https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
   ========================================================================== */

[data-md-color-primary="custom"] {
  --md-primary-fg-color:        #1e374f;
  --md-primary-fg-color--light: #2d5276;
  --md-primary-fg-color--dark:  #152737;
  --md-primary-bg-color:        #ffffff;
  --md-primary-bg-color--light: #ffffffb3;
}

[data-md-color-accent="custom"] {
  --md-accent-fg-color:              #d6690a;
  --md-accent-fg-color--transparent: #d6690a1a;
  --md-accent-bg-color:              #ffffff;
  --md-accent-bg-color--light:       #ffffffb3;
}

/* --------------------------------------------------------------------------
   Dark scheme
   The brand navy is too dark to use for body links against a dark background,
   and the accent orange sits just under AA. Both are lifted here; the header
   keeps the true brand navy in both schemes.
   -------------------------------------------------------------------------- */

[data-md-color-scheme="slate"] {
  --md-typeset-a-color: #7ea7ce;
}

[data-md-color-scheme="slate"][data-md-color-accent="custom"] {
  --md-accent-fg-color:              #e8843a;
  --md-accent-fg-color--transparent: #e8843a1a;
}
