chromata 1.0.0

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

/// Pro Light
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Light
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Pro Light"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xfeffff),
    fg: Color::from_hex(0x4f4f4f),
    cursor: Some(Color::from_hex(0x4f4f4f)),
    selection: Some(Color::from_hex(0xdcdcdc)),
    line_highlight: Some(Color::from_hex(0xf1f1f1)),
    gutter: Some(Color::from_hex(0xcccccc)),
    statusbar_bg: Some(Color::from_hex(0xf1f1f1)),
    statusbar_fg: Some(Color::from_hex(0x757575)),
    comment: Some(Color::from_hex(0xcccccc)),
    keyword: Some(Color::from_hex(0xec65e7)),
    string: Some(Color::from_hex(0x50d048)),
    function: Some(Color::from_hex(0x3a75ff)),
    variable: Some(Color::from_hex(0xe4492b)),
    r#type: Some(Color::from_hex(0xc5c340)),
    constant: Some(Color::from_hex(0xc58e40)),
    operator: Some(Color::from_hex(0x4f4f4f)),
    tag: Some(Color::from_hex(0xe4492b)),
    error: Some(Color::from_hex(0xe4492b)),
    warning: Some(Color::from_hex(0xc5c340)),
    info: Some(Color::from_hex(0x3a75ff)),
    success: Some(Color::from_hex(0x50d048)),
    red: Some(Color::from_hex(0xff6640)),
    orange: Some(Color::from_hex(0xc58e40)),
    yellow: Some(Color::from_hex(0xf2f055)),
    green: Some(Color::from_hex(0x61ee56)),
    cyan: Some(Color::from_hex(0x4ed1dd)),
    blue: Some(Color::from_hex(0x60f6f8)),
    purple: Some(Color::from_hex(0x0081ff)),
    magenta: Some(Color::from_hex(0xff7dfe)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0xfeffff),
        base01: Color::from_hex(0xf1f1f1),
        base02: Color::from_hex(0xdcdcdc),
        base03: Color::from_hex(0xcccccc),
        base04: Color::from_hex(0x757575),
        base05: Color::from_hex(0x4f4f4f),
        base06: Color::from_hex(0x323232),
        base07: Color::from_hex(0x000000),
        base08: Color::from_hex(0xe4492b),
        base09: Color::from_hex(0xc58e40),
        base0a: Color::from_hex(0xc5c340),
        base0b: Color::from_hex(0x50d048),
        base0c: Color::from_hex(0x4ed1dd),
        base0d: Color::from_hex(0x3a75ff),
        base0e: Color::from_hex(0xec65e7),
        base0f: Color::from_hex(0x722415),
    },
    base10: Color::from_hex(0x6a6a6a),
    base11: Color::from_hex(0x353535),
    base12: Color::from_hex(0xff6640),
    base13: Color::from_hex(0xf2f055),
    base14: Color::from_hex(0x61ee56),
    base15: Color::from_hex(0x60f6f8),
    base16: Color::from_hex(0x0081ff),
    base17: Color::from_hex(0xff7dfe),
};