chromata 1.0.0

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

/// Operator Mono Dark
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Operator Mono Dark"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x191919),
    fg: Color::from_hex(0xc0c4c0),
    cursor: Some(Color::from_hex(0xc0c4c0)),
    selection: Some(Color::from_hex(0x9a9a99)),
    line_highlight: Some(Color::from_hex(0x5a5a5a)),
    gutter: Some(Color::from_hex(0xa6a8a6)),
    statusbar_bg: Some(Color::from_hex(0x5a5a5a)),
    statusbar_fg: Some(Color::from_hex(0xb3b6b3)),
    comment: Some(Color::from_hex(0xa6a8a6)),
    keyword: Some(Color::from_hex(0xb86cb4)),
    string: Some(Color::from_hex(0x4d7b3a)),
    function: Some(Color::from_hex(0x4387cf)),
    variable: Some(Color::from_hex(0xca372d)),
    r#type: Some(Color::from_hex(0x89d3f6)),
    constant: Some(Color::from_hex(0xd4d697)),
    operator: Some(Color::from_hex(0xc0c4c0)),
    tag: Some(Color::from_hex(0xca372d)),
    error: Some(Color::from_hex(0xca372d)),
    warning: Some(Color::from_hex(0x89d3f6)),
    info: Some(Color::from_hex(0x4387cf)),
    success: Some(Color::from_hex(0x4d7b3a)),
    red: Some(Color::from_hex(0xc37d62)),
    orange: Some(Color::from_hex(0xd4d697)),
    yellow: Some(Color::from_hex(0xfdfdc5)),
    green: Some(Color::from_hex(0x83d0a2)),
    cyan: Some(Color::from_hex(0x72d4c6)),
    blue: Some(Color::from_hex(0x82e9da)),
    purple: Some(Color::from_hex(0x89d3f6)),
    magenta: Some(Color::from_hex(0xfe2c79)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x191919),
        base01: Color::from_hex(0x5a5a5a),
        base02: Color::from_hex(0x9a9a99),
        base03: Color::from_hex(0xa6a8a6),
        base04: Color::from_hex(0xb3b6b3),
        base05: Color::from_hex(0xc0c4c0),
        base06: Color::from_hex(0xcdd3cd),
        base07: Color::from_hex(0xfdfdf6),
        base08: Color::from_hex(0xca372d),
        base09: Color::from_hex(0xd4d697),
        base0a: Color::from_hex(0x89d3f6),
        base0b: Color::from_hex(0x4d7b3a),
        base0c: Color::from_hex(0x72d4c6),
        base0d: Color::from_hex(0x4387cf),
        base0e: Color::from_hex(0xb86cb4),
        base0f: Color::from_hex(0x651b16),
    },
    base10: Color::from_hex(0x666666),
    base11: Color::from_hex(0x333333),
    base12: Color::from_hex(0xc37d62),
    base13: Color::from_hex(0xfdfdc5),
    base14: Color::from_hex(0x83d0a2),
    base15: Color::from_hex(0x82e9da),
    base16: Color::from_hex(0x89d3f6),
    base17: Color::from_hex(0xfe2c79),
};