chromata 1.0.0

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

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

/// Measured Light
///
/// Author: Measured (https://measured.co)
/// Variant: Light
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Measured Light"),
    author: Cow::Borrowed("Measured (https://measured.co)"),
    variant: Variant::Light,
    contrast: Contrast::High,
    bg: Color::from_hex(0xfdf9f5),
    fg: Color::from_hex(0x292929),
    cursor: Some(Color::from_hex(0x292929)),
    selection: Some(Color::from_hex(0xffeada)),
    line_highlight: Some(Color::from_hex(0xf9f5f1)),
    gutter: Some(Color::from_hex(0x5a5a5a)),
    statusbar_bg: Some(Color::from_hex(0xf9f5f1)),
    statusbar_fg: Some(Color::from_hex(0x404040)),
    comment: Some(Color::from_hex(0x5a5a5a)),
    keyword: Some(Color::from_hex(0x6645c2)),
    string: Some(Color::from_hex(0x0c680c)),
    function: Some(Color::from_hex(0x0158ad)),
    variable: Some(Color::from_hex(0xac1f35)),
    r#type: Some(Color::from_hex(0x645a00)),
    constant: Some(Color::from_hex(0xad5601)),
    operator: Some(Color::from_hex(0x292929)),
    tag: Some(Color::from_hex(0xac1f35)),
    error: Some(Color::from_hex(0xac1f35)),
    warning: Some(Color::from_hex(0x645a00)),
    info: Some(Color::from_hex(0x0158ad)),
    success: Some(Color::from_hex(0x0c680c)),
    red: Some(Color::from_hex(0xac1f35)),
    orange: Some(Color::from_hex(0xad5601)),
    yellow: Some(Color::from_hex(0x645a00)),
    green: Some(Color::from_hex(0x0c680c)),
    cyan: Some(Color::from_hex(0x01716f)),
    blue: Some(Color::from_hex(0x0158ad)),
    purple: Some(Color::from_hex(0x6645c2)),
    magenta: Some(Color::from_hex(0xa81a66)),
};