[gtksourceview] styles: specify foreground for selections



commit 99f1a10dfe1ad039770a2adbbc3203f792a79119
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jun 17 10:03:33 2021 -0700

    styles: specify foreground for selections
    
    We can't rely on this anymore from the GTK theme.

 data/styles/Adwaita-dark.style-scheme.xml | 1 +
 data/styles/Adwaita.style-scheme.xml      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/styles/Adwaita-dark.style-scheme.xml b/data/styles/Adwaita-dark.style-scheme.xml
index 9756b4ab..c384debe 100644
--- a/data/styles/Adwaita-dark.style-scheme.xml
+++ b/data/styles/Adwaita-dark.style-scheme.xml
@@ -70,6 +70,7 @@
 
   <!-- Global Settings -->
   <style name="text"                        foreground="light4" background="content_bg"/>
+  <style name="selection"                   foreground="#fff" background="selection_bg"/>
   <style name="map-overlay"                 background="dark1"/>
   <style name="cursor"                      foreground="light4"/>
   <style name="line-numbers"                foreground="content_alt" background="content_bg"/>
diff --git a/data/styles/Adwaita.style-scheme.xml b/data/styles/Adwaita.style-scheme.xml
index 81fdb078..b98cc9d9 100644
--- a/data/styles/Adwaita.style-scheme.xml
+++ b/data/styles/Adwaita.style-scheme.xml
@@ -69,7 +69,7 @@
 
   <!-- Global Settings -->
   <style name="text"                        foreground="dark2" background="light1"/>
-  <style name="selection"                   background="selection_bg"/>
+  <style name="selection"                   foreground="#fff" background="selection_bg"/>
   <style name="map-overlay"                 background="#rgba(46,52,54,.3)"/>
   <style name="cursor"                      foreground="dark2"/>
   <style name="line-numbers"                foreground="light4" background="light1"/>


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