chromata 1.0.0

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

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

/// Spacemacs
///
/// Author: Nasser Alshammari (https://github.com/nashamri/spacemacs-theme)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Spacemacs"),
    author: Cow::Borrowed("Nasser Alshammari (https://github.com/nashamri/spacemacs-theme)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1f2022),
    fg: Color::from_hex(0xa3a3a3),
    cursor: Some(Color::from_hex(0xa3a3a3)),
    selection: Some(Color::from_hex(0x444155)),
    line_highlight: Some(Color::from_hex(0x282828)),
    gutter: Some(Color::from_hex(0x585858)),
    statusbar_bg: Some(Color::from_hex(0x282828)),
    statusbar_fg: Some(Color::from_hex(0xb8b8b8)),
    comment: Some(Color::from_hex(0x585858)),
    keyword: Some(Color::from_hex(0xa31db1)),
    string: Some(Color::from_hex(0x67b11d)),
    function: Some(Color::from_hex(0x4f97d7)),
    variable: Some(Color::from_hex(0xf2241f)),
    r#type: Some(Color::from_hex(0xb1951d)),
    constant: Some(Color::from_hex(0xffa500)),
    operator: Some(Color::from_hex(0xa3a3a3)),
    tag: Some(Color::from_hex(0xf2241f)),
    error: Some(Color::from_hex(0xf2241f)),
    warning: Some(Color::from_hex(0xb1951d)),
    info: Some(Color::from_hex(0x4f97d7)),
    success: Some(Color::from_hex(0x67b11d)),
    red: Some(Color::from_hex(0xf2241f)),
    orange: Some(Color::from_hex(0xffa500)),
    yellow: Some(Color::from_hex(0xb1951d)),
    green: Some(Color::from_hex(0x67b11d)),
    cyan: Some(Color::from_hex(0x2d9574)),
    blue: Some(Color::from_hex(0x4f97d7)),
    purple: Some(Color::from_hex(0xa31db1)),
    magenta: Some(Color::from_hex(0xb03060)),
};