chromata 1.0.0

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

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

/// Hardhacker
///
/// Author: fe2-Nyxar, based on the https://github.com/hardhackerlabs
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Hardhacker"),
    author: Cow::Borrowed("fe2-Nyxar, based on the https://github.com/hardhackerlabs"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x211e2a),
    fg: Color::from_hex(0xe4dee9),
    cursor: Some(Color::from_hex(0xe4dee9)),
    selection: Some(Color::from_hex(0x3f3951)),
    line_highlight: Some(Color::from_hex(0x2c2737)),
    gutter: Some(Color::from_hex(0x6e6780)),
    statusbar_bg: Some(Color::from_hex(0x2c2737)),
    statusbar_fg: Some(Color::from_hex(0x8a829e)),
    comment: Some(Color::from_hex(0x6e6780)),
    keyword: Some(Color::from_hex(0xff79c6)),
    string: Some(Color::from_hex(0xb1f2a7)),
    function: Some(Color::from_hex(0x95a6f4)),
    variable: Some(Color::from_hex(0xe965a5)),
    r#type: Some(Color::from_hex(0xebde76)),
    constant: Some(Color::from_hex(0xf4b870)),
    operator: Some(Color::from_hex(0xe4dee9)),
    tag: Some(Color::from_hex(0xe965a5)),
    error: Some(Color::from_hex(0xe965a5)),
    warning: Some(Color::from_hex(0xebde76)),
    info: Some(Color::from_hex(0x95a6f4)),
    success: Some(Color::from_hex(0xb1f2a7)),
    red: Some(Color::from_hex(0xe965a5)),
    orange: Some(Color::from_hex(0xf4b870)),
    yellow: Some(Color::from_hex(0xebde76)),
    green: Some(Color::from_hex(0xb1f2a7)),
    cyan: Some(Color::from_hex(0xb3f4f3)),
    blue: Some(Color::from_hex(0x95a6f4)),
    purple: Some(Color::from_hex(0xff79c6)),
    magenta: Some(Color::from_hex(0xbd93f9)),
};