chromata 1.0.0

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

/// Mission Brogue
///
/// Author: Thomas Leon Highbaugh
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Mission Brogue"),
    author: Cow::Borrowed("Thomas Leon Highbaugh"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x283139),
    fg: Color::from_hex(0x93a5b4),
    cursor: Some(Color::from_hex(0x93a5b4)),
    selection: Some(Color::from_hex(0x4d606f)),
    line_highlight: Some(Color::from_hex(0x3b4954)),
    gutter: Some(Color::from_hex(0x60778a)),
    statusbar_bg: Some(Color::from_hex(0x3b4954)),
    statusbar_fg: Some(Color::from_hex(0x788ea1)),
    comment: Some(Color::from_hex(0x60778a)),
    keyword: Some(Color::from_hex(0xccb7db)),
    string: Some(Color::from_hex(0x8cd4b0)),
    function: Some(Color::from_hex(0xa2c5fd)),
    variable: Some(Color::from_hex(0xefa9a9)),
    r#type: Some(Color::from_hex(0xe0b88a)),
    constant: Some(Color::from_hex(0xf2db78)),
    operator: Some(Color::from_hex(0x93a5b4)),
    tag: Some(Color::from_hex(0xefa9a9)),
    error: Some(Color::from_hex(0xefa9a9)),
    warning: Some(Color::from_hex(0xe0b88a)),
    info: Some(Color::from_hex(0xa2c5fd)),
    success: Some(Color::from_hex(0x8cd4b0)),
    red: Some(Color::from_hex(0xf6bfbf)),
    orange: Some(Color::from_hex(0xf2db78)),
    yellow: Some(Color::from_hex(0xfff0b2)),
    green: Some(Color::from_hex(0xb5e090)),
    cyan: Some(Color::from_hex(0x93dfec)),
    blue: Some(Color::from_hex(0xb2f0fd)),
    purple: Some(Color::from_hex(0xc3d9fd)),
    magenta: Some(Color::from_hex(0xe3c3e6)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x283139),
        base01: Color::from_hex(0x3b4954),
        base02: Color::from_hex(0x4d606f),
        base03: Color::from_hex(0x60778a),
        base04: Color::from_hex(0x788ea1),
        base05: Color::from_hex(0x93a5b4),
        base06: Color::from_hex(0xabb9c4),
        base07: Color::from_hex(0xe7ebee),
        base08: Color::from_hex(0xefa9a9),
        base09: Color::from_hex(0xf2db78),
        base0a: Color::from_hex(0xe0b88a),
        base0b: Color::from_hex(0x8cd4b0),
        base0c: Color::from_hex(0x93dfec),
        base0d: Color::from_hex(0xa2c5fd),
        base0e: Color::from_hex(0xccb7db),
        base0f: Color::from_hex(0x8e9ecb),
    },
    base10: Color::from_hex(0x3e3e3b),
    base11: Color::from_hex(0x79797a),
    base12: Color::from_hex(0xf6bfbf),
    base13: Color::from_hex(0xfff0b2),
    base14: Color::from_hex(0xb5e090),
    base15: Color::from_hex(0xb2f0fd),
    base16: Color::from_hex(0xc3d9fd),
    base17: Color::from_hex(0xe3c3e6),
};