/*
 * Dark mode: text in the main colour where a page sets no dark colour of its own
 * (Unfold's page numbers, some links). Weights 600 and 700 carry white text on
 * buttons and cannot reach WCAG AA on the dark grey as well; 500 and 400 are
 * checked for that (apps/platform/backoffice/branding.py, CHECKED_PAIRS, L-16).
 */
:where(.dark) .text-primary-600:not([class*="dark:text-"]) {
    color: var(--color-primary-500);
}

:where(.dark) .text-primary-700:not([class*="dark:text-"]) {
    color: var(--color-primary-400);
}
