chromata 1.0.0

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

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

/// Midnight
///
/// Variant: Dark
/// Contrast: High
/// Source: emacs (emacs-themes-site)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Midnight"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x000000),
    fg: Color::from_hex(0xd9d9d9),
    cursor: None,
    selection: Some(Color::from_hex(0x262626)),
    line_highlight: None,
    gutter: None,
    statusbar_bg: None,
    statusbar_fg: None,
    comment: Some(Color::from_hex(0x999999)),
    keyword: Some(Color::from_hex(0x00ffff)),
    string: Some(Color::from_hex(0xff00ff)),
    function: Some(Color::from_hex(0x6a5acd)),
    variable: Some(Color::from_hex(0xb8860b)),
    r#type: Some(Color::from_hex(0x008b8b)),
    constant: Some(Color::from_hex(0x6b8e23)),
    operator: None,
    tag: None,
    error: None,
    warning: None,
    info: None,
    success: None,
    red: None,
    orange: None,
    yellow: None,
    green: Some(Color::from_hex(0xff00ff)),
    cyan: Some(Color::from_hex(0x6b8e23)),
    blue: Some(Color::from_hex(0x6a5acd)),
    purple: Some(Color::from_hex(0x00ffff)),
    magenta: Some(Color::from_hex(0xb8860b)),
};