chromata 1.0.0

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

/// Argonaut
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: High
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Argonaut"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x0d0f18),
    fg: Color::from_hex(0xd0d0d0),
    cursor: Some(Color::from_hex(0xd0d0d0)),
    selection: Some(Color::from_hex(0x444444)),
    line_highlight: Some(Color::from_hex(0x222222)),
    gutter: Some(Color::from_hex(0x727272)),
    statusbar_bg: Some(Color::from_hex(0x222222)),
    statusbar_fg: Some(Color::from_hex(0xa1a1a1)),
    comment: Some(Color::from_hex(0x727272)),
    keyword: Some(Color::from_hex(0x6c43a5)),
    string: Some(Color::from_hex(0x8ce00a)),
    function: Some(Color::from_hex(0x008df8)),
    variable: Some(Color::from_hex(0xff000f)),
    r#type: Some(Color::from_hex(0x0092ff)),
    constant: Some(Color::from_hex(0xffb900)),
    operator: Some(Color::from_hex(0xd0d0d0)),
    tag: Some(Color::from_hex(0xff000f)),
    error: Some(Color::from_hex(0xff000f)),
    warning: Some(Color::from_hex(0x0092ff)),
    info: Some(Color::from_hex(0x008df8)),
    success: Some(Color::from_hex(0x8ce00a)),
    red: Some(Color::from_hex(0xff273f)),
    orange: Some(Color::from_hex(0xffb900)),
    yellow: Some(Color::from_hex(0xffd141)),
    green: Some(Color::from_hex(0xabe05a)),
    cyan: Some(Color::from_hex(0x00d7eb)),
    blue: Some(Color::from_hex(0x67ffef)),
    purple: Some(Color::from_hex(0x0092ff)),
    magenta: Some(Color::from_hex(0x9a5feb)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x0d0f18),
        base01: Color::from_hex(0x222222),
        base02: Color::from_hex(0x444444),
        base03: Color::from_hex(0x727272),
        base04: Color::from_hex(0xa1a1a1),
        base05: Color::from_hex(0xd0d0d0),
        base06: Color::from_hex(0xffffff),
        base07: Color::from_hex(0xffffff),
        base08: Color::from_hex(0xff000f),
        base09: Color::from_hex(0xffb900),
        base0a: Color::from_hex(0x0092ff),
        base0b: Color::from_hex(0x8ce00a),
        base0c: Color::from_hex(0x00d7eb),
        base0d: Color::from_hex(0x008df8),
        base0e: Color::from_hex(0x6c43a5),
        base0f: Color::from_hex(0x7f0007),
    },
    base10: Color::from_hex(0x2d2d2d),
    base11: Color::from_hex(0x161616),
    base12: Color::from_hex(0xff273f),
    base13: Color::from_hex(0xffd141),
    base14: Color::from_hex(0xabe05a),
    base15: Color::from_hex(0x67ffef),
    base16: Color::from_hex(0x0092ff),
    base17: Color::from_hex(0x9a5feb),
};