chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Night Owlish Light 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 Owlish Light
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Light
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Night Owlish Light"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xffffff),
    fg: Color::from_hex(0x585b5b),
    cursor: Some(Color::from_hex(0x585b5b)),
    selection: Some(Color::from_hex(0xcbcdcd)),
    line_highlight: Some(Color::from_hex(0xe5e6e6)),
    gutter: Some(Color::from_hex(0xb1b4b4)),
    statusbar_bg: Some(Color::from_hex(0xe5e6e6)),
    statusbar_fg: Some(Color::from_hex(0x717575)),
    comment: Some(Color::from_hex(0xb1b4b4)),
    keyword: Some(Color::from_hex(0x403f53)),
    string: Some(Color::from_hex(0x2aa298)),
    function: Some(Color::from_hex(0x4876d6)),
    variable: Some(Color::from_hex(0xd3423e)),
    r#type: Some(Color::from_hex(0xdac801)),
    constant: Some(Color::from_hex(0xdaaa01)),
    operator: Some(Color::from_hex(0x585b5b)),
    tag: Some(Color::from_hex(0xd3423e)),
    error: Some(Color::from_hex(0xd3423e)),
    warning: Some(Color::from_hex(0xdac801)),
    info: Some(Color::from_hex(0x4876d6)),
    success: Some(Color::from_hex(0x2aa298)),
    red: Some(Color::from_hex(0xf76e6e)),
    orange: Some(Color::from_hex(0xdaaa01)),
    yellow: Some(Color::from_hex(0xdac26b)),
    green: Some(Color::from_hex(0x49d0c5)),
    cyan: Some(Color::from_hex(0x08916a)),
    blue: Some(Color::from_hex(0x00c990)),
    purple: Some(Color::from_hex(0x5ca7e4)),
    magenta: Some(Color::from_hex(0x697098)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0xffffff),
        base01: Color::from_hex(0xe5e6e6),
        base02: Color::from_hex(0xcbcdcd),
        base03: Color::from_hex(0xb1b4b4),
        base04: Color::from_hex(0x717575),
        base05: Color::from_hex(0x585b5b),
        base06: Color::from_hex(0x3f4141),
        base07: Color::from_hex(0x011627),
        base08: Color::from_hex(0xd3423e),
        base09: Color::from_hex(0xdaaa01),
        base0a: Color::from_hex(0xdac801),
        base0b: Color::from_hex(0x2aa298),
        base0c: Color::from_hex(0x08916a),
        base0d: Color::from_hex(0x4876d6),
        base0e: Color::from_hex(0x403f53),
        base0f: Color::from_hex(0x69211f),
    },
    base10: Color::from_hex(0x515656),
    base11: Color::from_hex(0x282b2b),
    base12: Color::from_hex(0xf76e6e),
    base13: Color::from_hex(0xdac26b),
    base14: Color::from_hex(0x49d0c5),
    base15: Color::from_hex(0x00c990),
    base16: Color::from_hex(0x5ca7e4),
    base17: Color::from_hex(0x697098),
};