[gnome-text-editor/wip/chergert/fix-accent-colors: 1/4] builder-dark.xml: make selections transparent




commit 89fc45214e0ae208d9e886ad8bf3ef653326d394
Author: Christian Hergert <christian hergert me>
Date:   Mon Dec 27 10:21:40 2021 -0800

    builder-dark.xml: make selections transparent
    
    This makes it match the light scheme in that we do not set a foreground
    color but also use a translucent background.

 data/styles/builder-dark.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/styles/builder-dark.xml b/data/styles/builder-dark.xml
index 8180da9..a7d6a7b 100644
--- a/data/styles/builder-dark.xml
+++ b/data/styles/builder-dark.xml
@@ -64,12 +64,14 @@
   <color name="pink1"                       value="#dd4a68"/>
   <color name="red1"                        value="#ff0000"/>
 
-  <color name="dark1"                        value="#1e1e1e"/>
-  <color name="dark2"                        value="#303030"/>
+  <color name="dark1"                       value="#1e1e1e"/>
+  <color name="dark2"                       value="#303030"/>
+
+  <color name="transparent"                 value="#rgba(0,0,0,0)"/>
 
   <!-- Global Settings -->
   <style name="text"                        foreground="aluminium3" background="dark1"/>
-  <style name="selection"                   foreground="aluminium1" background="aluminium4"/>
+  <style name="selection"                   foreground="transparent" background="#rgba(136,138,133,.3)"/>
   <style name="cursor"                      foreground="aluminium2"/>
   <style name="current-line"                background="dark2"/>
   <style name="current-line-number"         background="dark2"/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]