12.4 KiB · text History 14f2f6e
// @generated by tools/regen_palettes.py — do not edit by hand.
//
// neiam themes are read from the dms stylesheet (daisyUI, OKLCH);
// the Casabeza entries were recovered from the cbzauth APK.

use super::{NamedColor, Theme};

// rustfmt would explode each NamedColor across four lines, which makes a
// colour table far harder to scan — and CI enforces `cargo fmt --check`,
// so without this a regenerate would turn the build red.
#[rustfmt::skip]
pub const THEMES: &[Theme] = &[
    Theme {
        name: "Casabeza",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xAA, 0xD4, 0x00] },
            NamedColor { role: "base-100", rgb: [0x08, 0x1E, 0x20] },
            NamedColor { role: "base-200", rgb: [0x0D, 0x2A, 0x2C] },
            NamedColor { role: "base-content", rgb: [0xEE, 0xF9, 0xFA] },
            NamedColor { role: "neutral", rgb: [0x7A, 0x96, 0x98] },
            NamedColor { role: "primary", rgb: [0x00, 0xC9, 0xD4] },
        ],
    },
    Theme {
        name: "Casabeza Light",
        light: true,
        colors: &[
            NamedColor { role: "accent", rgb: [0xC8, 0xF0, 0x17] },
            NamedColor { role: "base-100", rgb: [0xF6, 0xFB, 0xFB] },
            NamedColor { role: "base-200", rgb: [0xE9, 0xF5, 0xF6] },
            NamedColor { role: "base-content", rgb: [0x1A, 0x1A, 0x1A] },
            NamedColor { role: "neutral", rgb: [0x3D, 0x5F, 0x61] },
            NamedColor { role: "primary", rgb: [0x00, 0x5A, 0x62] },
        ],
    },
    Theme {
        name: "light",
        light: true,
        colors: &[
            NamedColor { role: "accent", rgb: [0x00, 0x00, 0x00] },
            NamedColor { role: "accent-content", rgb: [0xFF, 0xFF, 0xFF] },
            NamedColor { role: "base-100", rgb: [0xFE, 0xF6, 0xF6] },
            NamedColor { role: "base-200", rgb: [0xFB, 0xEE, 0xED] },
            NamedColor { role: "base-300", rgb: [0xF3, 0xDF, 0xDD] },
            NamedColor { role: "base-content", rgb: [0x36, 0x17, 0x16] },
            NamedColor { role: "error", rgb: [0xEA, 0x00, 0x3E] },
            NamedColor { role: "info", rgb: [0x2A, 0x7E, 0xFF] },
            NamedColor { role: "neutral", rgb: [0x51, 0x51, 0x5C] },
            NamedColor { role: "neutral-content", rgb: [0xF8, 0xF8, 0xF8] },
            NamedColor { role: "primary", rgb: [0xB6, 0x79, 0x7A] },
            NamedColor { role: "primary-content", rgb: [0xFF, 0xF6, 0xF6] },
            NamedColor { role: "secondary", rgb: [0x92, 0x63, 0x64] },
            NamedColor { role: "secondary-content", rgb: [0xFF, 0xF6, 0xF6] },
            NamedColor { role: "success", rgb: [0x00, 0xBA, 0xA6] },
            NamedColor { role: "warning", rgb: [0xDF, 0x6F, 0x00] },
        ],
    },
    Theme {
        name: "dark",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xD1, 0x66, 0x71] },
            NamedColor { role: "accent-content", rgb: [0x06, 0x02, 0x03] },
            NamedColor { role: "base-100", rgb: [0x29, 0x2F, 0x37] },
            NamedColor { role: "base-200", rgb: [0x1E, 0x23, 0x29] },
            NamedColor { role: "base-300", rgb: [0x13, 0x17, 0x1C] },
            NamedColor { role: "base-content", rgb: [0xEC, 0xF9, 0xFF] },
            NamedColor { role: "error", rgb: [0xEA, 0x00, 0x3E] },
            NamedColor { role: "info", rgb: [0x00, 0x82, 0xCE] },
            NamedColor { role: "neutral", rgb: [0x31, 0x41, 0x57] },
            NamedColor { role: "neutral-content", rgb: [0xF7, 0xF9, 0xFA] },
            NamedColor { role: "primary", rgb: [0xB6, 0x79, 0x7A] },
            NamedColor { role: "primary-content", rgb: [0x05, 0x03, 0x03] },
            NamedColor { role: "secondary", rgb: [0xA9, 0x64, 0x65] },
            NamedColor { role: "secondary-content", rgb: [0xFF, 0xF6, 0xF6] },
            NamedColor { role: "success", rgb: [0x00, 0x96, 0x89] },
            NamedColor { role: "warning", rgb: [0xDF, 0x6F, 0x00] },
        ],
    },
    Theme {
        name: "her",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x66, 0x1E, 0x1E] },
            NamedColor { role: "base-200", rgb: [0x57, 0x0E, 0x12] },
            NamedColor { role: "base-300", rgb: [0x47, 0x00, 0x05] },
            NamedColor { role: "base-content", rgb: [0xFF, 0xEC, 0xE8] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x7F, 0x35, 0x35] },
            NamedColor { role: "neutral-content", rgb: [0xFF, 0xF6, 0xF5] },
            NamedColor { role: "primary", rgb: [0xB6, 0x79, 0x7A] },
            NamedColor { role: "primary-content", rgb: [0x05, 0x03, 0x03] },
            NamedColor { role: "secondary", rgb: [0xD5, 0xAB, 0xAC] },
            NamedColor { role: "secondary-content", rgb: [0x05, 0x03, 0x03] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "afterdark",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x20, 0x1E, 0x66] },
            NamedColor { role: "base-200", rgb: [0x16, 0x0E, 0x57] },
            NamedColor { role: "base-300", rgb: [0x0E, 0x00, 0x48] },
            NamedColor { role: "base-content", rgb: [0xEF, 0xF6, 0xFF] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x39, 0x36, 0x80] },
            NamedColor { role: "neutral-content", rgb: [0xF7, 0xF8, 0xFF] },
            NamedColor { role: "primary", rgb: [0x7B, 0x78, 0xB4] },
            NamedColor { role: "primary-content", rgb: [0x03, 0x03, 0x06] },
            NamedColor { role: "secondary", rgb: [0xAD, 0xAC, 0xD6] },
            NamedColor { role: "secondary-content", rgb: [0x03, 0x03, 0x06] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "forest",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x06, 0x2F, 0x17] },
            NamedColor { role: "base-200", rgb: [0x00, 0x22, 0x0B] },
            NamedColor { role: "base-300", rgb: [0x00, 0x16, 0x03] },
            NamedColor { role: "base-content", rgb: [0xE0, 0xFF, 0xE9] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x18, 0x66, 0x34] },
            NamedColor { role: "neutral-content", rgb: [0xF4, 0xFA, 0xF5] },
            NamedColor { role: "primary", rgb: [0x48, 0xDE, 0x81] },
            NamedColor { role: "primary-content", rgb: [0x02, 0x04, 0x02] },
            NamedColor { role: "secondary", rgb: [0x87, 0xEE, 0xAB] },
            NamedColor { role: "secondary-content", rgb: [0x02, 0x04, 0x02] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "sky",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x07, 0x2E, 0x48] },
            NamedColor { role: "base-200", rgb: [0x00, 0x21, 0x3A] },
            NamedColor { role: "base-300", rgb: [0x00, 0x15, 0x2D] },
            NamedColor { role: "base-content", rgb: [0xDC, 0xFD, 0xFF] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x0B, 0x4A, 0x6E] },
            NamedColor { role: "neutral-content", rgb: [0xF3, 0xF9, 0xFF] },
            NamedColor { role: "primary", rgb: [0x37, 0xBC, 0xF7] },
            NamedColor { role: "primary-content", rgb: [0x02, 0x04, 0x05] },
            NamedColor { role: "secondary", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "secondary-content", rgb: [0x02, 0x04, 0x05] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "clays",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x45, 0x1A, 0x03] },
            NamedColor { role: "base-200", rgb: [0x37, 0x0D, 0x00] },
            NamedColor { role: "base-300", rgb: [0x29, 0x02, 0x00] },
            NamedColor { role: "base-content", rgb: [0xFF, 0xEF, 0xDD] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x91, 0x3F, 0x0D] },
            NamedColor { role: "neutral-content", rgb: [0xFF, 0xF7, 0xF3] },
            NamedColor { role: "primary", rgb: [0xDA, 0x78, 0x0E] },
            NamedColor { role: "primary-content", rgb: [0x05, 0x03, 0x02] },
            NamedColor { role: "secondary", rgb: [0xF6, 0x9E, 0x0B] },
            NamedColor { role: "secondary-content", rgb: [0x05, 0x03, 0x02] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "stones",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x29, 0x25, 0x24] },
            NamedColor { role: "base-200", rgb: [0x1D, 0x1A, 0x19] },
            NamedColor { role: "base-300", rgb: [0x12, 0x0F, 0x0E] },
            NamedColor { role: "base-content", rgb: [0xFF, 0xED, 0xE3] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x56, 0x52, 0x4D] },
            NamedColor { role: "neutral-content", rgb: [0xFD, 0xF8, 0xF1] },
            NamedColor { role: "primary", rgb: [0x6B, 0x72, 0x7F] },
            NamedColor { role: "primary-content", rgb: [0x02, 0x03, 0x06] },
            NamedColor { role: "secondary", rgb: [0x9B, 0xA2, 0xAE] },
            NamedColor { role: "secondary-content", rgb: [0x02, 0x03, 0x06] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
    Theme {
        name: "blueprint",
        light: false,
        colors: &[
            NamedColor { role: "accent", rgb: [0xFD, 0xF2, 0xC6] },
            NamedColor { role: "accent-content", rgb: [0x04, 0x03, 0x01] },
            NamedColor { role: "base-100", rgb: [0x00, 0x26, 0x61] },
            NamedColor { role: "base-200", rgb: [0x00, 0x1C, 0x51] },
            NamedColor { role: "base-300", rgb: [0x00, 0x12, 0x41] },
            NamedColor { role: "base-content", rgb: [0xC2, 0xE7, 0xFE] },
            NamedColor { role: "error", rgb: [0xFD, 0xA6, 0xA5] },
            NamedColor { role: "info", rgb: [0x7E, 0xD4, 0xFC] },
            NamedColor { role: "neutral", rgb: [0x00, 0x44, 0x9A] },
            NamedColor { role: "neutral-content", rgb: [0xC2, 0xE7, 0xFE] },
            NamedColor { role: "primary", rgb: [0x0E, 0x9D, 0xFF] },
            NamedColor { role: "primary-content", rgb: [0x00, 0x0C, 0x1F] },
            NamedColor { role: "secondary", rgb: [0x86, 0xCD, 0xFF] },
            NamedColor { role: "secondary-content", rgb: [0x00, 0x0D, 0x1E] },
            NamedColor { role: "success", rgb: [0xA6, 0xF1, 0xCE] },
            NamedColor { role: "warning", rgb: [0xFF, 0xF2, 0x8C] },
        ],
    },
];