[gtksourceview] Adwaita: tweak styling and contrast a bit



commit 8dbde2a7eeb49c6c26f0875e19f9458a8fc77073
Author: Christian Hergert <chergert redhat com>
Date:   Fri Sep 17 13:34:20 2021 -0700

    Adwaita: tweak styling and contrast a bit
    
    We want preprocessor to be inbetween comment and foreground colors. Also
    soften the contrast a bit for text in the -dark variant, as it can be a
    bit too bright in low-light scenarios.

 data/styles/Adwaita-dark.xml | 6 +++---
 data/styles/Adwaita.xml      | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index 3d3c58ab..5ca8cfd0 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -69,7 +69,7 @@
 
 
   <!-- Global Settings -->
-  <style name="text"                        foreground="light4" background="content_bg"/>
+  <style name="text"                        foreground="light5" background="content_bg"/>
   <style name="map-overlay"                 background="dark1"/>
   <style name="cursor"                      foreground="light4"/>
   <style name="line-numbers"                foreground="content_alt" background="content_bg"/>
@@ -111,7 +111,7 @@
 
   <style name="def:base-n-integer"          foreground="purple1"/>
   <style name="def:boolean"                 foreground="purple1"/>
-  <style name="def:comment"                 foreground="light5"/>
+  <style name="def:comment"                 foreground="dark2"/>
   <style name="def:constant"                foreground="red1"/>
   <style name="def:decimal"                 foreground="orange4"/>
   <style name="def:deletion"                strikethrough="true"/>
@@ -132,7 +132,7 @@
   <style name="def:net-address"             italic="true" underline="true"/>
   <style name="def:note"                    underline="error" underline-color="dark1"/>
   <style name="def:preformatting-section"   foreground="purple1"/>
-  <style name="def:preprocessor"            foreground="dark2"/>
+  <style name="def:preprocessor"            foreground="dark1"/>
   <style name="def:shebang"                 foreground="dark1" bold="true"/>
   <style name="def:special-char"            foreground="blue3" bold="true"/>
   <style name="def:special-constant"        foreground="light5"/>
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index 6c656734..9d667e01 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -131,7 +131,7 @@
   <style name="def:net-address"             italic="true" underline="true"/>
   <style name="def:note"                    underline="error" underline-color="light5"/>
   <style name="def:preformatting-section"   foreground="purple1"/>
-  <style name="def:preprocessor"            foreground="dark2"/>
+  <style name="def:preprocessor"            foreground="dark1"/>
   <style name="def:shebang"                 foreground="dark1" bold="true"/>
   <style name="def:special-char"            foreground="blue3"/>
   <style name="def:special-constant"        foreground="light5"/>


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