chromata 1.0.0

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

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

/// Default Dark
///
/// Author: Chris Kempson (http://chriskempson.com)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Default Dark"),
    author: Cow::Borrowed("Chris Kempson (http://chriskempson.com)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x181818),
    fg: Color::from_hex(0xd8d8d8),
    cursor: Some(Color::from_hex(0xd8d8d8)),
    selection: Some(Color::from_hex(0x383838)),
    line_highlight: Some(Color::from_hex(0x282828)),
    gutter: Some(Color::from_hex(0x585858)),
    statusbar_bg: Some(Color::from_hex(0x282828)),
    statusbar_fg: Some(Color::from_hex(0xb8b8b8)),
    comment: Some(Color::from_hex(0x585858)),
    keyword: Some(Color::from_hex(0xba8baf)),
    string: Some(Color::from_hex(0xa1b56c)),
    function: Some(Color::from_hex(0x7cafc2)),
    variable: Some(Color::from_hex(0xab4642)),
    r#type: Some(Color::from_hex(0xf7ca88)),
    constant: Some(Color::from_hex(0xdc9656)),
    operator: Some(Color::from_hex(0xd8d8d8)),
    tag: Some(Color::from_hex(0xab4642)),
    error: Some(Color::from_hex(0xab4642)),
    warning: Some(Color::from_hex(0xf7ca88)),
    info: Some(Color::from_hex(0x7cafc2)),
    success: Some(Color::from_hex(0xa1b56c)),
    red: Some(Color::from_hex(0xab4642)),
    orange: Some(Color::from_hex(0xdc9656)),
    yellow: Some(Color::from_hex(0xf7ca88)),
    green: Some(Color::from_hex(0xa1b56c)),
    cyan: Some(Color::from_hex(0x86c1b9)),
    blue: Some(Color::from_hex(0x7cafc2)),
    purple: Some(Color::from_hex(0xba8baf)),
    magenta: Some(Color::from_hex(0xa16946)),
};