chromata 1.0.0

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

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

/// Chinoiserie Morandi
///
/// Author: Di Wang (https://cs.cmu.edu/~diw3)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Chinoiserie Morandi"),
    author: Cow::Borrowed("Di Wang (https://cs.cmu.edu/~diw3)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x1d1d1d),
    fg: Color::from_hex(0xc4cbcf),
    cursor: Some(Color::from_hex(0xc4cbcf)),
    selection: Some(Color::from_hex(0x373737)),
    line_highlight: Some(Color::from_hex(0x282828)),
    gutter: Some(Color::from_hex(0x918072)),
    statusbar_bg: Some(Color::from_hex(0x282828)),
    statusbar_fg: Some(Color::from_hex(0xbdaead)),
    comment: Some(Color::from_hex(0x918072)),
    keyword: Some(Color::from_hex(0x98a1d8)),
    string: Some(Color::from_hex(0x8ca07b)),
    function: Some(Color::from_hex(0x839ec9)),
    variable: Some(Color::from_hex(0xc06061)),
    r#type: Some(Color::from_hex(0xe5bc84)),
    constant: Some(Color::from_hex(0xff937f)),
    operator: Some(Color::from_hex(0xc4cbcf)),
    tag: Some(Color::from_hex(0xc06061)),
    error: Some(Color::from_hex(0xc06061)),
    warning: Some(Color::from_hex(0xe5bc84)),
    info: Some(Color::from_hex(0x839ec9)),
    success: Some(Color::from_hex(0x8ca07b)),
    red: Some(Color::from_hex(0xc06061)),
    orange: Some(Color::from_hex(0xff937f)),
    yellow: Some(Color::from_hex(0xe5bc84)),
    green: Some(Color::from_hex(0x8ca07b)),
    cyan: Some(Color::from_hex(0x5e8c9b)),
    blue: Some(Color::from_hex(0x839ec9)),
    purple: Some(Color::from_hex(0x98a1d8)),
    magenta: Some(Color::from_hex(0xd9cdb4)),
};