chromata 1.0.0

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

/// Fish Tank
///
/// Author: FredHappyface (https://github.com/fredHappyface)
/// Variant: Dark
/// Contrast: Normal
/// Source: base24 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Fish Tank"),
    author: Cow::Borrowed("FredHappyface (https://github.com/fredHappyface)"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x222436),
    fg: Color::from_hex(0xccc9c9),
    cursor: Some(Color::from_hex(0xccc9c9)),
    selection: Some(Color::from_hex(0x6c5a30)),
    line_highlight: Some(Color::from_hex(0x03063c)),
    gutter: Some(Color::from_hex(0x8c7f63)),
    statusbar_bg: Some(Color::from_hex(0x03063c)),
    statusbar_fg: Some(Color::from_hex(0xaca496)),
    comment: Some(Color::from_hex(0x8c7f63)),
    keyword: Some(Color::from_hex(0x976f81)),
    string: Some(Color::from_hex(0xabf157)),
    function: Some(Color::from_hex(0x525fb8)),
    variable: Some(Color::from_hex(0xc60049)),
    r#type: Some(Color::from_hex(0xb1bdf9)),
    constant: Some(Color::from_hex(0xfdcd5e)),
    operator: Some(Color::from_hex(0xccc9c9)),
    tag: Some(Color::from_hex(0xc60049)),
    error: Some(Color::from_hex(0xc60049)),
    warning: Some(Color::from_hex(0xb1bdf9)),
    info: Some(Color::from_hex(0x525fb8)),
    success: Some(Color::from_hex(0xabf157)),
    red: Some(Color::from_hex(0xd94a8a)),
    orange: Some(Color::from_hex(0xfdcd5e)),
    yellow: Some(Color::from_hex(0xfee6a8)),
    green: Some(Color::from_hex(0xdaffa8)),
    cyan: Some(Color::from_hex(0x968662)),
    blue: Some(Color::from_hex(0xa4bc86)),
    purple: Some(Color::from_hex(0xb1bdf9)),
    magenta: Some(Color::from_hex(0xfda4cc)),
};

/// Full base24 palette with all 24 color slots.
pub const PALETTE: Base24Palette = Base24Palette {
    base: Base16Palette {
        base00: Color::from_hex(0x222436),
        base01: Color::from_hex(0x03063c),
        base02: Color::from_hex(0x6c5a30),
        base03: Color::from_hex(0x8c7f63),
        base04: Color::from_hex(0xaca496),
        base05: Color::from_hex(0xccc9c9),
        base06: Color::from_hex(0xeceffc),
        base07: Color::from_hex(0xf6ffec),
        base08: Color::from_hex(0xc60049),
        base09: Color::from_hex(0xfdcd5e),
        base0a: Color::from_hex(0xb1bdf9),
        base0b: Color::from_hex(0xabf157),
        base0c: Color::from_hex(0x968662),
        base0d: Color::from_hex(0x525fb8),
        base0e: Color::from_hex(0x976f81),
        base0f: Color::from_hex(0x630024),
    },
    base10: Color::from_hex(0x483c20),
    base11: Color::from_hex(0x241e10),
    base12: Color::from_hex(0xd94a8a),
    base13: Color::from_hex(0xfee6a8),
    base14: Color::from_hex(0xdaffa8),
    base15: Color::from_hex(0xa4bc86),
    base16: Color::from_hex(0xb1bdf9),
    base17: Color::from_hex(0xfda4cc),
};