chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Tango Half Adapted 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;

/// Tango Half Adapted
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Light
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Tango Half Adapted"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xfeffff),
    fg: Color::from_hex(0x4f4f4f),
    cursor: Some(Color::from_hex(0x4f4f4f)),
    selection: Some(Color::from_hex(0xdcdcdc)),
    line_highlight: Some(Color::from_hex(0xf1f1f1)),
    gutter: Some(Color::from_hex(0xcccccc)),
    statusbar_bg: Some(Color::from_hex(0xf1f1f1)),
    statusbar_fg: Some(Color::from_hex(0x757575)),
    comment: Some(Color::from_hex(0xcccccc)),
    keyword: Some(Color::from_hex(0xa86bb2)),
    string: Some(Color::from_hex(0x4cc300)),
    function: Some(Color::from_hex(0x008df5)),
    variable: Some(Color::from_hex(0xff0000)),
    r#type: Some(Color::from_hex(0xe2bf00)),
    constant: Some(Color::from_hex(0xe28400)),
    operator: Some(Color::from_hex(0x4f4f4f)),
    tag: Some(Color::from_hex(0xff0000)),
    error: Some(Color::from_hex(0xff0000)),
    warning: Some(Color::from_hex(0xe2bf00)),
    info: Some(Color::from_hex(0x008df5)),
    success: Some(Color::from_hex(0x4cc300)),
    red: Some(Color::from_hex(0xff0012)),
    orange: Some(Color::from_hex(0xe28400)),
    yellow: Some(Color::from_hex(0xffeb00)),
    green: Some(Color::from_hex(0x8af600)),
    cyan: Some(Color::from_hex(0x00bdc3)),
    blue: Some(Color::from_hex(0x00f6fa)),
    purple: Some(Color::from_hex(0x75beff)),
    magenta: Some(Color::from_hex(0xd798d0)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0xfeffff),
        base01: Color::from_hex(0xf1f1f1),
        base02: Color::from_hex(0xdcdcdc),
        base03: Color::from_hex(0xcccccc),
        base04: Color::from_hex(0x757575),
        base05: Color::from_hex(0x4f4f4f),
        base06: Color::from_hex(0x323232),
        base07: Color::from_hex(0x000000),
        base08: Color::from_hex(0xff0000),
        base09: Color::from_hex(0xe28400),
        base0a: Color::from_hex(0xe2bf00),
        base0b: Color::from_hex(0x4cc300),
        base0c: Color::from_hex(0x00bdc3),
        base0d: Color::from_hex(0x008df5),
        base0e: Color::from_hex(0xa86bb2),
        base0f: Color::from_hex(0x7f0000),
    },
    base10: Color::from_hex(0x50524e),
    base11: Color::from_hex(0x282927),
    base12: Color::from_hex(0xff0012),
    base13: Color::from_hex(0xffeb00),
    base14: Color::from_hex(0x8af600),
    base15: Color::from_hex(0x00f6fa),
    base16: Color::from_hex(0x75beff),
    base17: Color::from_hex(0xd798d0),
};