chromata 1.0.0

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

/// Vibrant Ink
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: High
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Vibrant Ink"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x000000),
    fg: Color::from_hex(0xcdcdcd),
    cursor: Some(Color::from_hex(0xcdcdcd)),
    selection: Some(Color::from_hex(0x555555)),
    line_highlight: Some(Color::from_hex(0x878787)),
    gutter: Some(Color::from_hex(0x7d7d7d)),
    statusbar_bg: Some(Color::from_hex(0x878787)),
    statusbar_fg: Some(Color::from_hex(0xa5a5a5)),
    comment: Some(Color::from_hex(0x7d7d7d)),
    keyword: Some(Color::from_hex(0x9933cc)),
    string: Some(Color::from_hex(0xccff04)),
    function: Some(Color::from_hex(0x44b3cc)),
    variable: Some(Color::from_hex(0xff6600)),
    r#type: Some(Color::from_hex(0x0000ff)),
    constant: Some(Color::from_hex(0xffcc00)),
    operator: Some(Color::from_hex(0xcdcdcd)),
    tag: Some(Color::from_hex(0xff6600)),
    error: Some(Color::from_hex(0xff6600)),
    warning: Some(Color::from_hex(0x0000ff)),
    info: Some(Color::from_hex(0x44b3cc)),
    success: Some(Color::from_hex(0xccff04)),
    red: Some(Color::from_hex(0xff0000)),
    orange: Some(Color::from_hex(0xffcc00)),
    yellow: Some(Color::from_hex(0xffff00)),
    green: Some(Color::from_hex(0x00ff00)),
    cyan: Some(Color::from_hex(0x44b3cc)),
    blue: Some(Color::from_hex(0x00ffff)),
    purple: Some(Color::from_hex(0x0000ff)),
    magenta: Some(Color::from_hex(0xff00ff)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x000000),
        base01: Color::from_hex(0x878787),
        base02: Color::from_hex(0x555555),
        base03: Color::from_hex(0x7d7d7d),
        base04: Color::from_hex(0xa5a5a5),
        base05: Color::from_hex(0xcdcdcd),
        base06: Color::from_hex(0xf5f5f5),
        base07: Color::from_hex(0xe5e5e5),
        base08: Color::from_hex(0xff6600),
        base09: Color::from_hex(0xffcc00),
        base0a: Color::from_hex(0x0000ff),
        base0b: Color::from_hex(0xccff04),
        base0c: Color::from_hex(0x44b3cc),
        base0d: Color::from_hex(0x44b3cc),
        base0e: Color::from_hex(0x9933cc),
        base0f: Color::from_hex(0x7f3300),
    },
    base10: Color::from_hex(0x383838),
    base11: Color::from_hex(0x1c1c1c),
    base12: Color::from_hex(0xff0000),
    base13: Color::from_hex(0xffff00),
    base14: Color::from_hex(0x00ff00),
    base15: Color::from_hex(0x00ffff),
    base16: Color::from_hex(0x0000ff),
    base17: Color::from_hex(0xff00ff),
};