chromata 1.0.0

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

/// Later This Evening
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Later This Evening"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x212121),
    fg: Color::from_hex(0xa6a6a6),
    cursor: Some(Color::from_hex(0xa6a6a6)),
    selection: Some(Color::from_hex(0x4f4f4f)),
    line_highlight: Some(Color::from_hex(0x313131)),
    gutter: Some(Color::from_hex(0x6f6f6f)),
    statusbar_bg: Some(Color::from_hex(0x313131)),
    statusbar_fg: Some(Color::from_hex(0x8c8c8c)),
    comment: Some(Color::from_hex(0x6f6f6f)),
    keyword: Some(Color::from_hex(0xbf92d5)),
    string: Some(Color::from_hex(0xafba66)),
    function: Some(Color::from_hex(0xa0b9d5)),
    variable: Some(Color::from_hex(0xd35a5f)),
    r#type: Some(Color::from_hex(0xe5d289)),
    constant: Some(Color::from_hex(0xe5af89)),
    operator: Some(Color::from_hex(0xa6a6a6)),
    tag: Some(Color::from_hex(0xd35a5f)),
    error: Some(Color::from_hex(0xd35a5f)),
    warning: Some(Color::from_hex(0xe5d289)),
    info: Some(Color::from_hex(0xa0b9d5)),
    success: Some(Color::from_hex(0xafba66)),
    red: Some(Color::from_hex(0xd3222e)),
    orange: Some(Color::from_hex(0xe5af89)),
    yellow: Some(Color::from_hex(0xe4bd39)),
    green: Some(Color::from_hex(0xaabb39)),
    cyan: Some(Color::from_hex(0x91beb6)),
    blue: Some(Color::from_hex(0x5fbfad)),
    purple: Some(Color::from_hex(0x6599d5)),
    magenta: Some(Color::from_hex(0xaa52d5)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x212121),
        base01: Color::from_hex(0x313131),
        base02: Color::from_hex(0x4f4f4f),
        base03: Color::from_hex(0x6f6f6f),
        base04: Color::from_hex(0x8c8c8c),
        base05: Color::from_hex(0xa6a6a6),
        base06: Color::from_hex(0xbfbfbf),
        base07: Color::from_hex(0xd9d9d9),
        base08: Color::from_hex(0xd35a5f),
        base09: Color::from_hex(0xe5af89),
        base0a: Color::from_hex(0xe5d289),
        base0b: Color::from_hex(0xafba66),
        base0c: Color::from_hex(0x91beb6),
        base0d: Color::from_hex(0xa0b9d5),
        base0e: Color::from_hex(0xbf92d5),
        base0f: Color::from_hex(0x692d2f),
    },
    base10: Color::from_hex(0x2d2f2f),
    base11: Color::from_hex(0x161717),
    base12: Color::from_hex(0xd3222e),
    base13: Color::from_hex(0xe4bd39),
    base14: Color::from_hex(0xaabb39),
    base15: Color::from_hex(0x5fbfad),
    base16: Color::from_hex(0x6599d5),
    base17: Color::from_hex(0xaa52d5),
};