chromata 1.0.0

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

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

/// nocturne
///
/// Variant: Dark
/// Contrast: High
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("nocturne"),
    author: Cow::Borrowed(""),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x121212),
    fg: Color::from_hex(0xf5f5f5),
    cursor: None,
    selection: Some(Color::from_hex(0x303030)),
    line_highlight: Some(Color::from_hex(0x1c1c1c)),
    gutter: Some(Color::from_hex(0x303030)),
    statusbar_bg: Some(Color::from_hex(0x262626)),
    statusbar_fg: Some(Color::from_hex(0xf5f5f5)),
    comment: Some(Color::from_hex(0x4e4e4e)),
    keyword: Some(Color::from_hex(0xffff00)),
    string: Some(Color::from_hex(0x5f87d7)),
    function: Some(Color::from_hex(0xff8700)),
    variable: Some(Color::from_hex(0xffd700)),
    r#type: Some(Color::from_hex(0x00ff00)),
    constant: Some(Color::from_hex(0x008787)),
    operator: None,
    tag: None,
    error: Some(Color::from_hex(0xff0000)),
    warning: Some(Color::from_hex(0xff8700)),
    info: None,
    success: None,
    red: Some(Color::from_hex(0xff0000)),
    orange: None,
    yellow: Some(Color::from_hex(0xff8700)),
    green: Some(Color::from_hex(0x5f87d7)),
    cyan: Some(Color::from_hex(0x00ff00)),
    blue: Some(Color::from_hex(0xff8700)),
    purple: Some(Color::from_hex(0xffff00)),
    magenta: Some(Color::from_hex(0xff0000)),
};