chromata 1.0.0

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

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

/// Catppuccin Latte
///
/// Author: https://github.com/catppuccin/catppuccin
/// Variant: Light
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Catppuccin Latte"),
    author: Cow::Borrowed("https://github.com/catppuccin/catppuccin"),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xeff1f5),
    fg: Color::from_hex(0x4c4f69),
    cursor: Some(Color::from_hex(0x4c4f69)),
    selection: Some(Color::from_hex(0xccd0da)),
    line_highlight: Some(Color::from_hex(0xe6e9ef)),
    gutter: Some(Color::from_hex(0xbcc0cc)),
    statusbar_bg: Some(Color::from_hex(0xe6e9ef)),
    statusbar_fg: Some(Color::from_hex(0xacb0be)),
    comment: Some(Color::from_hex(0xbcc0cc)),
    keyword: Some(Color::from_hex(0x8839ef)),
    string: Some(Color::from_hex(0x40a02b)),
    function: Some(Color::from_hex(0x1e66f5)),
    variable: Some(Color::from_hex(0xd20f39)),
    r#type: Some(Color::from_hex(0xdf8e1d)),
    constant: Some(Color::from_hex(0xfe640b)),
    operator: Some(Color::from_hex(0x4c4f69)),
    tag: Some(Color::from_hex(0xd20f39)),
    error: Some(Color::from_hex(0xd20f39)),
    warning: Some(Color::from_hex(0xdf8e1d)),
    info: Some(Color::from_hex(0x1e66f5)),
    success: Some(Color::from_hex(0x40a02b)),
    red: Some(Color::from_hex(0xd20f39)),
    orange: Some(Color::from_hex(0xfe640b)),
    yellow: Some(Color::from_hex(0xdf8e1d)),
    green: Some(Color::from_hex(0x40a02b)),
    cyan: Some(Color::from_hex(0x179299)),
    blue: Some(Color::from_hex(0x1e66f5)),
    purple: Some(Color::from_hex(0x8839ef)),
    magenta: Some(Color::from_hex(0xdd7878)),
};