summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Kiełbowicz <mpkielbowicz@gmail.com>2020-10-28 23:17:07 +0100
committerGitHub <noreply@github.com>2020-10-28 18:17:07 -0400
commit06e08b538b059e044c86150ecacc7a4794a20883 (patch)
tree9005e51df836e50c3a8616fb455a40a6696200bb
parent1ca06156570914b85875f95ab6ae1dcf685f082c (diff)
Add gruvbox light support (#369)
* Add gruvbox light support * Update binary assets from bat v0.16.0 Co-authored-by: Dan Davison <dandavison7@gmail.com>
-rw-r--r--etc/assets/syntaxes.binbin650615 -> 671149 bytes
-rw-r--r--etc/assets/themes.binbin14983 -> 16672 bytes
-rw-r--r--src/options/theme.rs4
3 files changed, 3 insertions, 1 deletions
diff --git a/etc/assets/syntaxes.bin b/etc/assets/syntaxes.bin
index 2b12fad9..a69ec6fe 100644
--- a/etc/assets/syntaxes.bin
+++ b/etc/assets/syntaxes.bin
Binary files differ
diff --git a/etc/assets/themes.bin b/etc/assets/themes.bin
index 9de98391..b8683424 100644
--- a/etc/assets/themes.bin
+++ b/etc/assets/themes.bin
Binary files 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",