chromata 1.0.0

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

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

/// leo256
///
/// Variant: Dark
/// Contrast: High
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("leo256"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x121212),
    fg: Color::from_hex(0xffffff),
    cursor: None,
    selection: Some(Color::from_hex(0x080808)),
    line_highlight: Some(Color::from_hex(0x050505)),
    gutter: Some(Color::from_hex(0x4e4e4e)),
    statusbar_bg: Some(Color::from_hex(0xffffff)),
    statusbar_fg: Some(Color::from_hex(0x0000af)),
    comment: Some(Color::from_hex(0xa8a8a8)),
    keyword: Some(Color::from_hex(0x87ffff)),
    string: Some(Color::from_hex(0xd7af87)),
    function: Some(Color::from_hex(0xff0000)),
    variable: Some(Color::from_hex(0x00d700)),
    r#type: Some(Color::from_hex(0x5fafff)),
    constant: Some(Color::from_hex(0xffff00)),
    operator: Some(Color::from_hex(0xffff00)),
    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(0xd7af87)),
    cyan: Some(Color::from_hex(0x5fafff)),
    blue: Some(Color::from_hex(0xff0000)),
    purple: Some(Color::from_hex(0x87ffff)),
    magenta: Some(Color::from_hex(0xff5f00)),
};