chromata 1.0.0

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

/// Embarcadero
///
/// Author: Thomas Leon Highbaugh
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Embarcadero"),
    author: Cow::Borrowed("Thomas Leon Highbaugh"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x252a2f),
    fg: Color::from_hex(0xbcbdc0),
    cursor: Some(Color::from_hex(0xbcbdc0)),
    selection: Some(Color::from_hex(0x616568)),
    line_highlight: Some(Color::from_hex(0x43474c)),
    gutter: Some(Color::from_hex(0x7f8285)),
    statusbar_bg: Some(Color::from_hex(0x43474c)),
    statusbar_fg: Some(Color::from_hex(0x9ea0a2)),
    comment: Some(Color::from_hex(0x7f8285)),
    keyword: Some(Color::from_hex(0xa070d0)),
    string: Some(Color::from_hex(0x20c290)),
    function: Some(Color::from_hex(0x4080d0)),
    variable: Some(Color::from_hex(0xed5d86)),
    r#type: Some(Color::from_hex(0xeb824d)),
    constant: Some(Color::from_hex(0xffcb3d)),
    operator: Some(Color::from_hex(0xbcbdc0)),
    tag: Some(Color::from_hex(0xed5d86)),
    error: Some(Color::from_hex(0xed5d86)),
    warning: Some(Color::from_hex(0xeb824d)),
    info: Some(Color::from_hex(0x4080d0)),
    success: Some(Color::from_hex(0x20c290)),
    red: Some(Color::from_hex(0xf57d9a)),
    orange: Some(Color::from_hex(0xffcb3d)),
    yellow: Some(Color::from_hex(0xffe089)),
    green: Some(Color::from_hex(0xa0d0a0)),
    cyan: Some(Color::from_hex(0x02efef)),
    blue: Some(Color::from_hex(0x40c0c0)),
    purple: Some(Color::from_hex(0x80b0f0)),
    magenta: Some(Color::from_hex(0xc090f0)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x252a2f),
        base01: Color::from_hex(0x43474c),
        base02: Color::from_hex(0x616568),
        base03: Color::from_hex(0x7f8285),
        base04: Color::from_hex(0x9ea0a2),
        base05: Color::from_hex(0xbcbdc0),
        base06: Color::from_hex(0xdadbdb),
        base07: Color::from_hex(0xf8f8f8),
        base08: Color::from_hex(0xed5d86),
        base09: Color::from_hex(0xffcb3d),
        base0a: Color::from_hex(0xeb824d),
        base0b: Color::from_hex(0x20c290),
        base0c: Color::from_hex(0x02efef),
        base0d: Color::from_hex(0x4080d0),
        base0e: Color::from_hex(0xa070d0),
        base0f: Color::from_hex(0x50509f),
    },
    base10: Color::from_hex(0x373742),
    base11: Color::from_hex(0x717188),
    base12: Color::from_hex(0xf57d9a),
    base13: Color::from_hex(0xffe089),
    base14: Color::from_hex(0xa0d0a0),
    base15: Color::from_hex(0x40c0c0),
    base16: Color::from_hex(0x80b0f0),
    base17: Color::from_hex(0xc090f0),
};