Updated Files
libbirdfont/FileDialogTab.vala |
libbirdfont/LabelTool.vala |
libbirdfont/OverView.vala |
libbirdfont/SaveDialog.vala |
libbirdfont/SettingsItem.vala |
libbirdfont/TabContent.vala |
libbirdfont/Theme.vala |
--- a/libbirdfont/FileDialogTab.vala
+++ b/libbirdfont/FileDialogTab.vala
@@ -204,7 +204,7 @@
cr.restore ();
} else {
cr.save ();
- Theme.color (cr, "Background 1");
+ Theme.color (cr, "Foreground Inverted");
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, "Background 1");
+ Theme.color (cr, "Foreground Inverted");
}
cr.move_to (60, y);
cr.set_font_size (12 * MainWindow.units);
--- a/libbirdfont/LabelTool.vala
+++ b/libbirdfont/LabelTool.vala
@@ -68,7 +68,7 @@
text_height = 18;
if (is_selected ()) {
- Theme.text_color (label_text, "Background 1");
+ Theme.text_color (label_text, "Foreground Inverted");
} else {
Theme.text_color (label_text, "Foreground 2");
}
--- a/libbirdfont/OverView.vala
+++ b/libbirdfont/OverView.vala
@@ -440,7 +440,6 @@
// clear canvas
cr.save ();
Theme.color (cr, "Background 1");
-
cr.rectangle (0, 0, allocation.width, allocation.height);
cr.fill ();
cr.restore ();
--- a/libbirdfont/SaveDialog.vala
+++ b/libbirdfont/SaveDialog.vala
@@ -77,7 +77,7 @@
save_question.widget_x = save_button.widget_x + center;
save_question.widget_y = cy + 15 * MainWindow.units;
- Theme.text_color (save_question, "Background 1");
+ Theme.text_color (save_question, "Foreground Inverted");
qh = (question_font_size + 1) * MainWindow.units;
--- a/libbirdfont/SettingsItem.vala
+++ b/libbirdfont/SettingsItem.vala
@@ -96,7 +96,7 @@
cr.restore ();
cr.save ();
- Theme.text_color (label, "Background 1");
+ Theme.text_color (label, "Foreground Inverted");
label.set_font_size (20 * MainWindow.units);
label.draw_at_baseline (cr, 21 * MainWindow.units, y + 25 * MainWindow.units);
cr.restore ();
@@ -129,7 +129,7 @@
cr.save ();
if (active) {
- Theme.text_color (key_binding_text, "Background 1");
+ Theme.text_color (key_binding_text, "Foreground Inverted");
} else {
Theme.text_color (key_binding_text, "Foreground 2");
}
--- a/libbirdfont/TabContent.vala
+++ b/libbirdfont/TabContent.vala
@@ -295,7 +295,7 @@
cr.fill ();
cr.restore ();
- Theme.text_color (text_input_label, "Background 1");
+ Theme.text_color (text_input_label, "Foreground Inverted");
text_input_label.widget_x = 10;
text_input_label.widget_y = 17;
--- a/libbirdfont/Theme.vala
+++ b/libbirdfont/Theme.vala
@@ -109,6 +109,7 @@
Theme.set_default_color ("Foreground 3", 26 / 255.0, 30 / 255.0, 32 / 255.0, 1);
Theme.set_default_color ("Foreground 4", 40 / 255.0, 57 / 255.0, 65 / 255.0, 1);
Theme.set_default_color ("Foreground 5", 70 / 255.0, 77 / 255.0, 83 / 255.0, 1);
+ Theme.set_default_color ("Foreground Inverted", 1, 1, 1, 1);
Theme.set_default_color ("Highlighted 1", 234 / 255.0, 77 / 255.0, 26 / 255.0, 1);
@@ -154,6 +155,7 @@
N_("Foreground 3");
N_("Foreground 4");
N_("Foreground 5");
+ N_("Foreground Inverted");
N_("Highlighted 1");
N_("Highlighted Guide");