chromata 1.0.0

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

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

/// Nebula
///
/// Author: Gabriel Fontes (https://github.com/Misterio77)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Nebula"),
    author: Cow::Borrowed("Gabriel Fontes (https://github.com/Misterio77)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x22273b),
    fg: Color::from_hex(0xa4a6a9),
    cursor: Some(Color::from_hex(0xa4a6a9)),
    selection: Some(Color::from_hex(0x5a8380)),
    line_highlight: Some(Color::from_hex(0x414f60)),
    gutter: Some(Color::from_hex(0x6e6f72)),
    statusbar_bg: Some(Color::from_hex(0x414f60)),
    statusbar_fg: Some(Color::from_hex(0x87888b)),
    comment: Some(Color::from_hex(0x6e6f72)),
    keyword: Some(Color::from_hex(0x716cae)),
    string: Some(Color::from_hex(0x6562a8)),
    function: Some(Color::from_hex(0x4d6bb6)),
    variable: Some(Color::from_hex(0x777abc)),
    r#type: Some(Color::from_hex(0x4f9062)),
    constant: Some(Color::from_hex(0x94929e)),
    operator: Some(Color::from_hex(0xa4a6a9)),
    tag: Some(Color::from_hex(0x777abc)),
    error: Some(Color::from_hex(0x777abc)),
    warning: Some(Color::from_hex(0x4f9062)),
    info: Some(Color::from_hex(0x4d6bb6)),
    success: Some(Color::from_hex(0x6562a8)),
    red: Some(Color::from_hex(0x777abc)),
    orange: Some(Color::from_hex(0x94929e)),
    yellow: Some(Color::from_hex(0x4f9062)),
    green: Some(Color::from_hex(0x6562a8)),
    cyan: Some(Color::from_hex(0x226f68)),
    blue: Some(Color::from_hex(0x4d6bb6)),
    purple: Some(Color::from_hex(0x716cae)),
    magenta: Some(Color::from_hex(0x8c70a7)),
};