chromata 1.0.0

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

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

/// One Light
///
/// Author: Daniel Pfeifer (http://github.com/purpleKarrot)
/// Variant: Light
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("One Light"),
    author: Cow::Borrowed("Daniel Pfeifer (http://github.com/purpleKarrot)"),
    variant: Variant::Light,
    contrast: Contrast::High,
    bg: Color::from_hex(0xfafafa),
    fg: Color::from_hex(0x383a42),
    cursor: Some(Color::from_hex(0x383a42)),
    selection: Some(Color::from_hex(0xe5e5e6)),
    line_highlight: Some(Color::from_hex(0xf0f0f1)),
    gutter: Some(Color::from_hex(0xa0a1a7)),
    statusbar_bg: Some(Color::from_hex(0xf0f0f1)),
    statusbar_fg: Some(Color::from_hex(0x696c77)),
    comment: Some(Color::from_hex(0xa0a1a7)),
    keyword: Some(Color::from_hex(0xa626a4)),
    string: Some(Color::from_hex(0x50a14f)),
    function: Some(Color::from_hex(0x4078f2)),
    variable: Some(Color::from_hex(0xca1243)),
    r#type: Some(Color::from_hex(0xc18401)),
    constant: Some(Color::from_hex(0xd75f00)),
    operator: Some(Color::from_hex(0x383a42)),
    tag: Some(Color::from_hex(0xca1243)),
    error: Some(Color::from_hex(0xca1243)),
    warning: Some(Color::from_hex(0xc18401)),
    info: Some(Color::from_hex(0x4078f2)),
    success: Some(Color::from_hex(0x50a14f)),
    red: Some(Color::from_hex(0xca1243)),
    orange: Some(Color::from_hex(0xd75f00)),
    yellow: Some(Color::from_hex(0xc18401)),
    green: Some(Color::from_hex(0x50a14f)),
    cyan: Some(Color::from_hex(0x0184bc)),
    blue: Some(Color::from_hex(0x4078f2)),
    purple: Some(Color::from_hex(0xa626a4)),
    magenta: Some(Color::from_hex(0x986801)),
};