/*
 * Jones Plastic brand: blue (#15569c) as the primary color, green (#007f55) as the accent.
 * Applied when <html data-brand="jones">; Rev-A-Shelf (red) is the default.
 *
 * The --ras-red* variables are the site's "brand primary" colors despite the name; this file
 * only redefines them. The [data-brand] selectors outrank the plain :root rules in app.css
 * and app-dark.css, so these win whichever theme stylesheet is active.
 */
:root[data-brand="jones"] {
    --ras-red: #15569c;
    --ras-red-dark: #0f4377;
    --ras-red-darker: #0a3159;
    --ras-red-light: #dbe7f4;
    --ras-focus-ring: rgba(21, 86, 156, 0.25);
    --jones-green: #007f55;
}

:root[data-brand="jones"][data-theme="dark"] {
    --ras-red: #2a6fbd;
    --ras-red-dark: #15569c;
    --ras-red-darker: #0f4377;
    --ras-red-darkest: #0a3159;
    --ras-red-light: rgba(42, 111, 189, 0.18);
    --ras-focus-ring: rgba(42, 111, 189, 0.35);
    --ras-accent-text: #6fa8e6;
    --ras-accent-text-soft: #93bff0;
    --jones-green: #1a9a6c;
}

[data-brand="jones"] .top-header {
    border-bottom-color: var(--jones-green);
}

/* Bootstrap's button focus shadow takes an "r, g, b" triplet, so it can't use the variables above. */
[data-brand="jones"] .btn-primary,
[data-brand="jones"] .btn-outline-primary {
    --bs-btn-focus-shadow-rgb: 21, 86, 156;
}
