chromata 1.0.0

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

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

/// OneDark
///
/// Author: Lalit Magant (http://github.com/tilal6991)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("OneDark"),
    author: Cow::Borrowed("Lalit Magant (http://github.com/tilal6991)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x282c34),
    fg: Color::from_hex(0xabb2bf),
    cursor: Some(Color::from_hex(0xabb2bf)),
    selection: Some(Color::from_hex(0x3e4451)),
    line_highlight: Some(Color::from_hex(0x353b45)),
    gutter: Some(Color::from_hex(0x545862)),
    statusbar_bg: Some(Color::from_hex(0x353b45)),
    statusbar_fg: Some(Color::from_hex(0x565c64)),
    comment: Some(Color::from_hex(0x545862)),
    keyword: Some(Color::from_hex(0xc678dd)),
    string: Some(Color::from_hex(0x98c379)),
    function: Some(Color::from_hex(0x61afef)),
    variable: Some(Color::from_hex(0xe06c75)),
    r#type: Some(Color::from_hex(0xe5c07b)),
    constant: Some(Color::from_hex(0xd19a66)),
    operator: Some(Color::from_hex(0xabb2bf)),
    tag: Some(Color::from_hex(0xe06c75)),
    error: Some(Color::from_hex(0xe06c75)),
    warning: Some(Color::from_hex(0xe5c07b)),
    info: Some(Color::from_hex(0x61afef)),
    success: Some(Color::from_hex(0x98c379)),
    red: Some(Color::from_hex(0xe06c75)),
    orange: Some(Color::from_hex(0xd19a66)),
    yellow: Some(Color::from_hex(0xe5c07b)),
    green: Some(Color::from_hex(0x98c379)),
    cyan: Some(Color::from_hex(0x56b6c2)),
    blue: Some(Color::from_hex(0x61afef)),
    purple: Some(Color::from_hex(0xc678dd)),
    magenta: Some(Color::from_hex(0xbe5046)),
};