chromata 1.0.0

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

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

/// Tokyo Night Light
///
/// Author: Michaël Ball, based on Tokyo Night by enkia (https://github.com/enkia/tokyo-night-vscode-theme)
/// Variant: Light
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Tokyo Night Light"),
    author: Cow::Borrowed(
        "Michaël Ball, based on Tokyo Night by enkia (https://github.com/enkia/tokyo-night-vscode-theme)",
    ),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xd5d6db),
    fg: Color::from_hex(0x343b59),
    cursor: Some(Color::from_hex(0x343b59)),
    selection: Some(Color::from_hex(0xdfe0e5)),
    line_highlight: Some(Color::from_hex(0xcbccd1)),
    gutter: Some(Color::from_hex(0x9699a3)),
    statusbar_bg: Some(Color::from_hex(0xcbccd1)),
    statusbar_fg: Some(Color::from_hex(0x4c505e)),
    comment: Some(Color::from_hex(0x9699a3)),
    keyword: Some(Color::from_hex(0x5a4a78)),
    string: Some(Color::from_hex(0x485e30)),
    function: Some(Color::from_hex(0x34548a)),
    variable: Some(Color::from_hex(0x343b59)),
    r#type: Some(Color::from_hex(0x166775)),
    constant: Some(Color::from_hex(0x965027)),
    operator: Some(Color::from_hex(0x343b59)),
    tag: Some(Color::from_hex(0x343b59)),
    error: Some(Color::from_hex(0x343b59)),
    warning: Some(Color::from_hex(0x166775)),
    info: Some(Color::from_hex(0x34548a)),
    success: Some(Color::from_hex(0x485e30)),
    red: Some(Color::from_hex(0x8c4351)),
    orange: Some(Color::from_hex(0x965027)),
    yellow: Some(Color::from_hex(0x965027)),
    green: Some(Color::from_hex(0x485e30)),
    cyan: Some(Color::from_hex(0x3e6968)),
    blue: Some(Color::from_hex(0x3e6968)),
    purple: Some(Color::from_hex(0x34548a)),
    magenta: Some(Color::from_hex(0x5a4a78)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0xd5d6db),
        base01: Color::from_hex(0xcbccd1),
        base02: Color::from_hex(0xdfe0e5),
        base03: Color::from_hex(0x9699a3),
        base04: Color::from_hex(0x4c505e),
        base05: Color::from_hex(0x343b59),
        base06: Color::from_hex(0x1a1b26),
        base07: Color::from_hex(0x1a1b26),
        base08: Color::from_hex(0x343b59),
        base09: Color::from_hex(0x965027),
        base0a: Color::from_hex(0x166775),
        base0b: Color::from_hex(0x485e30),
        base0c: Color::from_hex(0x3e6968),
        base0d: Color::from_hex(0x34548a),
        base0e: Color::from_hex(0x5a4a78),
        base0f: Color::from_hex(0x8c4351),
    },
    base10: Color::from_hex(0xe9e9ed),
    base11: Color::from_hex(0xf7f7f9),
    base12: Color::from_hex(0x8c4351),
    base13: Color::from_hex(0x965027),
    base14: Color::from_hex(0x485e30),
    base15: Color::from_hex(0x3e6968),
    base16: Color::from_hex(0x34548a),
    base17: Color::from_hex(0x5a4a78),
};