From 06e08b538b059e044c86150ecacc7a4794a20883 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kie=C5=82bowicz?= Date: Wed, 28 Oct 2020 23:17:07 +0100 Subject: Add gruvbox light support (#369) * Add gruvbox light support * Update binary assets from bat v0.16.0 Co-authored-by: Dan Davison --- etc/assets/syntaxes.bin | Bin 650615 -> 671149 bytes etc/assets/themes.bin | Bin 14983 -> 16672 bytes src/options/theme.rs | 4 +++- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/assets/syntaxes.bin b/etc/assets/syntaxes.bin index 2b12fad9..a69ec6fe 100644 Binary files a/etc/assets/syntaxes.bin and b/etc/assets/syntaxes.bin differ diff --git a/etc/assets/themes.bin b/etc/assets/themes.bin index 9de98391..b8683424 100644 Binary files a/etc/assets/themes.bin and b/etc/assets/themes.bin differ diff --git a/src/options/theme.rs b/src/options/theme.rs index 909b29f8..7e980f15 100644 --- a/src/options/theme.rs +++ b/src/options/theme.rs @@ -38,8 +38,10 @@ pub fn is_light_syntax_theme(theme: &str) -> bool { LIGHT_SYNTAX_THEMES.contains(&theme) } -const LIGHT_SYNTAX_THEMES: [&str; 5] = [ +const LIGHT_SYNTAX_THEMES: [&str; 7] = [ "GitHub", + "gruvbox-light", + "gruvbox-white", "Monokai Extended Light", "OneHalfLight", "ansi-light", -- cgit v1.2.3