chromata 1.0.0

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

/// Pnevma
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Pnevma"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1c1c1c),
    fg: Color::from_hex(0xaeaead),
    cursor: Some(Color::from_hex(0xaeaead)),
    selection: Some(Color::from_hex(0x4a4845)),
    line_highlight: Some(Color::from_hex(0x2f2e2d)),
    gutter: Some(Color::from_hex(0x6b6a67)),
    statusbar_bg: Some(Color::from_hex(0x2f2e2d)),
    statusbar_fg: Some(Color::from_hex(0x8d8c8a)),
    comment: Some(Color::from_hex(0x6b6a67)),
    keyword: Some(Color::from_hex(0xc79ec4)),
    string: Some(Color::from_hex(0x90a57d)),
    function: Some(Color::from_hex(0x7fa5bd)),
    variable: Some(Color::from_hex(0xa36666)),
    r#type: Some(Color::from_hex(0xa1bdce)),
    constant: Some(Color::from_hex(0xd7af87)),
    operator: Some(Color::from_hex(0xaeaead)),
    tag: Some(Color::from_hex(0xa36666)),
    error: Some(Color::from_hex(0xa36666)),
    warning: Some(Color::from_hex(0xa1bdce)),
    info: Some(Color::from_hex(0x7fa5bd)),
    success: Some(Color::from_hex(0x90a57d)),
    red: Some(Color::from_hex(0xd78787)),
    orange: Some(Color::from_hex(0xd7af87)),
    yellow: Some(Color::from_hex(0xe4c9af)),
    green: Some(Color::from_hex(0xafbea2)),
    cyan: Some(Color::from_hex(0x8adbb4)),
    blue: Some(Color::from_hex(0xb1e7dd)),
    purple: Some(Color::from_hex(0xa1bdce)),
    magenta: Some(Color::from_hex(0xd7beda)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x1c1c1c),
        base01: Color::from_hex(0x2f2e2d),
        base02: Color::from_hex(0x4a4845),
        base03: Color::from_hex(0x6b6a67),
        base04: Color::from_hex(0x8d8c8a),
        base05: Color::from_hex(0xaeaead),
        base06: Color::from_hex(0xd0d0d0),
        base07: Color::from_hex(0xefefef),
        base08: Color::from_hex(0xa36666),
        base09: Color::from_hex(0xd7af87),
        base0a: Color::from_hex(0xa1bdce),
        base0b: Color::from_hex(0x90a57d),
        base0c: Color::from_hex(0x8adbb4),
        base0d: Color::from_hex(0x7fa5bd),
        base0e: Color::from_hex(0xc79ec4),
        base0f: Color::from_hex(0x513333),
    },
    base10: Color::from_hex(0x31302e),
    base11: Color::from_hex(0x181817),
    base12: Color::from_hex(0xd78787),
    base13: Color::from_hex(0xe4c9af),
    base14: Color::from_hex(0xafbea2),
    base15: Color::from_hex(0xb1e7dd),
    base16: Color::from_hex(0xa1bdce),
    base17: Color::from_hex(0xd7beda),
};