/*
 * DataSpires brand palette for the SDK docs.
 *
 * Values are the website's own OKLCH tokens (app/globals.css) so the docs
 * match the site. The pale gold reads well on the black dark theme; on the
 * white light theme it is replaced with a deeper gold so links stay legible.
 */

:root {
  --ds-gold:      oklch(87.05% 0.026 103.52); /* site --primary (dark mode)    */
  --ds-cream:     oklch(94% 0.03 103);        /* site --foreground (dark mode) */
  --ds-olive:     oklch(33.45% 0.043 103.22); /* site --secondary             */
  --ds-ink:       oklch(20.5% 0 0);           /* site --primary (light mode)   */
  --ds-black:     oklch(0% 0 0);              /* site --background (dark mode)  */
  --ds-gold-deep: oklch(52% 0.12 96);         /* darkened gold for links on white */
}

/* Light mode (scheme "default"): white page, near-black header, deep-gold links. */
[data-md-color-scheme="default"] {
  --md-primary-fg-color:        var(--ds-ink);
  --md-primary-fg-color--light: oklch(30% 0 0);
  --md-primary-fg-color--dark:  var(--ds-black);

  --md-accent-fg-color:         var(--ds-gold-deep);
  --md-typeset-a-color:         var(--ds-gold-deep);
}

/* Dark mode (scheme "slate"): black page, warm surfaces, pale-gold links. */
[data-md-color-scheme="slate"] {
  --md-hue: 103;                       /* warm, gold-leaning dark surfaces */

  --md-default-bg-color:        var(--ds-black);
  --md-primary-fg-color:        var(--ds-black);
  --md-primary-fg-color--light: var(--ds-olive);
  --md-primary-fg-color--dark:  var(--ds-black);

  --md-accent-fg-color:         var(--ds-gold);
  --md-typeset-a-color:         var(--ds-gold);
}
