chromata 1.0.0

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

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

/// Cyberpunk
///
/// Author: benjujo
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Cyberpunk"),
    author: Cow::Borrowed("benjujo"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x000000),
    fg: Color::from_hex(0xdcdccc),
    cursor: Some(Color::from_hex(0xdcdccc)),
    selection: Some(Color::from_hex(0x383838)),
    line_highlight: Some(Color::from_hex(0x2b2b2b)),
    gutter: Some(Color::from_hex(0x4f4f4f)),
    statusbar_bg: Some(Color::from_hex(0x2b2b2b)),
    statusbar_fg: Some(Color::from_hex(0x8b8989)),
    comment: Some(Color::from_hex(0x4f4f4f)),
    keyword: Some(Color::from_hex(0xff1493)),
    string: Some(Color::from_hex(0x61ce3c)),
    function: Some(Color::from_hex(0x4c83ff)),
    variable: Some(Color::from_hex(0xff0000)),
    r#type: Some(Color::from_hex(0xffff00)),
    constant: Some(Color::from_hex(0xffa500)),
    operator: Some(Color::from_hex(0xdcdccc)),
    tag: Some(Color::from_hex(0xff0000)),
    error: Some(Color::from_hex(0xff0000)),
    warning: Some(Color::from_hex(0xffff00)),
    info: Some(Color::from_hex(0x4c83ff)),
    success: Some(Color::from_hex(0x61ce3c)),
    red: Some(Color::from_hex(0xff0000)),
    orange: Some(Color::from_hex(0xffa500)),
    yellow: Some(Color::from_hex(0xffff00)),
    green: Some(Color::from_hex(0x61ce3c)),
    cyan: Some(Color::from_hex(0x93e0e3)),
    blue: Some(Color::from_hex(0x4c83ff)),
    purple: Some(Color::from_hex(0xff1493)),
    magenta: Some(Color::from_hex(0xff8c00)),
};