chromata 1.0.0

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

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

/// Chicago Night
///
/// Author: Wendell, Ryan <ryanjwendell@gmail.com>
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Chicago Night"),
    author: Cow::Borrowed("Wendell, Ryan <ryanjwendell@gmail.com>"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1e2a24),
    fg: Color::from_hex(0xa7b8af),
    cursor: Some(Color::from_hex(0xa7b8af)),
    selection: Some(Color::from_hex(0x364c40)),
    line_highlight: Some(Color::from_hex(0x2a3b32)),
    gutter: Some(Color::from_hex(0x5f7368)),
    statusbar_bg: Some(Color::from_hex(0x2a3b32)),
    statusbar_fg: Some(Color::from_hex(0x8a9a91)),
    comment: Some(Color::from_hex(0x5f7368)),
    keyword: Some(Color::from_hex(0xe27ea6)),
    string: Some(Color::from_hex(0x009b3a)),
    function: Some(Color::from_hex(0x522398)),
    variable: Some(Color::from_hex(0xc60c30)),
    r#type: Some(Color::from_hex(0xf9e300)),
    constant: Some(Color::from_hex(0xf9461c)),
    operator: Some(Color::from_hex(0xa7b8af)),
    tag: Some(Color::from_hex(0xc60c30)),
    error: Some(Color::from_hex(0xc60c30)),
    warning: Some(Color::from_hex(0xf9e300)),
    info: Some(Color::from_hex(0x522398)),
    success: Some(Color::from_hex(0x009b3a)),
    red: Some(Color::from_hex(0xc60c30)),
    orange: Some(Color::from_hex(0xf9461c)),
    yellow: Some(Color::from_hex(0xf9e300)),
    green: Some(Color::from_hex(0x009b3a)),
    cyan: Some(Color::from_hex(0x00a1de)),
    blue: Some(Color::from_hex(0x522398)),
    purple: Some(Color::from_hex(0xe27ea6)),
    magenta: Some(Color::from_hex(0x62361b)),
};