The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix white on white in high contrast theme

These changes was commited to the Birdfont repository Mon, 06 Apr 2015 13:50:52 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 06 Apr 2015 13:50:52 +0000 (15:50 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 06 Apr 2015 13:50:52 +0000 (15:50 +0200)
commit e9d0cbee736e9bfa5ebf17e5023929f2c7db0df4
tree a9b7d9a1bdba6fca9244efb5fd3dcb11adbecb39
parent 4d00c3023cd313d2fb0d02504afd6909211d6c74
Fix white on white in high contrast theme

libbirdfont/FileDialogTab.vala
libbirdfont/Theme.vala
resources/default.theme
resources/high_contrast.theme
--- a/libbirdfont/FileDialogTab.vala +++ b/libbirdfont/FileDialogTab.vala @@ -204,7 +204,7 @@ 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 @@ // 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);
--- a/libbirdfont/Theme.vala +++ b/libbirdfont/Theme.vala @@ -119,6 +119,7 @@ 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);
--- 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"/>
--- 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"/>