chromata 1.0.0

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

/// 3024 Day
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Light
/// Contrast: Low
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("3024 Day"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Light,
    contrast: Contrast::Low,
    bg: Color::from_hex(0xf7f7f7),
    fg: Color::from_hex(0x928f8e),
    cursor: Some(Color::from_hex(0x928f8e)),
    selection: Some(Color::from_hex(0x5c5855)),
    line_highlight: Some(Color::from_hex(0x090300)),
    gutter: Some(Color::from_hex(0x6e6a68)),
    statusbar_bg: Some(Color::from_hex(0x090300)),
    statusbar_fg: Some(Color::from_hex(0x807d7b)),
    comment: Some(Color::from_hex(0x6e6a68)),
    keyword: Some(Color::from_hex(0xa16a94)),
    string: Some(Color::from_hex(0x01a252)),
    function: Some(Color::from_hex(0x01a0e4)),
    variable: Some(Color::from_hex(0xdb2d20)),
    r#type: Some(Color::from_hex(0x807d7c)),
    constant: Some(Color::from_hex(0xfded02)),
    operator: Some(Color::from_hex(0x928f8e)),
    tag: Some(Color::from_hex(0xdb2d20)),
    error: Some(Color::from_hex(0xdb2d20)),
    warning: Some(Color::from_hex(0x807d7c)),
    info: Some(Color::from_hex(0x01a0e4)),
    success: Some(Color::from_hex(0x01a252)),
    red: Some(Color::from_hex(0xe8bbd0)),
    orange: Some(Color::from_hex(0xfded02)),
    yellow: Some(Color::from_hex(0x4a4543)),
    green: Some(Color::from_hex(0x3a3432)),
    cyan: Some(Color::from_hex(0xb5e4f4)),
    blue: Some(Color::from_hex(0xcdab53)),
    purple: Some(Color::from_hex(0x807d7c)),
    magenta: Some(Color::from_hex(0xd6d5d4)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0xf7f7f7),
        base01: Color::from_hex(0x090300),
        base02: Color::from_hex(0x5c5855),
        base03: Color::from_hex(0x6e6a68),
        base04: Color::from_hex(0x807d7b),
        base05: Color::from_hex(0x928f8e),
        base06: Color::from_hex(0xa5a2a2),
        base07: Color::from_hex(0xf7f7f7),
        base08: Color::from_hex(0xdb2d20),
        base09: Color::from_hex(0xfded02),
        base0a: Color::from_hex(0x807d7c),
        base0b: Color::from_hex(0x01a252),
        base0c: Color::from_hex(0xb5e4f4),
        base0d: Color::from_hex(0x01a0e4),
        base0e: Color::from_hex(0xa16a94),
        base0f: Color::from_hex(0x6d1610),
    },
    base10: Color::from_hex(0x3d3a38),
    base11: Color::from_hex(0x1e1d1c),
    base12: Color::from_hex(0xe8bbd0),
    base13: Color::from_hex(0x4a4543),
    base14: Color::from_hex(0x3a3432),
    base15: Color::from_hex(0xcdab53),
    base16: Color::from_hex(0x807d7c),
    base17: Color::from_hex(0xd6d5d4),
};