chromata 1.0.0

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

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

/// Flat
///
/// Author: Chris Kempson (http://chriskempson.com)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Flat"),
    author: Cow::Borrowed("Chris Kempson (http://chriskempson.com)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x2c3e50),
    fg: Color::from_hex(0xe0e0e0),
    cursor: Some(Color::from_hex(0xe0e0e0)),
    selection: Some(Color::from_hex(0x7f8c8d)),
    line_highlight: Some(Color::from_hex(0x34495e)),
    gutter: Some(Color::from_hex(0x95a5a6)),
    statusbar_bg: Some(Color::from_hex(0x34495e)),
    statusbar_fg: Some(Color::from_hex(0xbdc3c7)),
    comment: Some(Color::from_hex(0x95a5a6)),
    keyword: Some(Color::from_hex(0x9b59b6)),
    string: Some(Color::from_hex(0x2ecc71)),
    function: Some(Color::from_hex(0x3498db)),
    variable: Some(Color::from_hex(0xe74c3c)),
    r#type: Some(Color::from_hex(0xf1c40f)),
    constant: Some(Color::from_hex(0xe67e22)),
    operator: Some(Color::from_hex(0xe0e0e0)),
    tag: Some(Color::from_hex(0xe74c3c)),
    error: Some(Color::from_hex(0xe74c3c)),
    warning: Some(Color::from_hex(0xf1c40f)),
    info: Some(Color::from_hex(0x3498db)),
    success: Some(Color::from_hex(0x2ecc71)),
    red: Some(Color::from_hex(0xe74c3c)),
    orange: Some(Color::from_hex(0xe67e22)),
    yellow: Some(Color::from_hex(0xf1c40f)),
    green: Some(Color::from_hex(0x2ecc71)),
    cyan: Some(Color::from_hex(0x1abc9c)),
    blue: Some(Color::from_hex(0x3498db)),
    purple: Some(Color::from_hex(0x9b59b6)),
    magenta: Some(Color::from_hex(0xbe643c)),
};