chromata 1.0.0

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

/// IC-Orange-PPL
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("IC-Orange-PPL"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x262626),
    fg: Color::from_hex(0xd9a971),
    cursor: Some(Color::from_hex(0xd9a971)),
    selection: Some(Color::from_hex(0x6a4e29)),
    line_highlight: Some(Color::from_hex(0x000000)),
    gutter: Some(Color::from_hex(0x8f6c41)),
    statusbar_bg: Some(Color::from_hex(0x000000)),
    statusbar_fg: Some(Color::from_hex(0xb48b59)),
    comment: Some(Color::from_hex(0x8f6c41)),
    keyword: Some(Color::from_hex(0xfb5d00)),
    string: Some(Color::from_hex(0xa3a900)),
    function: Some(Color::from_hex(0xbd6c00)),
    variable: Some(Color::from_hex(0xc03900)),
    r#type: Some(Color::from_hex(0xffbd54)),
    constant: Some(Color::from_hex(0xcaae00)),
    operator: Some(Color::from_hex(0xd9a971)),
    tag: Some(Color::from_hex(0xc03900)),
    error: Some(Color::from_hex(0xc03900)),
    warning: Some(Color::from_hex(0xffbd54)),
    info: Some(Color::from_hex(0xbd6c00)),
    success: Some(Color::from_hex(0xa3a900)),
    red: Some(Color::from_hex(0xff8b67)),
    orange: Some(Color::from_hex(0xcaae00)),
    yellow: Some(Color::from_hex(0xffe36e)),
    green: Some(Color::from_hex(0xf6ff3f)),
    cyan: Some(Color::from_hex(0xf79400)),
    blue: Some(Color::from_hex(0xc59752)),
    purple: Some(Color::from_hex(0xffbd54)),
    magenta: Some(Color::from_hex(0xfc874f)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x262626),
        base01: Color::from_hex(0x000000),
        base02: Color::from_hex(0x6a4e29),
        base03: Color::from_hex(0x8f6c41),
        base04: Color::from_hex(0xb48b59),
        base05: Color::from_hex(0xd9a971),
        base06: Color::from_hex(0xffc88a),
        base07: Color::from_hex(0xf9f9fe),
        base08: Color::from_hex(0xc03900),
        base09: Color::from_hex(0xcaae00),
        base0a: Color::from_hex(0xffbd54),
        base0b: Color::from_hex(0xa3a900),
        base0c: Color::from_hex(0xf79400),
        base0d: Color::from_hex(0xbd6c00),
        base0e: Color::from_hex(0xfb5d00),
        base0f: Color::from_hex(0x601c00),
    },
    base10: Color::from_hex(0x46341b),
    base11: Color::from_hex(0x231a0d),
    base12: Color::from_hex(0xff8b67),
    base13: Color::from_hex(0xffe36e),
    base14: Color::from_hex(0xf6ff3f),
    base15: Color::from_hex(0xc59752),
    base16: Color::from_hex(0xffbd54),
    base17: Color::from_hex(0xfc874f),
};