chromata 1.0.0

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

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

/// Railscasts
///
/// Author: Ryan Bates (http://railscasts.com)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Railscasts"),
    author: Cow::Borrowed("Ryan Bates (http://railscasts.com)"),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x2b2b2b),
    fg: Color::from_hex(0xe6e1dc),
    cursor: Some(Color::from_hex(0xe6e1dc)),
    selection: Some(Color::from_hex(0x3a4055)),
    line_highlight: Some(Color::from_hex(0x272935)),
    gutter: Some(Color::from_hex(0x5a647e)),
    statusbar_bg: Some(Color::from_hex(0x272935)),
    statusbar_fg: Some(Color::from_hex(0xd4cfc9)),
    comment: Some(Color::from_hex(0x5a647e)),
    keyword: Some(Color::from_hex(0xb6b3eb)),
    string: Some(Color::from_hex(0xa5c261)),
    function: Some(Color::from_hex(0x6d9cbe)),
    variable: Some(Color::from_hex(0xda4939)),
    r#type: Some(Color::from_hex(0xffc66d)),
    constant: Some(Color::from_hex(0xcc7833)),
    operator: Some(Color::from_hex(0xe6e1dc)),
    tag: Some(Color::from_hex(0xda4939)),
    error: Some(Color::from_hex(0xda4939)),
    warning: Some(Color::from_hex(0xffc66d)),
    info: Some(Color::from_hex(0x6d9cbe)),
    success: Some(Color::from_hex(0xa5c261)),
    red: Some(Color::from_hex(0xda4939)),
    orange: Some(Color::from_hex(0xcc7833)),
    yellow: Some(Color::from_hex(0xffc66d)),
    green: Some(Color::from_hex(0xa5c261)),
    cyan: Some(Color::from_hex(0x519f50)),
    blue: Some(Color::from_hex(0x6d9cbe)),
    purple: Some(Color::from_hex(0xb6b3eb)),
    magenta: Some(Color::from_hex(0xbc9458)),
};