chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Purple Haze color theme.
//!
//! Auto-generated by `cargo xtask generate emacs` — do not edit.

use crate::{Color, Contrast, Theme, Variant};
use alloc::borrow::Cow;

/// Purple Haze
///
/// Variant: Dark
/// Contrast: High
/// Source: emacs (emacs-themes-site)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Purple Haze"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x120f14),
    fg: Color::from_hex(0xffffff),
    cursor: Some(Color::from_hex(0xd96e26)),
    selection: Some(Color::from_hex(0x1f102f)),
    line_highlight: None,
    gutter: Some(Color::from_hex(0x403047)),
    statusbar_bg: Some(Color::from_hex(0x2b283d)),
    statusbar_fg: Some(Color::from_hex(0x8c86e4)),
    comment: Some(Color::from_hex(0x505f89)),
    keyword: Some(Color::from_hex(0xaa8da7)),
    string: Some(Color::from_hex(0xa0adee)),
    function: Some(Color::from_hex(0x8083be)),
    variable: Some(Color::from_hex(0x8e8eb8)),
    r#type: Some(Color::from_hex(0x5f5e8a)),
    constant: Some(Color::from_hex(0x9a99e7)),
    operator: None,
    tag: None,
    error: Some(Color::from_hex(0xcc3333)),
    warning: Some(Color::from_hex(0xd96e26)),
    info: None,
    success: None,
    red: Some(Color::from_hex(0xcc3333)),
    orange: None,
    yellow: Some(Color::from_hex(0xd96e26)),
    green: Some(Color::from_hex(0xa0adee)),
    cyan: Some(Color::from_hex(0x9a99e7)),
    blue: Some(Color::from_hex(0x8083be)),
    purple: Some(Color::from_hex(0xaa8da7)),
    magenta: Some(Color::from_hex(0x8e8eb8)),
};