chromata 1.0.0

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

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

/// Harmonic16 Dark
///
/// Author: Jannik Siebert (https://github.com/janniks)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Harmonic16 Dark"),
    author: Cow::Borrowed("Jannik Siebert (https://github.com/janniks)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x0b1c2c),
    fg: Color::from_hex(0xcbd6e2),
    cursor: Some(Color::from_hex(0xcbd6e2)),
    selection: Some(Color::from_hex(0x405c79)),
    line_highlight: Some(Color::from_hex(0x223b54)),
    gutter: Some(Color::from_hex(0x627e99)),
    statusbar_bg: Some(Color::from_hex(0x223b54)),
    statusbar_fg: Some(Color::from_hex(0xaabcce)),
    comment: Some(Color::from_hex(0x627e99)),
    keyword: Some(Color::from_hex(0xbf568b)),
    string: Some(Color::from_hex(0x56bf8b)),
    function: Some(Color::from_hex(0x8b56bf)),
    variable: Some(Color::from_hex(0xbf8b56)),
    r#type: Some(Color::from_hex(0x8bbf56)),
    constant: Some(Color::from_hex(0xbfbf56)),
    operator: Some(Color::from_hex(0xcbd6e2)),
    tag: Some(Color::from_hex(0xbf8b56)),
    error: Some(Color::from_hex(0xbf8b56)),
    warning: Some(Color::from_hex(0x8bbf56)),
    info: Some(Color::from_hex(0x8b56bf)),
    success: Some(Color::from_hex(0x56bf8b)),
    red: Some(Color::from_hex(0xbf8b56)),
    orange: Some(Color::from_hex(0xbfbf56)),
    yellow: Some(Color::from_hex(0x8bbf56)),
    green: Some(Color::from_hex(0x56bf8b)),
    cyan: Some(Color::from_hex(0x568bbf)),
    blue: Some(Color::from_hex(0x8b56bf)),
    purple: Some(Color::from_hex(0xbf568b)),
    magenta: Some(Color::from_hex(0xbf5656)),
};