chromata 1.0.0

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

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

/// Bespin
///
/// Author: Jan T. Sott
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Bespin"),
    author: Cow::Borrowed("Jan T. Sott"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x28211c),
    fg: Color::from_hex(0x8a8986),
    cursor: Some(Color::from_hex(0x8a8986)),
    selection: Some(Color::from_hex(0x5e5d5c)),
    line_highlight: Some(Color::from_hex(0x36312e)),
    gutter: Some(Color::from_hex(0x666666)),
    statusbar_bg: Some(Color::from_hex(0x36312e)),
    statusbar_fg: Some(Color::from_hex(0x797977)),
    comment: Some(Color::from_hex(0x666666)),
    keyword: Some(Color::from_hex(0x9b859d)),
    string: Some(Color::from_hex(0x54be0d)),
    function: Some(Color::from_hex(0x5ea6ea)),
    variable: Some(Color::from_hex(0xcf6a4c)),
    r#type: Some(Color::from_hex(0xf9ee98)),
    constant: Some(Color::from_hex(0xcf7d34)),
    operator: Some(Color::from_hex(0x8a8986)),
    tag: Some(Color::from_hex(0xcf6a4c)),
    error: Some(Color::from_hex(0xcf6a4c)),
    warning: Some(Color::from_hex(0xf9ee98)),
    info: Some(Color::from_hex(0x5ea6ea)),
    success: Some(Color::from_hex(0x54be0d)),
    red: Some(Color::from_hex(0xcf6a4c)),
    orange: Some(Color::from_hex(0xcf7d34)),
    yellow: Some(Color::from_hex(0xf9ee98)),
    green: Some(Color::from_hex(0x54be0d)),
    cyan: Some(Color::from_hex(0xafc4db)),
    blue: Some(Color::from_hex(0x5ea6ea)),
    purple: Some(Color::from_hex(0x9b859d)),
    magenta: Some(Color::from_hex(0x937121)),
};