chromata 1.0.0

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

/// 0x96f
///
/// Author: Filip Janevski (https://0x96f.dev/theme)
/// Variant: Dark
/// Contrast: High
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("0x96f"),
    author: Cow::Borrowed("Filip Janevski (https://0x96f.dev/theme)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x262427),
    fg: Color::from_hex(0xfcfcfc),
    cursor: Some(Color::from_hex(0xfcfcfc)),
    selection: Some(Color::from_hex(0x514f52)),
    line_highlight: Some(Color::from_hex(0x3b393c)),
    gutter: Some(Color::from_hex(0x676567)),
    statusbar_bg: Some(Color::from_hex(0x3b393c)),
    statusbar_fg: Some(Color::from_hex(0x7c7b7d)),
    comment: Some(Color::from_hex(0x676567)),
    keyword: Some(Color::from_hex(0xa093e2)),
    string: Some(Color::from_hex(0xbcdf59)),
    function: Some(Color::from_hex(0x49cae4)),
    variable: Some(Color::from_hex(0xff7272)),
    r#type: Some(Color::from_hex(0xffca58)),
    constant: Some(Color::from_hex(0xfc9d6f)),
    operator: Some(Color::from_hex(0xfcfcfc)),
    tag: Some(Color::from_hex(0xff7272)),
    error: Some(Color::from_hex(0xff7272)),
    warning: Some(Color::from_hex(0xffca58)),
    info: Some(Color::from_hex(0x49cae4)),
    success: Some(Color::from_hex(0xbcdf59)),
    red: Some(Color::from_hex(0xff8787)),
    orange: Some(Color::from_hex(0xfc9d6f)),
    yellow: Some(Color::from_hex(0xffd271)),
    green: Some(Color::from_hex(0xc6e472)),
    cyan: Some(Color::from_hex(0xaee8f4)),
    blue: Some(Color::from_hex(0xbaebf6)),
    purple: Some(Color::from_hex(0x64d2e8)),
    magenta: Some(Color::from_hex(0xaea3e6)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x262427),
        base01: Color::from_hex(0x3b393c),
        base02: Color::from_hex(0x514f52),
        base03: Color::from_hex(0x676567),
        base04: Color::from_hex(0x7c7b7d),
        base05: Color::from_hex(0xfcfcfc),
        base06: Color::from_hex(0xeae9eb),
        base07: Color::from_hex(0xfcfcfc),
        base08: Color::from_hex(0xff7272),
        base09: Color::from_hex(0xfc9d6f),
        base0a: Color::from_hex(0xffca58),
        base0b: Color::from_hex(0xbcdf59),
        base0c: Color::from_hex(0xaee8f4),
        base0d: Color::from_hex(0x49cae4),
        base0e: Color::from_hex(0xa093e2),
        base0f: Color::from_hex(0xff8787),
    },
    base10: Color::from_hex(0x1e1d1f),
    base11: Color::from_hex(0x0f0e10),
    base12: Color::from_hex(0xff8787),
    base13: Color::from_hex(0xffd271),
    base14: Color::from_hex(0xc6e472),
    base15: Color::from_hex(0xbaebf6),
    base16: Color::from_hex(0x64d2e8),
    base17: Color::from_hex(0xaea3e6),
};