chromata 1.0.0

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

/// Pandora
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Pandora"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x131d42),
    fg: Color::from_hex(0xb8beba),
    cursor: Some(Color::from_hex(0xb8beba)),
    selection: Some(Color::from_hex(0x3e5548)),
    line_highlight: Some(Color::from_hex(0x000000)),
    gutter: Some(Color::from_hex(0x66786e)),
    statusbar_bg: Some(Color::from_hex(0x000000)),
    statusbar_fg: Some(Color::from_hex(0x8f9b94)),
    comment: Some(Color::from_hex(0x66786e)),
    keyword: Some(Color::from_hex(0x9413e5)),
    string: Some(Color::from_hex(0x74af68)),
    function: Some(Color::from_hex(0x338f86)),
    variable: Some(Color::from_hex(0xff4242)),
    r#type: Some(Color::from_hex(0x23d7d7)),
    constant: Some(Color::from_hex(0xffad29)),
    operator: Some(Color::from_hex(0xb8beba)),
    tag: Some(Color::from_hex(0xff4242)),
    error: Some(Color::from_hex(0xff4242)),
    warning: Some(Color::from_hex(0x23d7d7)),
    info: Some(Color::from_hex(0x338f86)),
    success: Some(Color::from_hex(0x74af68)),
    red: Some(Color::from_hex(0xff3242)),
    orange: Some(Color::from_hex(0xffad29)),
    yellow: Some(Color::from_hex(0xffb929)),
    green: Some(Color::from_hex(0x74cd68)),
    cyan: Some(Color::from_hex(0x23d7d7)),
    blue: Some(Color::from_hex(0x00ede1)),
    purple: Some(Color::from_hex(0x23d7d7)),
    magenta: Some(Color::from_hex(0xff37ff)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x131d42),
        base01: Color::from_hex(0x000000),
        base02: Color::from_hex(0x3e5548),
        base03: Color::from_hex(0x66786e),
        base04: Color::from_hex(0x8f9b94),
        base05: Color::from_hex(0xb8beba),
        base06: Color::from_hex(0xe1e1e1),
        base07: Color::from_hex(0xffffff),
        base08: Color::from_hex(0xff4242),
        base09: Color::from_hex(0xffad29),
        base0a: Color::from_hex(0x23d7d7),
        base0b: Color::from_hex(0x74af68),
        base0c: Color::from_hex(0x23d7d7),
        base0d: Color::from_hex(0x338f86),
        base0e: Color::from_hex(0x9413e5),
        base0f: Color::from_hex(0x7f2121),
    },
    base10: Color::from_hex(0x293830),
    base11: Color::from_hex(0x141c18),
    base12: Color::from_hex(0xff3242),
    base13: Color::from_hex(0xffb929),
    base14: Color::from_hex(0x74cd68),
    base15: Color::from_hex(0x00ede1),
    base16: Color::from_hex(0x23d7d7),
    base17: Color::from_hex(0xff37ff),
};