chromata 1.0.0

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

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

/// Ayu Mirage
///
/// Author: Tinted Theming (https://github.com/tinted-theming), Ayu Theme (https://github.com/ayu-theme)
/// Variant: Dark
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Ayu Mirage"),
    author: Cow::Borrowed(
        "Tinted Theming (https://github.com/tinted-theming), Ayu Theme (https://github.com/ayu-theme)",
    ),
    variant: Variant::Dark,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0x1f2430),
    fg: Color::from_hex(0xcccac2),
    cursor: Some(Color::from_hex(0xcccac2)),
    selection: Some(Color::from_hex(0x323844)),
    line_highlight: Some(Color::from_hex(0x242936)),
    gutter: Some(Color::from_hex(0x4a5059)),
    statusbar_bg: Some(Color::from_hex(0x242936)),
    statusbar_fg: Some(Color::from_hex(0x707a8c)),
    comment: Some(Color::from_hex(0x4a5059)),
    keyword: Some(Color::from_hex(0xd4bfff)),
    string: Some(Color::from_hex(0xd5ff80)),
    function: Some(Color::from_hex(0x73d0ff)),
    variable: Some(Color::from_hex(0xf28779)),
    r#type: Some(Color::from_hex(0xffd173)),
    constant: Some(Color::from_hex(0xffad66)),
    operator: Some(Color::from_hex(0xcccac2)),
    tag: Some(Color::from_hex(0xf28779)),
    error: Some(Color::from_hex(0xf28779)),
    warning: Some(Color::from_hex(0xffd173)),
    info: Some(Color::from_hex(0x73d0ff)),
    success: Some(Color::from_hex(0xd5ff80)),
    red: Some(Color::from_hex(0xf28779)),
    orange: Some(Color::from_hex(0xffad66)),
    yellow: Some(Color::from_hex(0xffd173)),
    green: Some(Color::from_hex(0xd5ff80)),
    cyan: Some(Color::from_hex(0x95e6cb)),
    blue: Some(Color::from_hex(0x73d0ff)),
    purple: Some(Color::from_hex(0xd4bfff)),
    magenta: Some(Color::from_hex(0xf27983)),
};