[gtksourceview] Adwaita.xml: various style improvements



commit b398d4388d170c2ab68f14f991642d223f3ac59b
Author: Christian Hergert <chergert redhat com>
Date:   Tue Dec 28 22:18:06 2021 -0800

    Adwaita.xml: various style improvements
    
     * Updated types and storage classes
     * Tweaked colors for special constants like NULL
     * Alter string colors to be different from includes

 data/styles/Adwaita.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index 489426f1..1e5e5cec 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -108,7 +108,9 @@
   <style name="gtk-doc:signal-name"         bold="true"/>
   <style name="gtk-doc:property-name"       bold="true"/>
 
-  <style name="c:storage-class"             bold="true" foreground="dark2"/>
+  <style name="c:keyword"                   bold="true" />
+  <style name="c:storage-class"             bold="true" />
+  <style name="c:type"                      bold="true" foreground="#859900" />
   <style name="c:included-file"             foreground="orange3"/>
 
   <style name="json:string"                 foreground="dark3"/>
@@ -140,9 +142,9 @@
   <style name="def:preprocessor"            foreground="#8e8e8e"/>
   <style name="def:shebang"                 foreground="dark1" bold="true"/>
   <style name="def:special-char"            foreground="blue3"/>
-  <style name="def:special-constant"        foreground="light5"/>
+  <style name="def:special-constant"        foreground="#6C71C4"/>
   <style name="def:statement"               foreground="green5" bold="true"/>
-  <style name="def:string"                  foreground="orange3"/>
+  <style name="def:string"                  foreground="#dd4a68"/>
   <style name="def:strong-emphasis"         foreground="dark2" bold="true"/>
   <style name="def:thematic-break"          foreground="green5" bold="true"/>
   <style name="def:type"                    foreground="dark2" bold="true"/>


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