chromata 1.0.0

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

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

/// Tokyo Night Moon
///
/// Author: Ólafur Bjarki Bogason
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Tokyo Night Moon"),
    author: Cow::Borrowed("Ólafur Bjarki Bogason"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x222436),
    fg: Color::from_hex(0x828bb8),
    cursor: Some(Color::from_hex(0x828bb8)),
    selection: Some(Color::from_hex(0x2d3f76)),
    line_highlight: Some(Color::from_hex(0x1e2030)),
    gutter: Some(Color::from_hex(0x3b4261)),
    statusbar_bg: Some(Color::from_hex(0x1e2030)),
    statusbar_fg: Some(Color::from_hex(0x636da6)),
    comment: Some(Color::from_hex(0x3b4261)),
    keyword: Some(Color::from_hex(0xfca7ea)),
    string: Some(Color::from_hex(0xc3e88d)),
    function: Some(Color::from_hex(0x82aaff)),
    variable: Some(Color::from_hex(0xff757f)),
    r#type: Some(Color::from_hex(0xffdf77)),
    constant: Some(Color::from_hex(0xffc777)),
    operator: Some(Color::from_hex(0x828bb8)),
    tag: Some(Color::from_hex(0xff757f)),
    error: Some(Color::from_hex(0xff757f)),
    warning: Some(Color::from_hex(0xffdf77)),
    info: Some(Color::from_hex(0x82aaff)),
    success: Some(Color::from_hex(0xc3e88d)),
    red: Some(Color::from_hex(0xff757f)),
    orange: Some(Color::from_hex(0xffc777)),
    yellow: Some(Color::from_hex(0xffdf77)),
    green: Some(Color::from_hex(0xc3e88d)),
    cyan: Some(Color::from_hex(0x86e1fc)),
    blue: Some(Color::from_hex(0x82aaff)),
    purple: Some(Color::from_hex(0xfca7ea)),
    magenta: Some(Color::from_hex(0xc53b53)),
};