[gtksourceview] Adwaita.xml: add styling for patches



commit a35cbfe450bfa4b576764121d57195e01b904535
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 24 12:19:59 2022 -0800

    Adwaita.xml: add styling for patches
    
    These can often be used to render colors in gutter renderers for features
    such as git status. So set them to ensure we get some reasonable colors.

 data/styles/Adwaita-dark.xml | 7 +++++++
 data/styles/Adwaita.xml      | 7 +++++++
 2 files changed, 14 insertions(+)
---
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index 5e4cdf5e..97a93942 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -149,6 +149,13 @@
   <style name="css:type-selector"          foreground="teal_5" bold="true"/>
   <style name="css:vendor-specific"        foreground="yellow_6"/>
 
+  <!-- Diff -->
+  <style name="diff:added-line"            foreground="teal_3"/>
+  <style name="diff:changed-line"          foreground="orange_3"/>
+  <style name="diff:diff-file"             foreground="violet_2"/>
+  <style name="diff:location"              foreground="yellow_4"/>
+  <style name="diff:removed-line"          foreground="red_1"/>
+
   <!-- Go -->
   <style name="go:printf"                  foreground="violet_4"/>
 
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index 71837ae8..5509a642 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -146,6 +146,13 @@
   <style name="css:type-selector"          foreground="teal_5" bold="true"/>
   <style name="css:vendor-specific"        foreground="yellow_6"/>
 
+  <!-- Diff -->
+  <style name="diff:added-line"            foreground="teal_4"/>
+  <style name="diff:changed-line"          foreground="orange_4"/>
+  <style name="diff:diff-file"             foreground="violet_4"/>
+  <style name="diff:location"              foreground="yellow_6"/>
+  <style name="diff:removed-line"          foreground="red_1"/>
+
   <!-- Go -->
   <style name="go:printf"                  foreground="violet_4"/>
 


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