chromata 1.0.0

1000+ editor color themes as compile-time Rust constants
Documentation
//! Catppuccin Macchiato color theme.
//!
//! Auto-generated by `cargo xtask generate base16` — do not edit.

use crate::{Color, Contrast, Theme, Variant};
use alloc::borrow::Cow;

/// Catppuccin Macchiato
///
/// Author: https://github.com/catppuccin/catppuccin
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Catppuccin Macchiato"),
    author: Cow::Borrowed("https://github.com/catppuccin/catppuccin"),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x24273a),
    fg: Color::from_hex(0xcad3f5),
    cursor: Some(Color::from_hex(0xcad3f5)),
    selection: Some(Color::from_hex(0x363a4f)),
    line_highlight: Some(Color::from_hex(0x1e2030)),
    gutter: Some(Color::from_hex(0x494d64)),
    statusbar_bg: Some(Color::from_hex(0x1e2030)),
    statusbar_fg: Some(Color::from_hex(0x5b6078)),
    comment: Some(Color::from_hex(0x494d64)),
    keyword: Some(Color::from_hex(0xc6a0f6)),
    string: Some(Color::from_hex(0xa6da95)),
    function: Some(Color::from_hex(0x8aadf4)),
    variable: Some(Color::from_hex(0xed8796)),
    r#type: Some(Color::from_hex(0xeed49f)),
    constant: Some(Color::from_hex(0xf5a97f)),
    operator: Some(Color::from_hex(0xcad3f5)),
    tag: Some(Color::from_hex(0xed8796)),
    error: Some(Color::from_hex(0xed8796)),
    warning: Some(Color::from_hex(0xeed49f)),
    info: Some(Color::from_hex(0x8aadf4)),
    success: Some(Color::from_hex(0xa6da95)),
    red: Some(Color::from_hex(0xed8796)),
    orange: Some(Color::from_hex(0xf5a97f)),
    yellow: Some(Color::from_hex(0xeed49f)),
    green: Some(Color::from_hex(0xa6da95)),
    cyan: Some(Color::from_hex(0x8bd5ca)),
    blue: Some(Color::from_hex(0x8aadf4)),
    purple: Some(Color::from_hex(0xc6a0f6)),
    magenta: Some(Color::from_hex(0xf0c6c6)),
};