chromata 1.0.0

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

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

/// sonoma
///
/// Variant: Light
/// Contrast: Normal
/// Source: vim (vim-colorschemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("sonoma"),
    author: Cow::Borrowed(""),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xdfdbc3),
    fg: Color::from_hex(0x4d2f2d),
    cursor: Some(Color::from_hex(0x4169e1)),
    selection: Some(Color::from_hex(0x74873b)),
    line_highlight: Some(Color::from_hex(0xd0d2b9)),
    gutter: Some(Color::from_hex(0xcd853f)),
    statusbar_bg: Some(Color::from_hex(0x943a20)),
    statusbar_fg: None,
    comment: Some(Color::from_hex(0x708090)),
    keyword: Some(Color::from_hex(0xc6199d)),
    string: Some(Color::from_hex(0xca073d)),
    function: Some(Color::from_hex(0xc6199d)),
    variable: Some(Color::from_hex(0xc6199d)),
    r#type: Some(Color::from_hex(0xc6199d)),
    constant: None,
    operator: Some(Color::from_hex(0xc6199d)),
    tag: Some(Color::from_hex(0xb91bc7)),
    error: Some(Color::from_hex(0xf8f8ff)),
    warning: Some(Color::from_hex(0xff0000)),
    info: None,
    success: None,
    red: Some(Color::from_hex(0xf8f8ff)),
    orange: None,
    yellow: Some(Color::from_hex(0xff0000)),
    green: Some(Color::from_hex(0xca073d)),
    cyan: Some(Color::from_hex(0xc6199d)),
    blue: Some(Color::from_hex(0xc6199d)),
    purple: Some(Color::from_hex(0xc6199d)),
    magenta: Some(Color::from_hex(0x7f4a35)),
};