chromata 1.0.0

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

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

/// Kanagawa Dragon
///
/// Author: Stefan Weigl-Bosker (https://github.com/sweiglbosker), Tommaso Laurenzi (https://github.com/rebelot/kanagawa.nvim)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Kanagawa Dragon"),
    author: Cow::Borrowed(
        "Stefan Weigl-Bosker (https://github.com/sweiglbosker), Tommaso Laurenzi (https://github.com/rebelot/kanagawa.nvim)",
    ),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x181616),
    fg: Color::from_hex(0xc5c9c5),
    cursor: Some(Color::from_hex(0xc5c9c5)),
    selection: Some(Color::from_hex(0x393836)),
    line_highlight: Some(Color::from_hex(0x282727)),
    gutter: Some(Color::from_hex(0x625e5a)),
    statusbar_bg: Some(Color::from_hex(0x282727)),
    statusbar_fg: Some(Color::from_hex(0x737c73)),
    comment: Some(Color::from_hex(0x625e5a)),
    keyword: Some(Color::from_hex(0xa292a3)),
    string: Some(Color::from_hex(0x8a9a7b)),
    function: Some(Color::from_hex(0x8ba4b0)),
    variable: Some(Color::from_hex(0xc4746e)),
    r#type: Some(Color::from_hex(0xc4b28a)),
    constant: Some(Color::from_hex(0xb6927b)),
    operator: Some(Color::from_hex(0xc5c9c5)),
    tag: Some(Color::from_hex(0xc4746e)),
    error: Some(Color::from_hex(0xc4746e)),
    warning: Some(Color::from_hex(0xc4b28a)),
    info: Some(Color::from_hex(0x8ba4b0)),
    success: Some(Color::from_hex(0x8a9a7b)),
    red: Some(Color::from_hex(0xc4746e)),
    orange: Some(Color::from_hex(0xb6927b)),
    yellow: Some(Color::from_hex(0xc4b28a)),
    green: Some(Color::from_hex(0x8a9a7b)),
    cyan: Some(Color::from_hex(0x8ea4a2)),
    blue: Some(Color::from_hex(0x8ba4b0)),
    purple: Some(Color::from_hex(0xa292a3)),
    magenta: Some(Color::from_hex(0xb98d7b)),
};