chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Banana Blueberry 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;

/// Banana Blueberry
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: High
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Banana Blueberry"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x191322),
    fg: Color::from_hex(0xc6c9cd),
    cursor: Some(Color::from_hex(0xc6c9cd)),
    selection: Some(Color::from_hex(0x485161)),
    line_highlight: Some(Color::from_hex(0x16141e)),
    gutter: Some(Color::from_hex(0x727985)),
    statusbar_bg: Some(Color::from_hex(0x16141e)),
    statusbar_fg: Some(Color::from_hex(0x9ca1a9)),
    comment: Some(Color::from_hex(0x727985)),
    keyword: Some(Color::from_hex(0xdc3969)),
    string: Some(Color::from_hex(0x00bc9b)),
    function: Some(Color::from_hex(0x22e8df)),
    variable: Some(Color::from_hex(0xff6a7e)),
    r#type: Some(Color::from_hex(0x91fff3)),
    constant: Some(Color::from_hex(0xe5c62f)),
    operator: Some(Color::from_hex(0xc6c9cd)),
    tag: Some(Color::from_hex(0xff6a7e)),
    error: Some(Color::from_hex(0xff6a7e)),
    warning: Some(Color::from_hex(0x91fff3)),
    info: Some(Color::from_hex(0x22e8df)),
    success: Some(Color::from_hex(0x00bc9b)),
    red: Some(Color::from_hex(0xfd9ea1)),
    orange: Some(Color::from_hex(0xe5c62f)),
    yellow: Some(Color::from_hex(0xf9e46a)),
    green: Some(Color::from_hex(0x97c378)),
    cyan: Some(Color::from_hex(0x55b6c1)),
    blue: Some(Color::from_hex(0xbcf2fe)),
    purple: Some(Color::from_hex(0x91fff3)),
    magenta: Some(Color::from_hex(0xda70d5)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x191322),
        base01: Color::from_hex(0x16141e),
        base02: Color::from_hex(0x485161),
        base03: Color::from_hex(0x727985),
        base04: Color::from_hex(0x9ca1a9),
        base05: Color::from_hex(0xc6c9cd),
        base06: Color::from_hex(0xf1f1f1),
        base07: Color::from_hex(0xfeffff),
        base08: Color::from_hex(0xff6a7e),
        base09: Color::from_hex(0xe5c62f),
        base0a: Color::from_hex(0x91fff3),
        base0b: Color::from_hex(0x00bc9b),
        base0c: Color::from_hex(0x55b6c1),
        base0d: Color::from_hex(0x22e8df),
        base0e: Color::from_hex(0xdc3969),
        base0f: Color::from_hex(0x7f353f),
    },
    base10: Color::from_hex(0x303640),
    base11: Color::from_hex(0x181b20),
    base12: Color::from_hex(0xfd9ea1),
    base13: Color::from_hex(0xf9e46a),
    base14: Color::from_hex(0x97c378),
    base15: Color::from_hex(0xbcf2fe),
    base16: Color::from_hex(0x91fff3),
    base17: Color::from_hex(0xda70d5),
};