use crate::{Base16Palette, Base24Palette, Color, Contrast, Theme, Variant};
use alloc::borrow::Cow;
pub const THEME: Theme = Theme {
name: Cow::Borrowed("Github Dark"),
author: Cow::Borrowed("Tinted Theming (https://github.com/tinted-theming)"),
variant: Variant::Dark,
contrast: Contrast::High,
bg: Color::from_hex(0x161b22),
fg: Color::from_hex(0xc9d1d9),
cursor: Some(Color::from_hex(0xc9d1d9)),
selection: Some(Color::from_hex(0x484f58)),
line_highlight: Some(Color::from_hex(0x30363d)),
gutter: Some(Color::from_hex(0x6e7681)),
statusbar_bg: Some(Color::from_hex(0x30363d)),
statusbar_fg: Some(Color::from_hex(0x8b949e)),
comment: Some(Color::from_hex(0x6e7681)),
keyword: Some(Color::from_hex(0xa371f7)),
string: Some(Color::from_hex(0x2ea043)),
function: Some(Color::from_hex(0x388bfd)),
variable: Some(Color::from_hex(0xf85149)),
r#type: Some(Color::from_hex(0xbb8009)),
constant: Some(Color::from_hex(0xdb6d28)),
operator: Some(Color::from_hex(0xc9d1d9)),
tag: Some(Color::from_hex(0xf85149)),
error: Some(Color::from_hex(0xf85149)),
warning: Some(Color::from_hex(0xbb8009)),
info: Some(Color::from_hex(0x388bfd)),
success: Some(Color::from_hex(0x2ea043)),
red: Some(Color::from_hex(0xff7b72)),
orange: Some(Color::from_hex(0xdb6d28)),
yellow: Some(Color::from_hex(0xd29922)),
green: Some(Color::from_hex(0x3fb950)),
cyan: Some(Color::from_hex(0x2a9d9a)),
blue: Some(Color::from_hex(0x33b3ae)),
purple: Some(Color::from_hex(0x58a6ff)),
magenta: Some(Color::from_hex(0xbc8cff)),
};
pub const PALETTE: Base24Palette = Base24Palette {
base: Base16Palette {
base00: Color::from_hex(0x161b22),
base01: Color::from_hex(0x30363d),
base02: Color::from_hex(0x484f58),
base03: Color::from_hex(0x6e7681),
base04: Color::from_hex(0x8b949e),
base05: Color::from_hex(0xc9d1d9),
base06: Color::from_hex(0xf0f6fc),
base07: Color::from_hex(0xffffff),
base08: Color::from_hex(0xf85149),
base09: Color::from_hex(0xdb6d28),
base0a: Color::from_hex(0xbb8009),
base0b: Color::from_hex(0x2ea043),
base0c: Color::from_hex(0x2a9d9a),
base0d: Color::from_hex(0x388bfd),
base0e: Color::from_hex(0xa371f7),
base0f: Color::from_hex(0x3d2f00),
},
base10: Color::from_hex(0x1f2328),
base11: Color::from_hex(0x000000),
base12: Color::from_hex(0xff7b72),
base13: Color::from_hex(0xd29922),
base14: Color::from_hex(0x3fb950),
base15: Color::from_hex(0x33b3ae),
base16: Color::from_hex(0x58a6ff),
base17: Color::from_hex(0xbc8cff),
};