/*
 * Brand colours the panel has no palette entry for.
 *
 * The Temple navy is the primary palette, set in the panel provider. The gold
 * that partners it is only ever used as an accent (the dashboard card icons,
 * the active sidebar item), so it is a single colour here rather than a full
 * Filament palette with shades nothing would use.
 */
:root {
    --temple-gold: oklch(0.8 0.12 85);

    /*
     * The navy the topbar and sidebar are painted in. In dark mode it drops to
     * the palette's darkest navy, so the frame sits just above the page rather
     * than standing out around it as a band of brighter blue.
     */
    --temple-frame: var(--primary-600);
}

:root.dark {
    --temple-frame: var(--primary-900);
}

/*
 * Dark mode greys, leaning towards the navy.
 *
 * The topbar and sidebar keep the Temple navy in dark mode. Filament's dark
 * greys are neutral, so the navy frame sat around a near black page and
 * charcoal cards, and the two read as different themes. These keep Filament's
 * lightness steps but take the navy's hue with a little more colour in the
 * darker shades, so the page and its cards sit in the same family as the
 * frame. Light mode keeps Filament's own greys.
 *
 * Filament writes its palette onto `:root` in the page head, so the selector
 * is one step heavier than that rather than relying on order.
 */
:root.dark {
    --gray-50: oklch(0.985 0.002 250);
    --gray-100: oklch(0.967 0.004 250);
    --gray-200: oklch(0.92 0.008 250);
    --gray-300: oklch(0.871 0.012 250);
    --gray-400: oklch(0.705 0.02 250);
    --gray-500: oklch(0.552 0.024 250);
    --gray-600: oklch(0.442 0.027 250);
    --gray-700: oklch(0.37 0.028 250);
    --gray-800: oklch(0.274 0.028 250);
    --gray-900: oklch(0.21 0.026 250);
    --gray-950: oklch(0.15 0.022 250);
}
