chromata 1.0.0

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

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

/// DanQing
///
/// Author: Wenhan Zhu (Cosmos) (zhuwenhan950913@gmail.com)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("DanQing"),
    author: Cow::Borrowed("Wenhan Zhu (Cosmos) (zhuwenhan950913@gmail.com)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x2d302f),
    fg: Color::from_hex(0xe0f0ef),
    cursor: Some(Color::from_hex(0xe0f0ef)),
    selection: Some(Color::from_hex(0x5a605d)),
    line_highlight: Some(Color::from_hex(0x434846)),
    gutter: Some(Color::from_hex(0x9da8a3)),
    statusbar_bg: Some(Color::from_hex(0x434846)),
    statusbar_fg: Some(Color::from_hex(0xcad8d2)),
    comment: Some(Color::from_hex(0x9da8a3)),
    keyword: Some(Color::from_hex(0xcca4e3)),
    string: Some(Color::from_hex(0x8ab361)),
    function: Some(Color::from_hex(0xb0a4e3)),
    variable: Some(Color::from_hex(0xf9906f)),
    r#type: Some(Color::from_hex(0xf0c239)),
    constant: Some(Color::from_hex(0xb38a61)),
    operator: Some(Color::from_hex(0xe0f0ef)),
    tag: Some(Color::from_hex(0xf9906f)),
    error: Some(Color::from_hex(0xf9906f)),
    warning: Some(Color::from_hex(0xf0c239)),
    info: Some(Color::from_hex(0xb0a4e3)),
    success: Some(Color::from_hex(0x8ab361)),
    red: Some(Color::from_hex(0xf9906f)),
    orange: Some(Color::from_hex(0xb38a61)),
    yellow: Some(Color::from_hex(0xf0c239)),
    green: Some(Color::from_hex(0x8ab361)),
    cyan: Some(Color::from_hex(0x30dff3)),
    blue: Some(Color::from_hex(0xb0a4e3)),
    purple: Some(Color::from_hex(0xcca4e3)),
    magenta: Some(Color::from_hex(0xca6924)),
};