chromata 1.0.0

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

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

/// Spaceduck
///
/// Author: Guillermo Rodriguez (https://github.com/pineapplegiant), packaged by Gabriel Fontes (https://github.com/Misterio77)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Spaceduck"),
    author: Cow::Borrowed(
        "Guillermo Rodriguez (https://github.com/pineapplegiant), packaged by Gabriel Fontes (https://github.com/Misterio77)",
    ),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x16172d),
    fg: Color::from_hex(0xecf0c1),
    cursor: Some(Color::from_hex(0xecf0c1)),
    selection: Some(Color::from_hex(0x30365f)),
    line_highlight: Some(Color::from_hex(0x1b1c36)),
    gutter: Some(Color::from_hex(0x686f9a)),
    statusbar_bg: Some(Color::from_hex(0x1b1c36)),
    statusbar_fg: Some(Color::from_hex(0x818596)),
    comment: Some(Color::from_hex(0x686f9a)),
    keyword: Some(Color::from_hex(0xb3a1e6)),
    string: Some(Color::from_hex(0x5ccc96)),
    function: Some(Color::from_hex(0x7a5ccc)),
    variable: Some(Color::from_hex(0xe33400)),
    r#type: Some(Color::from_hex(0xf2ce00)),
    constant: Some(Color::from_hex(0xe39400)),
    operator: Some(Color::from_hex(0xecf0c1)),
    tag: Some(Color::from_hex(0xe33400)),
    error: Some(Color::from_hex(0xe33400)),
    warning: Some(Color::from_hex(0xf2ce00)),
    info: Some(Color::from_hex(0x7a5ccc)),
    success: Some(Color::from_hex(0x5ccc96)),
    red: Some(Color::from_hex(0xe33400)),
    orange: Some(Color::from_hex(0xe39400)),
    yellow: Some(Color::from_hex(0xf2ce00)),
    green: Some(Color::from_hex(0x5ccc96)),
    cyan: Some(Color::from_hex(0x00a3cc)),
    blue: Some(Color::from_hex(0x7a5ccc)),
    purple: Some(Color::from_hex(0xb3a1e6)),
    magenta: Some(Color::from_hex(0xce6f8f)),
};