chromata 1.0.0

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

/// Forest Blue
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Forest Blue"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x051519),
    fg: Color::from_hex(0xb8b1a9),
    cursor: Some(Color::from_hex(0xb8b1a9)),
    selection: Some(Color::from_hex(0x3d3d3d)),
    line_highlight: Some(Color::from_hex(0x333333)),
    gutter: Some(Color::from_hex(0x666361)),
    statusbar_bg: Some(Color::from_hex(0x333333)),
    statusbar_fg: Some(Color::from_hex(0x8f8a85)),
    comment: Some(Color::from_hex(0x666361)),
    keyword: Some(Color::from_hex(0x5e468c)),
    string: Some(Color::from_hex(0x92d3a2)),
    function: Some(Color::from_hex(0x8ed0ce)),
    variable: Some(Color::from_hex(0xf8818e)),
    r#type: Some(Color::from_hex(0x39a7a2)),
    constant: Some(Color::from_hex(0x1a8d63)),
    operator: Some(Color::from_hex(0xb8b1a9)),
    tag: Some(Color::from_hex(0xf8818e)),
    error: Some(Color::from_hex(0xf8818e)),
    warning: Some(Color::from_hex(0x39a7a2)),
    info: Some(Color::from_hex(0x8ed0ce)),
    success: Some(Color::from_hex(0x92d3a2)),
    red: Some(Color::from_hex(0xfb3d66)),
    orange: Some(Color::from_hex(0x1a8d63)),
    yellow: Some(Color::from_hex(0x2fc859)),
    green: Some(Color::from_hex(0x6bb48d)),
    cyan: Some(Color::from_hex(0x31658c)),
    blue: Some(Color::from_hex(0x6096bf)),
    purple: Some(Color::from_hex(0x39a7a2)),
    magenta: Some(Color::from_hex(0x7e62b3)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x051519),
        base01: Color::from_hex(0x333333),
        base02: Color::from_hex(0x3d3d3d),
        base03: Color::from_hex(0x666361),
        base04: Color::from_hex(0x8f8a85),
        base05: Color::from_hex(0xb8b1a9),
        base06: Color::from_hex(0xe2d8cd),
        base07: Color::from_hex(0xe2d8cd),
        base08: Color::from_hex(0xf8818e),
        base09: Color::from_hex(0x1a8d63),
        base0a: Color::from_hex(0x39a7a2),
        base0b: Color::from_hex(0x92d3a2),
        base0c: Color::from_hex(0x31658c),
        base0d: Color::from_hex(0x8ed0ce),
        base0e: Color::from_hex(0x5e468c),
        base0f: Color::from_hex(0x7c4047),
    },
    base10: Color::from_hex(0x282828),
    base11: Color::from_hex(0x141414),
    base12: Color::from_hex(0xfb3d66),
    base13: Color::from_hex(0x2fc859),
    base14: Color::from_hex(0x6bb48d),
    base15: Color::from_hex(0x6096bf),
    base16: Color::from_hex(0x39a7a2),
    base17: Color::from_hex(0x7e62b3),
};