chromata 1.0.0

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

/// Space Gray Eighties Dull
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Space Gray Eighties Dull"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x212121),
    fg: Color::from_hex(0x9a9fa6),
    cursor: Some(Color::from_hex(0x9a9fa6)),
    selection: Some(Color::from_hex(0x555555)),
    line_highlight: Some(Color::from_hex(0x15171c)),
    gutter: Some(Color::from_hex(0x6c6d70)),
    statusbar_bg: Some(Color::from_hex(0x15171c)),
    statusbar_fg: Some(Color::from_hex(0x83868b)),
    comment: Some(Color::from_hex(0x6c6d70)),
    keyword: Some(Color::from_hex(0xa5779e)),
    string: Some(Color::from_hex(0x91b377)),
    function: Some(Color::from_hex(0x7b8fa4)),
    variable: Some(Color::from_hex(0xb14956)),
    r#type: Some(Color::from_hex(0x5485c0)),
    constant: Some(Color::from_hex(0xc6725a)),
    operator: Some(Color::from_hex(0x9a9fa6)),
    tag: Some(Color::from_hex(0xb14956)),
    error: Some(Color::from_hex(0xb14956)),
    warning: Some(Color::from_hex(0x5485c0)),
    info: Some(Color::from_hex(0x7b8fa4)),
    success: Some(Color::from_hex(0x91b377)),
    red: Some(Color::from_hex(0xec5f67)),
    orange: Some(Color::from_hex(0xc6725a)),
    yellow: Some(Color::from_hex(0xfdc253)),
    green: Some(Color::from_hex(0x88e985)),
    cyan: Some(Color::from_hex(0x7fcccb)),
    blue: Some(Color::from_hex(0x58c2c0)),
    purple: Some(Color::from_hex(0x5485c0)),
    magenta: Some(Color::from_hex(0xbf83c0)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x212121),
        base01: Color::from_hex(0x15171c),
        base02: Color::from_hex(0x555555),
        base03: Color::from_hex(0x6c6d70),
        base04: Color::from_hex(0x83868b),
        base05: Color::from_hex(0x9a9fa6),
        base06: Color::from_hex(0xb2b8c2),
        base07: Color::from_hex(0xffffff),
        base08: Color::from_hex(0xb14956),
        base09: Color::from_hex(0xc6725a),
        base0a: Color::from_hex(0x5485c0),
        base0b: Color::from_hex(0x91b377),
        base0c: Color::from_hex(0x7fcccb),
        base0d: Color::from_hex(0x7b8fa4),
        base0e: Color::from_hex(0xa5779e),
        base0f: Color::from_hex(0x58242b),
    },
    base10: Color::from_hex(0x383838),
    base11: Color::from_hex(0x1c1c1c),
    base12: Color::from_hex(0xec5f67),
    base13: Color::from_hex(0xfdc253),
    base14: Color::from_hex(0x88e985),
    base15: Color::from_hex(0x58c2c0),
    base16: Color::from_hex(0x5485c0),
    base17: Color::from_hex(0xbf83c0),
};