chromata 1.0.0

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

/// Night Lion V2
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Night Lion V2"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x171717),
    fg: Color::from_hex(0xa1a1a1),
    cursor: Some(Color::from_hex(0xa1a1a1)),
    selection: Some(Color::from_hex(0x555555)),
    line_highlight: Some(Color::from_hex(0x4c4c4c)),
    gutter: Some(Color::from_hex(0x6e6e6e)),
    statusbar_bg: Some(Color::from_hex(0x4c4c4c)),
    statusbar_fg: Some(Color::from_hex(0x888888)),
    comment: Some(Color::from_hex(0x6e6e6e)),
    keyword: Some(Color::from_hex(0xce6fda)),
    string: Some(Color::from_hex(0x03f622)),
    function: Some(Color::from_hex(0x63d0f0)),
    variable: Some(Color::from_hex(0xbb0000)),
    r#type: Some(Color::from_hex(0x62cae7)),
    constant: Some(Color::from_hex(0xf2f067)),
    operator: Some(Color::from_hex(0xa1a1a1)),
    tag: Some(Color::from_hex(0xbb0000)),
    error: Some(Color::from_hex(0xbb0000)),
    warning: Some(Color::from_hex(0x62cae7)),
    info: Some(Color::from_hex(0x63d0f0)),
    success: Some(Color::from_hex(0x03f622)),
    red: Some(Color::from_hex(0xff5555)),
    orange: Some(Color::from_hex(0xf2f067)),
    yellow: Some(Color::from_hex(0xffff55)),
    green: Some(Color::from_hex(0x7df61c)),
    cyan: Some(Color::from_hex(0x00d9df)),
    blue: Some(Color::from_hex(0x00ccd7)),
    purple: Some(Color::from_hex(0x62cae7)),
    magenta: Some(Color::from_hex(0xff9af5)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x171717),
        base01: Color::from_hex(0x4c4c4c),
        base02: Color::from_hex(0x555555),
        base03: Color::from_hex(0x6e6e6e),
        base04: Color::from_hex(0x888888),
        base05: Color::from_hex(0xa1a1a1),
        base06: Color::from_hex(0xbbbbbb),
        base07: Color::from_hex(0xffffff),
        base08: Color::from_hex(0xbb0000),
        base09: Color::from_hex(0xf2f067),
        base0a: Color::from_hex(0x62cae7),
        base0b: Color::from_hex(0x03f622),
        base0c: Color::from_hex(0x00d9df),
        base0d: Color::from_hex(0x63d0f0),
        base0e: Color::from_hex(0xce6fda),
        base0f: Color::from_hex(0x5d0000),
    },
    base10: Color::from_hex(0x383838),
    base11: Color::from_hex(0x1c1c1c),
    base12: Color::from_hex(0xff5555),
    base13: Color::from_hex(0xffff55),
    base14: Color::from_hex(0x7df61c),
    base15: Color::from_hex(0x00ccd7),
    base16: Color::from_hex(0x62cae7),
    base17: Color::from_hex(0xff9af5),
};