chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Blue Berry Pie color theme (base24).
//!
//! Auto-generated by `cargo xtask generate base24` — do not edit.

use crate::{Base16Palette, Base24Palette, Color, Contrast, Theme, Variant};
use alloc::borrow::Cow;

/// Blue Berry Pie
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Blue Berry Pie"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1c0b28),
    fg: Color::from_hex(0xbbb2ad),
    cursor: Some(Color::from_hex(0xbbb2ad)),
    selection: Some(Color::from_hex(0x1f1637)),
    line_highlight: Some(Color::from_hex(0x0a4b61)),
    gutter: Some(Color::from_hex(0x534a5e)),
    statusbar_bg: Some(Color::from_hex(0x0a4b61)),
    statusbar_fg: Some(Color::from_hex(0x877e86)),
    comment: Some(Color::from_hex(0x534a5e)),
    keyword: Some(Color::from_hex(0x9d53a7)),
    string: Some(Color::from_hex(0x5bb0b2)),
    function: Some(Color::from_hex(0x90a5bc)),
    variable: Some(Color::from_hex(0x99236d)),
    r#type: Some(Color::from_hex(0x38163d)),
    constant: Some(Color::from_hex(0xe9b8a7)),
    operator: Some(Color::from_hex(0xbbb2ad)),
    tag: Some(Color::from_hex(0x99236d)),
    error: Some(Color::from_hex(0x99236d)),
    warning: Some(Color::from_hex(0x38163d)),
    info: Some(Color::from_hex(0x90a5bc)),
    success: Some(Color::from_hex(0x5bb0b2)),
    red: Some(Color::from_hex(0xc77171)),
    orange: Some(Color::from_hex(0xe9b8a7)),
    yellow: Some(Color::from_hex(0x793188)),
    green: Some(Color::from_hex(0x0a6b7e)),
    cyan: Some(Color::from_hex(0x7e82cc)),
    blue: Some(Color::from_hex(0x5d5f71)),
    purple: Some(Color::from_hex(0x38163d)),
    magenta: Some(Color::from_hex(0xbc93b6)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x1c0b28),
        base01: Color::from_hex(0x0a4b61),
        base02: Color::from_hex(0x1f1637),
        base03: Color::from_hex(0x534a5e),
        base04: Color::from_hex(0x877e86),
        base05: Color::from_hex(0xbbb2ad),
        base06: Color::from_hex(0xf0e7d5),
        base07: Color::from_hex(0x0a6b7e),
        base08: Color::from_hex(0x99236d),
        base09: Color::from_hex(0xe9b8a7),
        base0a: Color::from_hex(0x38163d),
        base0b: Color::from_hex(0x5bb0b2),
        base0c: Color::from_hex(0x7e82cc),
        base0d: Color::from_hex(0x90a5bc),
        base0e: Color::from_hex(0x9d53a7),
        base0f: Color::from_hex(0x4c1136),
    },
    base10: Color::from_hex(0x140e24),
    base11: Color::from_hex(0x0a0712),
    base12: Color::from_hex(0xc77171),
    base13: Color::from_hex(0x793188),
    base14: Color::from_hex(0x0a6b7e),
    base15: Color::from_hex(0x5d5f71),
    base16: Color::from_hex(0x38163d),
    base17: Color::from_hex(0xbc93b6),
};