chromata 1.0.0

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

/// Bluloco Dark
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Bluloco Dark"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1e2027),
    fg: Color::from_hex(0xb1bac9),
    cursor: Some(Color::from_hex(0xb1bac9)),
    selection: Some(Color::from_hex(0x60697a)),
    line_highlight: Some(Color::from_hex(0x494f5c)),
    gutter: Some(Color::from_hex(0x7b8494)),
    statusbar_bg: Some(Color::from_hex(0x494f5c)),
    statusbar_fg: Some(Color::from_hex(0x969faf)),
    comment: Some(Color::from_hex(0x7b8494)),
    keyword: Some(Color::from_hex(0x8c62fd)),
    string: Some(Color::from_hex(0x23974a)),
    function: Some(Color::from_hex(0x285afe)),
    variable: Some(Color::from_hex(0xf71041)),
    r#type: Some(Color::from_hex(0x189ffd)),
    constant: Some(Color::from_hex(0xfc7e57)),
    operator: Some(Color::from_hex(0xb1bac9)),
    tag: Some(Color::from_hex(0xf71041)),
    error: Some(Color::from_hex(0xf71041)),
    warning: Some(Color::from_hex(0x189ffd)),
    info: Some(Color::from_hex(0x285afe)),
    success: Some(Color::from_hex(0x23974a)),
    red: Some(Color::from_hex(0xfb496d)),
    orange: Some(Color::from_hex(0xfc7e57)),
    yellow: Some(Color::from_hex(0xf6bd47)),
    green: Some(Color::from_hex(0x37bc58)),
    cyan: Some(Color::from_hex(0x366f99)),
    blue: Some(Color::from_hex(0x4fabad)),
    purple: Some(Color::from_hex(0x189ffd)),
    magenta: Some(Color::from_hex(0xfb57f6)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x1e2027),
        base01: Color::from_hex(0x494f5c),
        base02: Color::from_hex(0x60697a),
        base03: Color::from_hex(0x7b8494),
        base04: Color::from_hex(0x969faf),
        base05: Color::from_hex(0xb1bac9),
        base06: Color::from_hex(0xccd5e4),
        base07: Color::from_hex(0xfefefe),
        base08: Color::from_hex(0xf71041),
        base09: Color::from_hex(0xfc7e57),
        base0a: Color::from_hex(0x189ffd),
        base0b: Color::from_hex(0x23974a),
        base0c: Color::from_hex(0x366f99),
        base0d: Color::from_hex(0x285afe),
        base0e: Color::from_hex(0x8c62fd),
        base0f: Color::from_hex(0x7b0820),
    },
    base10: Color::from_hex(0x404651),
    base11: Color::from_hex(0x202328),
    base12: Color::from_hex(0xfb496d),
    base13: Color::from_hex(0xf6bd47),
    base14: Color::from_hex(0x37bc58),
    base15: Color::from_hex(0x4fabad),
    base16: Color::from_hex(0x189ffd),
    base17: Color::from_hex(0xfb57f6),
};