chromata 1.0.0

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

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

/// night_vision
///
/// Variant: Dark
/// Contrast: Normal
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("night_vision"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x003300),
    fg: Color::from_hex(0x00cc00),
    cursor: None,
    selection: None,
    line_highlight: None,
    gutter: Some(Color::from_hex(0x009900)),
    statusbar_bg: None,
    statusbar_fg: None,
    comment: Some(Color::from_hex(0x009933)),
    keyword: Some(Color::from_hex(0xff8088)),
    string: Some(Color::from_hex(0x9999cc)),
    function: Some(Color::from_hex(0xfffcfc)),
    variable: Some(Color::from_hex(0x33ff99)),
    r#type: Some(Color::from_hex(0xccffff)),
    constant: Some(Color::from_hex(0xf0f000)),
    operator: Some(Color::from_hex(0xff0000)),
    tag: None,
    error: None,
    warning: None,
    info: None,
    success: None,
    red: None,
    orange: None,
    yellow: Some(Color::from_hex(0xcccccc)),
    green: Some(Color::from_hex(0x9999cc)),
    cyan: Some(Color::from_hex(0xccffff)),
    blue: Some(Color::from_hex(0xfffcfc)),
    purple: Some(Color::from_hex(0xff8088)),
    magenta: Some(Color::from_hex(0xffffff)),
};