summaryrefslogtreecommitdiff
path: root/colors
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2020-08-30 12:13:24 +1000
committerMaxime Coste <mawww@kakoune.org>2020-08-30 12:14:57 +1000
commit6c85c0cb2944930bf64bd93e6196b243f9fd41c8 (patch)
tree822d5bd16a8d1c443deec3a2ab19e1bf95be81ca /colors
parent4793a4e8ce610341e1bb3bec47d40f02caa657f2 (diff)
Use alpha blending for gruvbox selections
Diffstat (limited to 'colors')
-rw-r--r--colors/gruvbox.kak8
1 files changed, 5 insertions, 3 deletions
diff --git a/colors/gruvbox.kak b/colors/gruvbox.kak
index 0d69abc5..4ae04f91 100644
--- a/colors/gruvbox.kak
+++ b/colors/gruvbox.kak
@@ -11,13 +11,15 @@ evaluate-commands %sh{
orange="rgb:fe8019"
bg="rgb:282828"
+ bg_alpha="rgba:282828a0"
bg1="rgb:3c3836"
bg2="rgb:504945"
bg3="rgb:665c54"
bg4="rgb:7c6f64"
- fg0="rgb:fbf1c7"
fg="rgb:ebdbb2"
+ fg_alpha="rgba:ebdbb2a0"
+ fg0="rgb:fbf1c7"
fg2="rgb:d5c4a1"
fg3="rgb:bdae93"
fg4="rgb:a89984"
@@ -48,8 +50,8 @@ evaluate-commands %sh{
face global list ${fg}
face global Default ${fg},${bg}
- face global PrimarySelection ${fg},${blue}+fg
- face global SecondarySelection ${bg},${blue}+fg
+ 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