chromata 1.0.0

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

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

/// Ayu Light
///
/// Author: Tinted Theming (https://github.com/tinted-theming), Ayu Theme (https://github.com/ayu-theme)
/// Variant: Light
/// Contrast: Normal
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Ayu Light"),
    author: Cow::Borrowed(
        "Tinted Theming (https://github.com/tinted-theming), Ayu Theme (https://github.com/ayu-theme)",
    ),
    variant: Variant::Light,
    contrast: Contrast::Normal,
    bg: Color::from_hex(0xf8f9fa),
    fg: Color::from_hex(0x5c6166),
    cursor: Some(Color::from_hex(0x5c6166)),
    selection: Some(Color::from_hex(0xd2d4d8)),
    line_highlight: Some(Color::from_hex(0xedeff1)),
    gutter: Some(Color::from_hex(0xa0a6ac)),
    statusbar_bg: Some(Color::from_hex(0xedeff1)),
    statusbar_fg: Some(Color::from_hex(0x8a9199)),
    comment: Some(Color::from_hex(0xa0a6ac)),
    keyword: Some(Color::from_hex(0xa37acc)),
    string: Some(Color::from_hex(0x6cbf49)),
    function: Some(Color::from_hex(0x399ee6)),
    variable: Some(Color::from_hex(0xf07171)),
    r#type: Some(Color::from_hex(0xf2ae49)),
    constant: Some(Color::from_hex(0xfa8d3e)),
    operator: Some(Color::from_hex(0x5c6166)),
    tag: Some(Color::from_hex(0xf07171)),
    error: Some(Color::from_hex(0xf07171)),
    warning: Some(Color::from_hex(0xf2ae49)),
    info: Some(Color::from_hex(0x399ee6)),
    success: Some(Color::from_hex(0x6cbf49)),
    red: Some(Color::from_hex(0xf07171)),
    orange: Some(Color::from_hex(0xfa8d3e)),
    yellow: Some(Color::from_hex(0xf2ae49)),
    green: Some(Color::from_hex(0x6cbf49)),
    cyan: Some(Color::from_hex(0x4cbf99)),
    blue: Some(Color::from_hex(0x399ee6)),
    purple: Some(Color::from_hex(0xa37acc)),
    magenta: Some(Color::from_hex(0xe6ba7e)),
};