chromata 1.0.0

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

/// Floraverse
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Floraverse"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x0e0c15),
    fg: Color::from_hex(0xc3af9d),
    cursor: Some(Color::from_hex(0xc3af9d)),
    selection: Some(Color::from_hex(0x331e4d)),
    line_highlight: Some(Color::from_hex(0x08002e)),
    gutter: Some(Color::from_hex(0x634e67)),
    statusbar_bg: Some(Color::from_hex(0x08002e)),
    statusbar_fg: Some(Color::from_hex(0x937f82)),
    comment: Some(Color::from_hex(0x634e67)),
    keyword: Some(Color::from_hex(0xb7077e)),
    string: Some(Color::from_hex(0x5d731a)),
    function: Some(Color::from_hex(0x1d6da1)),
    variable: Some(Color::from_hex(0x64002c)),
    r#type: Some(Color::from_hex(0x40a4cf)),
    constant: Some(Color::from_hex(0xcd751c)),
    operator: Some(Color::from_hex(0xc3af9d)),
    tag: Some(Color::from_hex(0x64002c)),
    error: Some(Color::from_hex(0x64002c)),
    warning: Some(Color::from_hex(0x40a4cf)),
    info: Some(Color::from_hex(0x1d6da1)),
    success: Some(Color::from_hex(0x5d731a)),
    red: Some(Color::from_hex(0xd02063)),
    orange: Some(Color::from_hex(0xcd751c)),
    yellow: Some(Color::from_hex(0xfac357)),
    green: Some(Color::from_hex(0xb4ce59)),
    cyan: Some(Color::from_hex(0x42a38c)),
    blue: Some(Color::from_hex(0x62caa8)),
    purple: Some(Color::from_hex(0x40a4cf)),
    magenta: Some(Color::from_hex(0xf12aae)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x0e0c15),
        base01: Color::from_hex(0x08002e),
        base02: Color::from_hex(0x331e4d),
        base03: Color::from_hex(0x634e67),
        base04: Color::from_hex(0x937f82),
        base05: Color::from_hex(0xc3af9d),
        base06: Color::from_hex(0xf3e0b8),
        base07: Color::from_hex(0xfff5db),
        base08: Color::from_hex(0x64002c),
        base09: Color::from_hex(0xcd751c),
        base0a: Color::from_hex(0x40a4cf),
        base0b: Color::from_hex(0x5d731a),
        base0c: Color::from_hex(0x42a38c),
        base0d: Color::from_hex(0x1d6da1),
        base0e: Color::from_hex(0xb7077e),
        base0f: Color::from_hex(0x320016),
    },
    base10: Color::from_hex(0x221433),
    base11: Color::from_hex(0x110a19),
    base12: Color::from_hex(0xd02063),
    base13: Color::from_hex(0xfac357),
    base14: Color::from_hex(0xb4ce59),
    base15: Color::from_hex(0x62caa8),
    base16: Color::from_hex(0x40a4cf),
    base17: Color::from_hex(0xf12aae),
};