/*
 * pcm-brand — the FoxySystems accent, in one place.
 *
 * The app was built with a purple accent (#a855f7) hardcoded in ~124 places
 * across forty-odd views. The client's brand is orange (Q10, answered 19 Aug;
 * logo closed by the owner 24 Aug — fox fire + PMpro wordmark + "by
 * FOXYSYSTEMS.GE"), so those are now tokens and the accent moves by editing
 * this file.
 *
 * Deliberately NOT swept: the indigo #6366f1. That one is not brand, it is
 * the functional "action / selected / today" colour — the gate-review button,
 * the picked day in the calendar, Print. Turning it orange too would leave the
 * interface with a single colour and no way to tell "this is PMpro" from
 * "this is the thing you can press".
 *
 * Contrast, measured against #ffffff and the dark ground #1a1d21. Note this
 * is an improvement, not a compromise: the purple it replaces was 3.96:1 as
 * text on white, which fails WCAG AA. Every token below passes on the ground
 * it is meant for.
 *
 *   --pcm-accent        text, icons, borders   #c2410c 5.18:1 light · #fb923c 7.47:1 dark
 *   --pcm-accent-fill   solid, carries white   #c2410c white-on-it 5.18:1, both themes
 *   --pcm-accent-bright the literal brand orange — decoration only, nothing
 *                       sits on top of it (bars, rules, the logo's company)
 *   --pcm-accent-rgb    the triplet, for rgba() tints that need their own alpha
 */

:root {
    --pcm-accent:        #c2410c;
    --pcm-accent-fill:   #c2410c;
    --pcm-accent-bright: #f47b20;
    --pcm-accent-rgb:    244, 123, 32;
}

[data-bs-theme="dark"] {
    /* Lighter on a dark ground for text; the fill stays dark so white still
       reads on it whichever theme the viewer is in. */
    --pcm-accent:        #fb923c;
    --pcm-accent-fill:   #c2410c;
    --pcm-accent-bright: #fcb040;
    --pcm-accent-rgb:    252, 176, 64;
}
