/*
 * 墨 (ink) theme corrections for django-unfold dark mode.
 * UNFOLD['COLORS'] (settings.py) tunes the primary scale for light mode:
 * primary-600 is near-black ink for buttons and links. Unfold reuses the same
 * variables in dark mode, where near-black would vanish on the dark background,
 * so the accents are lightened here.
 */
html.dark {
  --color-primary-400: oklch(92% 0 0);
  --color-primary-500: oklch(85% 0 0);   /* links / active text on dark bg */
  --color-primary-600: oklch(42% 0 0);   /* buttons (white text) */
}

/* Bulk-action bar uses dark:bg-primary-500 with white text; keep it dark. */
html.dark #changelist-actions > div {
  background-color: var(--color-primary-600);
}
