chromata 1.0.0

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

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

/// night
///
/// Variant: Dark
/// Contrast: High
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("night"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x303040),
    fg: Color::from_hex(0xf0f0f8),
    cursor: Some(Color::from_hex(0xd86020)),
    selection: Some(Color::from_hex(0xd09050)),
    line_highlight: None,
    gutter: Some(Color::from_hex(0x808098)),
    statusbar_bg: Some(Color::from_hex(0xc8c8d8)),
    statusbar_fg: Some(Color::from_hex(0x101018)),
    comment: Some(Color::from_hex(0xf080ff)),
    keyword: Some(Color::from_hex(0x00ccbb)),
    string: None,
    function: None,
    variable: Some(Color::from_hex(0x90d0ff)),
    r#type: Some(Color::from_hex(0xbb99ff)),
    constant: Some(Color::from_hex(0xf0f0f8)),
    operator: None,
    tag: None,
    error: Some(Color::from_hex(0xffffff)),
    warning: Some(Color::from_hex(0xffffff)),
    info: None,
    success: None,
    red: Some(Color::from_hex(0xffffff)),
    orange: None,
    yellow: Some(Color::from_hex(0xffffff)),
    green: Some(Color::from_hex(0xffffff)),
    cyan: Some(Color::from_hex(0xbb99ff)),
    blue: None,
    purple: Some(Color::from_hex(0x00ccbb)),
    magenta: Some(Color::from_hex(0x40ffa0)),
};