chromata 1.0.0

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

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

/// XCode Dusk
///
/// Author: Elsa Gonsiorowski (https://github.com/gonsie)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("XCode Dusk"),
    author: Cow::Borrowed("Elsa Gonsiorowski (https://github.com/gonsie)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x282b35),
    fg: Color::from_hex(0x939599),
    cursor: Some(Color::from_hex(0x939599)),
    selection: Some(Color::from_hex(0x53555d)),
    line_highlight: Some(Color::from_hex(0x3d4048)),
    gutter: Some(Color::from_hex(0x686a71)),
    statusbar_bg: Some(Color::from_hex(0x3d4048)),
    statusbar_fg: Some(Color::from_hex(0x7e8086)),
    comment: Some(Color::from_hex(0x686a71)),
    keyword: Some(Color::from_hex(0xb21889)),
    string: Some(Color::from_hex(0xdf0002)),
    function: Some(Color::from_hex(0x790ead)),
    variable: Some(Color::from_hex(0xb21889)),
    r#type: Some(Color::from_hex(0x438288)),
    constant: Some(Color::from_hex(0x786dc5)),
    operator: Some(Color::from_hex(0x939599)),
    tag: Some(Color::from_hex(0xb21889)),
    error: Some(Color::from_hex(0xb21889)),
    warning: Some(Color::from_hex(0x438288)),
    info: Some(Color::from_hex(0x790ead)),
    success: Some(Color::from_hex(0xdf0002)),
    red: Some(Color::from_hex(0xb21889)),
    orange: Some(Color::from_hex(0x786dc5)),
    yellow: Some(Color::from_hex(0x438288)),
    green: Some(Color::from_hex(0xdf0002)),
    cyan: Some(Color::from_hex(0x00a0be)),
    blue: Some(Color::from_hex(0x790ead)),
    purple: Some(Color::from_hex(0xb21889)),
    magenta: Some(Color::from_hex(0xc77c48)),
};