Clone in a terminal:
Commit e9d0cbe
Johan Mattsson - 2015-04-06T13:50:52+00:00
e9d0cbee736e9bfa5ebf17e5023929f2c7db0df4johan.mattsson.m@gmail.com

Fix white on white in high contrast theme

Changed files (4)

Diff

diff --git a/libbirdfont/FileDialogTab.vala b/libbirdfont/FileDialogTab.valaindex b7d55a3..f30f713 100644--- a/libbirdfont/FileDialogTab.vala+++ b/libbirdfont/FileDialogTab.vala@@ -204,7 +204,7 @@ public class FileDialogTab : FontDisplay { 				cr.restore (); 			} else { 				cr.save ();-				Theme.color (cr, "Foreground Inverted");+				Theme.color (cr, "Foreground"); 				cr.rectangle (0, y - 14 * MainWindow.units, allocation.width, 18 * MainWindow.units); 				cr.fill (); 				cr.restore ();@@ -214,7 +214,7 @@ public class FileDialogTab : FontDisplay { 		// text 		cr.save (); 		if (dark) {-			Theme.color (cr, "Foreground Inverted");+			Theme.color (cr, "Foreground Inverted Table"); 		} 		cr.move_to (60, y); 		cr.set_font_size (12 * MainWindow.units);diff --git a/libbirdfont/Theme.vala b/libbirdfont/Theme.valaindex 9f9cdcc..b3dd432 100644--- a/libbirdfont/Theme.vala+++ b/libbirdfont/Theme.vala@@ -119,6 +119,7 @@ public class Theme : GLib.Object { 		Theme.set_default_color ("Foreground 5", 70 / 255.0, 77 / 255.0, 83 / 255.0, 1); 		Theme.set_default_color ("Foreground 6", 45 / 255.0, 45 / 255.0, 45 / 255.0, 1); 		Theme.set_default_color ("Foreground 7", 219 / 255.0, 221 / 255.0, 233 / 255.0, 1);+		Theme.set_default_color ("Foreground Inverted Table", 1, 1, 1, 1); 		 		Theme.set_default_color ("Foreground Inverted", 1, 1, 1, 1); 		Theme.set_default_color ("Menu Foreground", 101 / 255.0, 108 / 255.0, 116 / 255.0, 1);diff --git a/resources/default.theme b/resources/default.themeindex 5a8581d..1ee5b89 100644--- a/resources/default.theme+++ b/resources/default.theme@@ -23,6 +23,7 @@ 	<color name="Control Point Handle" red="0.31764705882352939" green="0.57647058823529407" blue="0.35294117647058826" alpha="1"/> 	<color name="Background 8" red="0.21568627450980393" green="0.21568627450980393" blue="0.21568627450980393" alpha="1"/> 	<color name="Fill Color" red="0.5" green="0.5" blue="0.5" alpha="1"/>+	<color name="Foreground Inverted Table" red="1" green="1" blue="1" alpha="1"/> 	<color name="Background 9" red="0.28235294117647058" green="0.28235294117647058" blue="0.28235294117647058" alpha="1"/> 	<color name="Stroke Color" red="0" green="0" blue="0" alpha="1"/> 	<color name="Selected Tool Foreground" red="0.396078431372549" green="0.42352941176470588" blue="0.45490196078431372" alpha="1"/>diff --git a/resources/high_contrast.theme b/resources/high_contrast.themeindex b39783b..091f815 100644--- a/resources/high_contrast.theme+++ b/resources/high_contrast.theme@@ -23,6 +23,7 @@ 	<color name="Control Point Handle" red="0" green="0" blue="0" alpha="1"/> 	<color name="Background 8" red="1" green="1" blue="1" alpha="1"/> 	<color name="Fill Color" red="0" green="0" blue="0" alpha="1"/>+	<color name="Foreground Inverted Table" red="0" green="0" blue="0" alpha="1"/> 	<color name="Background 9" red="1" green="1" blue="1" alpha="1"/> 	<color name="Stroke Color" red="0" green="0" blue="0" alpha="1"/> 	<color name="Selected Tool Foreground" red="1" green="1" blue="1" alpha="1"/>@@ -54,6 +55,7 @@ 	<color name="Active Cubic Control Point" red="0" green="0" blue="0" alpha="1"/> 	<color name="Foreground 1" red="0" green="0" blue="0" alpha="1"/> 	<color name="Active Control Point Handle" red="0" green="0" blue="0" alpha="1"/>+	<color name="Merge" red="0" green="0" blue="0" alpha="1"/> 	<color name="Foreground 2" red="0" green="0" blue="0" alpha="1"/> 	<color name="Foreground 3" red="0" green="0" blue="0" alpha="1"/> 	<color name="Overview Selected Foreground" red="1" green="1" blue="1" alpha="1"/>

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112