chromata 1.0.0

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

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

/// Rosé Pine
///
/// Author: Emilia Dunfelt <edun@dunfelt.se>
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Rosé Pine"),
    author: Cow::Borrowed("Emilia Dunfelt <edun@dunfelt.se>"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x191724),
    fg: Color::from_hex(0xe0def4),
    cursor: Some(Color::from_hex(0xe0def4)),
    selection: Some(Color::from_hex(0x26233a)),
    line_highlight: Some(Color::from_hex(0x1f1d2e)),
    gutter: Some(Color::from_hex(0x6e6a86)),
    statusbar_bg: Some(Color::from_hex(0x1f1d2e)),
    statusbar_fg: Some(Color::from_hex(0x908caa)),
    comment: Some(Color::from_hex(0x6e6a86)),
    keyword: Some(Color::from_hex(0xf6c177)),
    string: Some(Color::from_hex(0x31748f)),
    function: Some(Color::from_hex(0xc4a7e7)),
    variable: Some(Color::from_hex(0xeb6f92)),
    r#type: Some(Color::from_hex(0xebbcba)),
    constant: Some(Color::from_hex(0xf6c177)),
    operator: Some(Color::from_hex(0xe0def4)),
    tag: Some(Color::from_hex(0xeb6f92)),
    error: Some(Color::from_hex(0xeb6f92)),
    warning: Some(Color::from_hex(0xebbcba)),
    info: Some(Color::from_hex(0xc4a7e7)),
    success: Some(Color::from_hex(0x31748f)),
    red: Some(Color::from_hex(0xeb6f92)),
    orange: Some(Color::from_hex(0xf6c177)),
    yellow: Some(Color::from_hex(0xebbcba)),
    green: Some(Color::from_hex(0x31748f)),
    cyan: Some(Color::from_hex(0x9ccfd8)),
    blue: Some(Color::from_hex(0xc4a7e7)),
    purple: Some(Color::from_hex(0xf6c177)),
    magenta: Some(Color::from_hex(0x524f67)),
};