chromata 1.0.0

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

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

/// 256-grayvim
///
/// Variant: Dark
/// Contrast: High
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("256-grayvim"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x262626),
    fg: Color::from_hex(0xdadada),
    cursor: None,
    selection: None,
    line_highlight: None,
    gutter: Some(Color::from_hex(0x444444)),
    statusbar_bg: Some(Color::from_hex(0x121212)),
    statusbar_fg: Some(Color::from_hex(0x9e9e9e)),
    comment: Some(Color::from_hex(0x808080)),
    keyword: Some(Color::from_hex(0x5fafff)),
    string: None,
    function: None,
    variable: Some(Color::from_hex(0x87afff)),
    r#type: Some(Color::from_hex(0x5fafff)),
    constant: Some(Color::from_hex(0xff8700)),
    operator: None,
    tag: None,
    error: Some(Color::from_hex(0xaf0000)),
    warning: None,
    info: None,
    success: None,
    red: Some(Color::from_hex(0xaf0000)),
    orange: None,
    yellow: Some(Color::from_hex(0xd70000)),
    green: None,
    cyan: Some(Color::from_hex(0x5fafff)),
    blue: None,
    purple: Some(Color::from_hex(0x5fafff)),
    magenta: Some(Color::from_hex(0x949494)),
};