chromata 1.0.0

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

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

/// Primer Dark Dimmed
///
/// Author: Jimmy Lin
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Primer Dark Dimmed"),
    author: Cow::Borrowed("Jimmy Lin"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1c2128),
    fg: Color::from_hex(0x909dab),
    cursor: Some(Color::from_hex(0x909dab)),
    selection: Some(Color::from_hex(0x444c56)),
    line_highlight: Some(Color::from_hex(0x373e47)),
    gutter: Some(Color::from_hex(0x545d68)),
    statusbar_bg: Some(Color::from_hex(0x373e47)),
    statusbar_fg: Some(Color::from_hex(0x768390)),
    comment: Some(Color::from_hex(0x545d68)),
    keyword: Some(Color::from_hex(0xe275ad)),
    string: Some(Color::from_hex(0x57ab5a)),
    function: Some(Color::from_hex(0x539bf5)),
    variable: Some(Color::from_hex(0xf47067)),
    r#type: Some(Color::from_hex(0xc69026)),
    constant: Some(Color::from_hex(0xe0823d)),
    operator: Some(Color::from_hex(0x909dab)),
    tag: Some(Color::from_hex(0xf47067)),
    error: Some(Color::from_hex(0xf47067)),
    warning: Some(Color::from_hex(0xc69026)),
    info: Some(Color::from_hex(0x539bf5)),
    success: Some(Color::from_hex(0x57ab5a)),
    red: Some(Color::from_hex(0xf47067)),
    orange: Some(Color::from_hex(0xe0823d)),
    yellow: Some(Color::from_hex(0xc69026)),
    green: Some(Color::from_hex(0x57ab5a)),
    cyan: Some(Color::from_hex(0x96d0ff)),
    blue: Some(Color::from_hex(0x539bf5)),
    purple: Some(Color::from_hex(0xe275ad)),
    magenta: Some(Color::from_hex(0xae5622)),
};