chromata 1.0.0

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

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

/// Github Dark
///
/// Author: Tinted Theming (https://github.com/tinted-theming)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Github Dark"),
    author: Cow::Borrowed("Tinted Theming (https://github.com/tinted-theming)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x161b22),
    fg: Color::from_hex(0xc9d1d9),
    cursor: Some(Color::from_hex(0xc9d1d9)),
    selection: Some(Color::from_hex(0x484f58)),
    line_highlight: Some(Color::from_hex(0x30363d)),
    gutter: Some(Color::from_hex(0x6e7681)),
    statusbar_bg: Some(Color::from_hex(0x30363d)),
    statusbar_fg: Some(Color::from_hex(0x8b949e)),
    comment: Some(Color::from_hex(0x6e7681)),
    keyword: Some(Color::from_hex(0xa371f7)),
    string: Some(Color::from_hex(0x2ea043)),
    function: Some(Color::from_hex(0x388bfd)),
    variable: Some(Color::from_hex(0xf85149)),
    r#type: Some(Color::from_hex(0xbb8009)),
    constant: Some(Color::from_hex(0xdb6d28)),
    operator: Some(Color::from_hex(0xc9d1d9)),
    tag: Some(Color::from_hex(0xf85149)),
    error: Some(Color::from_hex(0xf85149)),
    warning: Some(Color::from_hex(0xbb8009)),
    info: Some(Color::from_hex(0x388bfd)),
    success: Some(Color::from_hex(0x2ea043)),
    red: Some(Color::from_hex(0xf85149)),
    orange: Some(Color::from_hex(0xdb6d28)),
    yellow: Some(Color::from_hex(0xbb8009)),
    green: Some(Color::from_hex(0x2ea043)),
    cyan: Some(Color::from_hex(0x2a9d9a)),
    blue: Some(Color::from_hex(0x388bfd)),
    purple: Some(Color::from_hex(0xa371f7)),
    magenta: Some(Color::from_hex(0x3d2f00)),
};