chromata 1.0.0

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

/// Arthur
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Arthur"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1c1c1c),
    fg: Color::from_hex(0xa19083),
    cursor: Some(Color::from_hex(0xa19083)),
    selection: Some(Color::from_hex(0x554444)),
    line_highlight: Some(Color::from_hex(0x3d352a)),
    gutter: Some(Color::from_hex(0x6e5d59)),
    statusbar_bg: Some(Color::from_hex(0x3d352a)),
    statusbar_fg: Some(Color::from_hex(0x88776e)),
    comment: Some(Color::from_hex(0x6e5d59)),
    keyword: Some(Color::from_hex(0xdeb887)),
    string: Some(Color::from_hex(0x86af80)),
    function: Some(Color::from_hex(0x6495ed)),
    variable: Some(Color::from_hex(0xcd5c5c)),
    r#type: Some(Color::from_hex(0x87ceeb)),
    constant: Some(Color::from_hex(0xe8ae5b)),
    operator: Some(Color::from_hex(0xa19083)),
    tag: Some(Color::from_hex(0xcd5c5c)),
    error: Some(Color::from_hex(0xcd5c5c)),
    warning: Some(Color::from_hex(0x87ceeb)),
    info: Some(Color::from_hex(0x6495ed)),
    success: Some(Color::from_hex(0x86af80)),
    red: Some(Color::from_hex(0xcc5533)),
    orange: Some(Color::from_hex(0xe8ae5b)),
    yellow: Some(Color::from_hex(0xffa75d)),
    green: Some(Color::from_hex(0x88aa22)),
    cyan: Some(Color::from_hex(0xb0c4de)),
    blue: Some(Color::from_hex(0xb0c4de)),
    purple: Some(Color::from_hex(0x87ceeb)),
    magenta: Some(Color::from_hex(0x996600)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x1c1c1c),
        base01: Color::from_hex(0x3d352a),
        base02: Color::from_hex(0x554444),
        base03: Color::from_hex(0x6e5d59),
        base04: Color::from_hex(0x88776e),
        base05: Color::from_hex(0xa19083),
        base06: Color::from_hex(0xbbaa99),
        base07: Color::from_hex(0xddccbb),
        base08: Color::from_hex(0xcd5c5c),
        base09: Color::from_hex(0xe8ae5b),
        base0a: Color::from_hex(0x87ceeb),
        base0b: Color::from_hex(0x86af80),
        base0c: Color::from_hex(0xb0c4de),
        base0d: Color::from_hex(0x6495ed),
        base0e: Color::from_hex(0xdeb887),
        base0f: Color::from_hex(0x662e2e),
    },
    base10: Color::from_hex(0x382d2d),
    base11: Color::from_hex(0x1c1616),
    base12: Color::from_hex(0xcc5533),
    base13: Color::from_hex(0xffa75d),
    base14: Color::from_hex(0x88aa22),
    base15: Color::from_hex(0xb0c4de),
    base16: Color::from_hex(0x87ceeb),
    base17: Color::from_hex(0x996600),
};