chromata 1.0.0

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

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

/// Dracula
///
/// Author: Jamy Golden (http://github.com/JamyGolden), based on Dracula Theme (http://github.com/dracula)
/// Variant: Dark
/// Contrast: High
/// Source: base16 (tinted-theming/schemes)
pub const THEME: Theme = Theme {
    name: Cow::Borrowed("Dracula"),
    author: Cow::Borrowed(
        "Jamy Golden (http://github.com/JamyGolden), based on Dracula Theme (http://github.com/dracula)",
    ),
    variant: Variant::Dark,
    contrast: Contrast::High,
    bg: Color::from_hex(0x282a36),
    fg: Color::from_hex(0xf8f8f2),
    cursor: Some(Color::from_hex(0xf8f8f2)),
    selection: Some(Color::from_hex(0x44475a)),
    line_highlight: Some(Color::from_hex(0x363447)),
    gutter: Some(Color::from_hex(0x6272a4)),
    statusbar_bg: Some(Color::from_hex(0x363447)),
    statusbar_fg: Some(Color::from_hex(0x9ea8c7)),
    comment: Some(Color::from_hex(0x6272a4)),
    keyword: Some(Color::from_hex(0xff79c6)),
    string: Some(Color::from_hex(0x50fa7b)),
    function: Some(Color::from_hex(0x80bfff)),
    variable: Some(Color::from_hex(0xff5555)),
    r#type: Some(Color::from_hex(0xf1fa8c)),
    constant: Some(Color::from_hex(0xffb86c)),
    operator: Some(Color::from_hex(0xf8f8f2)),
    tag: Some(Color::from_hex(0xff5555)),
    error: Some(Color::from_hex(0xff5555)),
    warning: Some(Color::from_hex(0xf1fa8c)),
    info: Some(Color::from_hex(0x80bfff)),
    success: Some(Color::from_hex(0x50fa7b)),
    red: Some(Color::from_hex(0xff5555)),
    orange: Some(Color::from_hex(0xffb86c)),
    yellow: Some(Color::from_hex(0xf1fa8c)),
    green: Some(Color::from_hex(0x50fa7b)),
    cyan: Some(Color::from_hex(0x8be9fd)),
    blue: Some(Color::from_hex(0x80bfff)),
    purple: Some(Color::from_hex(0xff79c6)),
    magenta: Some(Color::from_hex(0xbd93f9)),
};