chromata 1.0.0

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

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

/// Purpledream
///
/// Author: malet
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Purpledream"),
    author: Cow::Borrowed("malet"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x100510),
    fg: Color::from_hex(0xddd0dd),
    cursor: Some(Color::from_hex(0xddd0dd)),
    selection: Some(Color::from_hex(0x403040)),
    line_highlight: Some(Color::from_hex(0x302030)),
    gutter: Some(Color::from_hex(0x605060)),
    statusbar_bg: Some(Color::from_hex(0x302030)),
    statusbar_fg: Some(Color::from_hex(0xbbb0bb)),
    comment: Some(Color::from_hex(0x605060)),
    keyword: Some(Color::from_hex(0xb000d0)),
    string: Some(Color::from_hex(0x14cc64)),
    function: Some(Color::from_hex(0x00a0f0)),
    variable: Some(Color::from_hex(0xff1d0d)),
    r#type: Some(Color::from_hex(0xf000a0)),
    constant: Some(Color::from_hex(0xccae14)),
    operator: Some(Color::from_hex(0xddd0dd)),
    tag: Some(Color::from_hex(0xff1d0d)),
    error: Some(Color::from_hex(0xff1d0d)),
    warning: Some(Color::from_hex(0xf000a0)),
    info: Some(Color::from_hex(0x00a0f0)),
    success: Some(Color::from_hex(0x14cc64)),
    red: Some(Color::from_hex(0xff1d0d)),
    orange: Some(Color::from_hex(0xccae14)),
    yellow: Some(Color::from_hex(0xf000a0)),
    green: Some(Color::from_hex(0x14cc64)),
    cyan: Some(Color::from_hex(0x0075b0)),
    blue: Some(Color::from_hex(0x00a0f0)),
    purple: Some(Color::from_hex(0xb000d0)),
    magenta: Some(Color::from_hex(0x6a2a3c)),
};