chromata 1.0.0

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

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

/// Kanagawa
///
/// Author: Tommaso Laurenzi (https://github.com/rebelot)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Kanagawa"),
    author: Cow::Borrowed("Tommaso Laurenzi (https://github.com/rebelot)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x1f1f28),
    fg: Color::from_hex(0xdcd7ba),
    cursor: Some(Color::from_hex(0xdcd7ba)),
    selection: Some(Color::from_hex(0x223249)),
    line_highlight: Some(Color::from_hex(0x16161d)),
    gutter: Some(Color::from_hex(0x54546d)),
    statusbar_bg: Some(Color::from_hex(0x16161d)),
    statusbar_fg: Some(Color::from_hex(0x727169)),
    comment: Some(Color::from_hex(0x54546d)),
    keyword: Some(Color::from_hex(0x957fb8)),
    string: Some(Color::from_hex(0x76946a)),
    function: Some(Color::from_hex(0x7e9cd8)),
    variable: Some(Color::from_hex(0xc34043)),
    r#type: Some(Color::from_hex(0xc0a36e)),
    constant: Some(Color::from_hex(0xffa066)),
    operator: Some(Color::from_hex(0xdcd7ba)),
    tag: Some(Color::from_hex(0xc34043)),
    error: Some(Color::from_hex(0xc34043)),
    warning: Some(Color::from_hex(0xc0a36e)),
    info: Some(Color::from_hex(0x7e9cd8)),
    success: Some(Color::from_hex(0x76946a)),
    red: Some(Color::from_hex(0xc34043)),
    orange: Some(Color::from_hex(0xffa066)),
    yellow: Some(Color::from_hex(0xc0a36e)),
    green: Some(Color::from_hex(0x76946a)),
    cyan: Some(Color::from_hex(0x6a9589)),
    blue: Some(Color::from_hex(0x7e9cd8)),
    purple: Some(Color::from_hex(0x957fb8)),
    magenta: Some(Color::from_hex(0xd27e99)),
};