[gtksourceview] Style schemes: more visible right margin



commit 190fb01d5972efd3f81dd90c38fe82f80561de6b
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Sep 28 16:56:37 2013 +0200

    Style schemes: more visible right margin
    
    The alpha for the foreground (the line) is 16%. The alpha for the
    background (the area on the right of the line) is 6%. So for a light
    style, dark colors must be set for the right margin. And for a dark
    style, light colors must be set.
    
    It's better to not adjust the alpha channel in the code. Maybe
    third-party style schemes rely on these values.

 data/styles/classic.xml  |    2 +-
 data/styles/cobalt.xml   |    3 ++-
 data/styles/kate.xml     |    2 +-
 data/styles/oblivion.xml |    4 ++--
 data/styles/tango.xml    |    4 ++--
 5 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/data/styles/classic.xml b/data/styles/classic.xml
index 7369806..0963243 100644
--- a/data/styles/classic.xml
+++ b/data/styles/classic.xml
@@ -51,7 +51,7 @@
   <style name="bracket-mismatch"            foreground="white" background="red" bold="true"/>
 
   <!-- Right Margin -->
-  <style name="right-margin"                foreground="gray"/>
+  <style name="right-margin"                foreground="#000000" background="#000000"/>
 
   <!-- Search Matching -->
   <style name="search-match"                background="yellow"/>  
diff --git a/data/styles/cobalt.xml b/data/styles/cobalt.xml
index 2a43e7e..cc0268a 100644
--- a/data/styles/cobalt.xml
+++ b/data/styles/cobalt.xml
@@ -57,7 +57,8 @@
   <style name="current-line"                background="medium_blue"/>
   <style name="line-numbers"                foreground="light_blue" background="black_blue"/>
   <style name="draw-spaces"                 foreground="bluish_grey"/>
-  
+  <style name="right-margin"                foreground="light_grey" background="light_grey"/>
+
   <!-- Bracket Matching -->
   <style name="bracket-match"               background="steelblue3"/>
   <style name="bracket-mismatch"            background="dark_red" bold="true"/>
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 091821c..f36265e 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -41,7 +41,7 @@
   <style name="selection"                   foreground="white" background="#43ace8"/>
   <style name="current-line"                background="#EEF6FF"/>
   <style name="line-numbers"                foreground="black" background="#d6d2d0"/>
-  <style name="right-margin"                background="#ADD4FF"/>
+  <style name="right-margin"                foreground="black" background="black"/>
   <style name="bracket-match"               bold="true"/>
   <style name="bracket-mismatch"            background="red" bold="true"/>
   <style name="draw-spaces"                 foreground="#d3d7cf"/>
diff --git a/data/styles/oblivion.xml b/data/styles/oblivion.xml
index a52bf23..3f8d1e3 100644
--- a/data/styles/oblivion.xml
+++ b/data/styles/oblivion.xml
@@ -70,8 +70,8 @@
   <style name="bracket-mismatch"            foreground="aluminium1" background="scarletred2" bold="true"/>
 
   <!-- Right Margin -->
-  <style name="right-margin"                foreground="aluminium1" background="aluminium4"/>
-  
+  <style name="right-margin"                foreground="aluminium1" background="aluminium3"/>
+
   <!-- Search Matching -->
   <style name="search-match"                foreground="aluminium1" background="chameleon3"/>
 
diff --git a/data/styles/tango.xml b/data/styles/tango.xml
index e334b9e..bd51498 100644
--- a/data/styles/tango.xml
+++ b/data/styles/tango.xml
@@ -64,8 +64,8 @@
   <style name="bracket-mismatch"            foreground="aluminium1" background="scarletred3" bold="true"/>
 
   <!-- Right Margin -->
-  <style name="right-margin"                foreground="aluminium5" background="aluminium4"/>
-  
+  <style name="right-margin"                foreground="aluminium6" background="aluminium6"/>
+
   <!-- Search Matching -->
   <style name="search-match"                background="butter1"/>  
 


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