chromata 1.0.0

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

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

/// Primer Dark
///
/// Author: Jimmy Lin
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Primer Dark"),
    author: Cow::Borrowed("Jimmy Lin"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x010409),
    fg: Color::from_hex(0xb1bac4),
    cursor: Some(Color::from_hex(0xb1bac4)),
    selection: Some(Color::from_hex(0x30363d)),
    line_highlight: Some(Color::from_hex(0x21262d)),
    gutter: Some(Color::from_hex(0x484f58)),
    statusbar_bg: Some(Color::from_hex(0x21262d)),
    statusbar_fg: Some(Color::from_hex(0x8b949e)),
    comment: Some(Color::from_hex(0x484f58)),
    keyword: Some(Color::from_hex(0xf778ba)),
    string: Some(Color::from_hex(0x3fb950)),
    function: Some(Color::from_hex(0x58a6ff)),
    variable: Some(Color::from_hex(0xff7b72)),
    r#type: Some(Color::from_hex(0xd29922)),
    constant: Some(Color::from_hex(0xf0883e)),
    operator: Some(Color::from_hex(0xb1bac4)),
    tag: Some(Color::from_hex(0xff7b72)),
    error: Some(Color::from_hex(0xff7b72)),
    warning: Some(Color::from_hex(0xd29922)),
    info: Some(Color::from_hex(0x58a6ff)),
    success: Some(Color::from_hex(0x3fb950)),
    red: Some(Color::from_hex(0xff7b72)),
    orange: Some(Color::from_hex(0xf0883e)),
    yellow: Some(Color::from_hex(0xd29922)),
    green: Some(Color::from_hex(0x3fb950)),
    cyan: Some(Color::from_hex(0xa5d6ff)),
    blue: Some(Color::from_hex(0x58a6ff)),
    purple: Some(Color::from_hex(0xf778ba)),
    magenta: Some(Color::from_hex(0xbd561d)),
};