summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2021-09-04 09:43:58 +1000
committerMaxime Coste <mawww@kakoune.org>2021-09-04 09:43:58 +1000
commit3551cbb7053fa3c679e822a62af24e67dfdc67c4 (patch)
treec40414e6e2903a09e65b5ca74fadc4371c316cc6
parent8b59a1e27b8d22c9ea43585673b854219e4e90e6 (diff)
parent692f03edd33447a7de201434283ba5ffd1fe7914 (diff)
Merge remote-tracking branch 'basbebe/gruvbox-light'
-rw-r--r--colors/gruvbox-dark.kak (renamed from colors/gruvbox.kak)2
-rw-r--r--colors/gruvbox-light.kak77
2 files changed, 78 insertions, 1 deletions
diff --git a/colors/gruvbox.kak b/colors/gruvbox-dark.kak
index 4ae04f91..73b10621 100644
--- a/colors/gruvbox.kak
+++ b/colors/gruvbox-dark.kak
@@ -1,4 +1,4 @@
-# gruvbox theme
+# gruvbox-dark theme
evaluate-commands %sh{
gray="rgb:928374"
diff --git a/colors/gruvbox-light.kak b/colors/gruvbox-light.kak
new file mode 100644
index 00000000..c0ff7f82
--- /dev/null
+++ b/colors/gruvbox-light.kak
@@ -0,0 +1,77 @@
+# gruvbox light theme
+
+evaluate-commands %sh{
+ gray="rgb:928374"
+ red="rgb:9d0006"
+ green="rgb:79740e"
+ yellow="rgb:b57614"
+ blue="rgb:876678"
+ purple="rgb:8f3f71"
+ aqua="rgb:427b58"
+ orange="rgb:af3a03"
+
+ bg="rgb:fbf1c7"
+ bg_alpha="rgba:fbf1c7a0"
+ bg1="rgb:ebdbb2"
+ bg2="rgb:d5c4a1"
+ bg3="rgb:bdae93"
+ bg4="rgb:a89984"
+
+ fg="rgb:3c3836"
+ fg_alpha="rgba:3c3836a0"
+ fg0="rgb:282828"
+ fg2="rgb:504945"
+ fg3="rgb:665c54"
+ fg4="rgb:7c6f64"
+
+ echo "
+ # Code highlighting
+ face global value ${purple}
+ face global type ${yellow}
+ face global variable ${blue}
+ face global module ${green}
+ face global function ${fg}
+ face global string ${green}
+ face global keyword ${red}
+ face global operator ${fg}
+ face global attribute ${orange}
+ face global comment ${gray}+i
+ face global documentation comment
+ face global meta ${aqua}
+ face global builtin ${fg}+b
+
+ # Markdown highlighting
+ face global title ${green}+b
+ face global header ${orange}
+ face global mono ${fg4}
+ face global block ${aqua}
+ face global link ${blue}+u
+ face global bullet ${yellow}
+ face global list ${fg}
+
+ face global Default ${fg},${bg}
+ face global PrimarySelection ${fg_alpha},${blue}+g
+ face global SecondarySelection ${bg_alpha},${blue}+g
+ face global PrimaryCursor ${bg},${fg}+fg
+ face global SecondaryCursor ${bg},${bg4}+fg
+ face global PrimaryCursorEol ${bg},${fg4}+fg
+ face global SecondaryCursorEol ${bg},${bg2}+fg
+ face global LineNumbers ${bg4}
+ face global LineNumberCursor ${yellow},${bg1}
+ face global LineNumbersWrapped ${bg1}
+ face global MenuForeground ${bg2},${blue}
+ face global MenuBackground ${fg},${bg2}
+ face global MenuInfo ${bg}
+ face global Information ${bg},${fg}
+ face global Error ${bg},${red}
+ face global StatusLine ${fg},${bg}
+ face global StatusLineMode ${yellow}+b
+ face global StatusLineInfo ${purple}
+ face global StatusLineValue ${red}
+ face global StatusCursor ${bg},${fg}
+ face global Prompt ${yellow}
+ face global MatchingChar ${fg},${bg3}+b
+ face global BufferPadding ${bg2},${bg}
+ face global Whitespace ${bg2}+f
+ "
+}