use crate::{Base16Palette, Base24Palette, Color, Contrast, Theme, Variant};
use alloc::borrow::Cow;
pub const THEME: Theme = Theme {
name: Cow::Borrowed("Gruvbox Dark"),
author: Cow::Borrowed(
"Tinted Theming (https://github.com/tinted-theming), morhetz (https://github.com/morhetz/gruvbox)",
),
variant: Variant::Dark,
contrast: Contrast::High,
bg: Color::from_hex(0x282828),
fg: Color::from_hex(0xebdbb2),
cursor: Some(Color::from_hex(0xebdbb2)),
selection: Some(Color::from_hex(0x504945)),
line_highlight: Some(Color::from_hex(0x3c3836)),
gutter: Some(Color::from_hex(0x665c54)),
statusbar_bg: Some(Color::from_hex(0x3c3836)),
statusbar_fg: Some(Color::from_hex(0x928374)),
comment: Some(Color::from_hex(0x665c54)),
keyword: Some(Color::from_hex(0xb16286)),
string: Some(Color::from_hex(0x98971a)),
function: Some(Color::from_hex(0x458588)),
variable: Some(Color::from_hex(0xcc241d)),
r#type: Some(Color::from_hex(0xd79921)),
constant: Some(Color::from_hex(0xd65d0e)),
operator: Some(Color::from_hex(0xebdbb2)),
tag: Some(Color::from_hex(0xcc241d)),
error: Some(Color::from_hex(0xcc241d)),
warning: Some(Color::from_hex(0xd79921)),
info: Some(Color::from_hex(0x458588)),
success: Some(Color::from_hex(0x98971a)),
red: Some(Color::from_hex(0xfb4934)),
orange: Some(Color::from_hex(0xd65d0e)),
yellow: Some(Color::from_hex(0xfabd2f)),
green: Some(Color::from_hex(0xb8bb26)),
cyan: Some(Color::from_hex(0x689d6a)),
blue: Some(Color::from_hex(0x8ec07c)),
purple: Some(Color::from_hex(0x83a598)),
magenta: Some(Color::from_hex(0xd3869b)),
};
pub const PALETTE: Base24Palette = Base24Palette {
base: Base16Palette {
base00: Color::from_hex(0x282828),
base01: Color::from_hex(0x3c3836),
base02: Color::from_hex(0x504945),
base03: Color::from_hex(0x665c54),
base04: Color::from_hex(0x928374),
base05: Color::from_hex(0xebdbb2),
base06: Color::from_hex(0xfbf1c7),
base07: Color::from_hex(0xf9f5d7),
base08: Color::from_hex(0xcc241d),
base09: Color::from_hex(0xd65d0e),
base0a: Color::from_hex(0xd79921),
base0b: Color::from_hex(0x98971a),
base0c: Color::from_hex(0x689d6a),
base0d: Color::from_hex(0x458588),
base0e: Color::from_hex(0xb16286),
base0f: Color::from_hex(0x9d0006),
},
base10: Color::from_hex(0x2a2520),
base11: Color::from_hex(0x1d1d1d),
base12: Color::from_hex(0xfb4934),
base13: Color::from_hex(0xfabd2f),
base14: Color::from_hex(0xb8bb26),
base15: Color::from_hex(0x8ec07c),
base16: Color::from_hex(0x83a598),
base17: Color::from_hex(0xd3869b),
};