[gtksourceview] kate.xml: modernize kate styling



commit 30377241e1a7d07e7dc7c585ca0c75555a4db541
Author: Christian Hergert <chergert redhat com>
Date:   Thu Jul 29 13:56:36 2021 -0700

    kate.xml: modernize kate styling
    
    Kate has changed considerably since this style scheme was created. This
    tries to catch up a bit to current styling.
    
    Fixes #206

 data/styles/kate.xml | 41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)
---
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 4b9a565d..93263f0c 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -24,27 +24,31 @@
   <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="current-line-number"         background="#rgba(0,0,0,0)"/>
-  <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="line-numbers-border"         background="#dddddd"/>
   <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"/>
 
@@ -60,10 +64,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"/>
@@ -75,16 +79,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"/>
@@ -101,7 +106,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"/>
@@ -120,7 +125,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]