chromata 1.0.0

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

/// Kibble
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Kibble"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x0e100a),
    fg: Color::from_hex(0xc0b3c0),
    cursor: Some(Color::from_hex(0xc0b3c0)),
    selection: Some(Color::from_hex(0x5a5a5a)),
    line_highlight: Some(Color::from_hex(0x4d4d4d)),
    gutter: Some(Color::from_hex(0x7c777c)),
    statusbar_bg: Some(Color::from_hex(0x4d4d4d)),
    statusbar_fg: Some(Color::from_hex(0x9e959e)),
    comment: Some(Color::from_hex(0x7c777c)),
    keyword: Some(Color::from_hex(0x8400ff)),
    string: Some(Color::from_hex(0x29cf13)),
    function: Some(Color::from_hex(0x3449d1)),
    variable: Some(Color::from_hex(0xc70031)),
    r#type: Some(Color::from_hex(0x97a4f7)),
    constant: Some(Color::from_hex(0xd8e30e)),
    operator: Some(Color::from_hex(0xc0b3c0)),
    tag: Some(Color::from_hex(0xc70031)),
    error: Some(Color::from_hex(0xc70031)),
    warning: Some(Color::from_hex(0x97a4f7)),
    info: Some(Color::from_hex(0x3449d1)),
    success: Some(Color::from_hex(0x29cf13)),
    red: Some(Color::from_hex(0xf01578)),
    orange: Some(Color::from_hex(0xd8e30e)),
    yellow: Some(Color::from_hex(0xf3f79e)),
    green: Some(Color::from_hex(0x6ce05c)),
    cyan: Some(Color::from_hex(0x0798ab)),
    blue: Some(Color::from_hex(0x68f2e0)),
    purple: Some(Color::from_hex(0x97a4f7)),
    magenta: Some(Color::from_hex(0xc495f0)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x0e100a),
        base01: Color::from_hex(0x4d4d4d),
        base02: Color::from_hex(0x5a5a5a),
        base03: Color::from_hex(0x7c777c),
        base04: Color::from_hex(0x9e959e),
        base05: Color::from_hex(0xc0b3c0),
        base06: Color::from_hex(0xe2d1e3),
        base07: Color::from_hex(0xffffff),
        base08: Color::from_hex(0xc70031),
        base09: Color::from_hex(0xd8e30e),
        base0a: Color::from_hex(0x97a4f7),
        base0b: Color::from_hex(0x29cf13),
        base0c: Color::from_hex(0x0798ab),
        base0d: Color::from_hex(0x3449d1),
        base0e: Color::from_hex(0x8400ff),
        base0f: Color::from_hex(0x630018),
    },
    base10: Color::from_hex(0x3c3c3c),
    base11: Color::from_hex(0x1e1e1e),
    base12: Color::from_hex(0xf01578),
    base13: Color::from_hex(0xf3f79e),
    base14: Color::from_hex(0x6ce05c),
    base15: Color::from_hex(0x68f2e0),
    base16: Color::from_hex(0x97a4f7),
    base17: Color::from_hex(0xc495f0),
};