[gtksourceview/gtksourceview-4-8] kate.xml: backport style updates



commit 3c7ac24c0b5ffcf952686c56e813acfe2391ed2c
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 29 14:12:10 2021 -0700

    kate.xml: backport style updates
    
    This improves the styling to be a bit more like modern Kate.
    
    Backported from #206

 data/styles/kate.xml | 40 +++++++++++++++++++++++-----------------
 1 file changed, 23 insertions(+), 17 deletions(-)
---
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 34561c46..2be152cb 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -24,27 +24,32 @@
   <author>GtkSourceView team</author>
   <_description>Color scheme used in the Kate text editor</_description>
 
-  <color name="red"                         value="#FF0000"/>
-  <color name="blue"                        value="#0000FF"/>
+  <color name="red"                         value="#DD0000"/>
+  <color name="blue"                        value="#0095ff"/>
   <color name="dark-blue"                   value="#0057AE"/>
   <color name="dark-red"                    value="#800000"/>
-  <color name="dark-green"                  value="#008000"/>
-  <color name="grey"                        value="#808080"/>
+  <color name="dark-green"                  value="#006e28"/>
+  <color name="grey"                        value="#898887"/>
+  <color name="dark-grey"                   value="#1F1C1B"/>
+  <color name="magenta"                     value="#CA60CA"/>
+  <color name="orange"                      value="#FF5500"/>
   <color name="yellow"                      value="#FFFF00"/>
   <color name="white"                       value="#FFFFFF"/>
-  <color name="brown"                       value="#B07E00"/>
+  <color name="brown"                       value="#B08000"/>
   <color name="black"                       value="#000000"/>
 
   <!-- Global Settings -->
   <style name="text"                        foreground="black" background="white"/>
   <style name="selection"                   foreground="white" background="#43ace8"/>
-  <style name="current-line"                background="#EEF6FF"/>
-  <style name="line-numbers"                foreground="black" background="#d6d2d0"/>
+  <style name="current-line"                background="#f8f7f6"/>
+  <style name="current-line-number"         background="#f8f7f6" foreground="#1e1e1e"/>
+  <style name="line-numbers"                foreground="#a0a0a0" background="#f0f0f0"/>
   <style name="right-margin"                foreground="black" background="black"/>
-  <style name="bracket-match"               background="#ffff00" bold="true"/>
+  <style name="bracket-match"               background="yellow" foreground="magenta" bold="true"/>
   <style name="bracket-mismatch"            background="red"/>
-  <style name="draw-spaces"                 foreground="#d3d7cf"/>
+  <style name="draw-spaces"                 foreground="#d2d2d2"/>
   <style name="background-pattern"          background="#f3f3f3"/>
+  <style name="snippet-focus"               foreground="white" background="grey"/>
 
   <!-- Search Matching -->
   <style name="search-match"                background="yellow"/>
@@ -58,10 +63,10 @@
   <style name="Others 3"                    foreground="dark-green"/>
 
   <!-- Comments -->
-  <style name="def:comment"                 foreground="grey" italic="true" bold="false"/>
+  <style name="def:comment"                 foreground="grey"/>
   <style name="def:shebang"                 foreground="grey" bold="true"/>
-  <style name="def:doc-comment"             foreground="blue"/>
-  <style name="def:doc-comment-element"     bold="true"/>
+  <style name="def:doc-comment"             foreground="grey"/>
+  <style name="def:doc-comment-element"     foreground="#ca60ca"/>
 
   <!-- Types -->
   <style name="def:type"                    foreground="dark-blue"/>
@@ -73,16 +78,17 @@
   <style name="def:floating-point"          foreground="brown"/>
   <style name="def:complex"                 use-style="def:base-n-integer"/>
   <style name="def:character"               foreground="#FF80E0"/>
-  <style name="def:string"                  foreground="#DD0000"/>
-  <style name="def:special-char"            foreground="#FF00FF"/>
+  <style name="def:string"                  foreground="red"/>
+  <style name="def:special-char"            foreground="blue"/>
   <style name="def:builtin"                 use-style="def:type"/>
 
   <!-- Identifiers -->
   <style name="def:identifier"              foreground="dark-blue"/>
   <style name="def:function"                use-style="def:identifier"/>
 
-  <!-- Statements -->
+  <!-- Statements and Operators -->
   <style name="def:statement"               bold="true"/>
+  <style name="def:operator"                foreground="magenta"/>
 
   <!-- Markup -->
   <style name="def:emphasis"                bold="true"/>
@@ -99,7 +105,7 @@
   <style name="def:list-marker"             bold="true"/>
 
   <!-- Others -->
-  <style name="def:preprocessor"            bold="true"/>
+  <style name="def:preprocessor"            foreground="#2a773d"/>
   <style name="def:note"                    foreground="#BF0303" background="#F7E7E7" bold="true" 
italic="false"/>
   <style name="def:error"                   foreground="red" underline="true"/>
   <style name="def:warning"                 foreground="brown" underline="true"/>
@@ -118,7 +124,7 @@
 
   <!-- Language specific styles -->
   <style name="c:preprocessor"              foreground="dark-green"/>
-  <style name="c:included-file"             use-style="c:preprocessor"/>
+  <style name="c:included-file"             foreground="orange"/>
   <style name="c:common-defines"            foreground="#0095FF" bold="true"/>
 
   <style name="diff:diff-file"              use-style="def:statement"/>


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