chromata 1.0.0

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

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

/// Horizon Dark
///
/// Author: Michaël Ball (http://github.com/michael-ball/)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Horizon Dark"),
    author: Cow::Borrowed("Michaël Ball (http://github.com/michael-ball/)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x1c1e26),
    fg: Color::from_hex(0xcbced0),
    cursor: Some(Color::from_hex(0xcbced0)),
    selection: Some(Color::from_hex(0x2e303e)),
    line_highlight: Some(Color::from_hex(0x232530)),
    gutter: Some(Color::from_hex(0x6f6f70)),
    statusbar_bg: Some(Color::from_hex(0x232530)),
    statusbar_fg: Some(Color::from_hex(0x9da0a2)),
    comment: Some(Color::from_hex(0x6f6f70)),
    keyword: Some(Color::from_hex(0xb072d1)),
    string: Some(Color::from_hex(0xefaf8e)),
    function: Some(Color::from_hex(0xdf5273)),
    variable: Some(Color::from_hex(0xe93c58)),
    r#type: Some(Color::from_hex(0xefb993)),
    constant: Some(Color::from_hex(0xe58d7d)),
    operator: Some(Color::from_hex(0xcbced0)),
    tag: Some(Color::from_hex(0xe93c58)),
    error: Some(Color::from_hex(0xe93c58)),
    warning: Some(Color::from_hex(0xefb993)),
    info: Some(Color::from_hex(0xdf5273)),
    success: Some(Color::from_hex(0xefaf8e)),
    red: Some(Color::from_hex(0xe93c58)),
    orange: Some(Color::from_hex(0xe58d7d)),
    yellow: Some(Color::from_hex(0xefb993)),
    green: Some(Color::from_hex(0xefaf8e)),
    cyan: Some(Color::from_hex(0x24a8b4)),
    blue: Some(Color::from_hex(0xdf5273)),
    purple: Some(Color::from_hex(0xb072d1)),
    magenta: Some(Color::from_hex(0xe4a382)),
};