Use same dark background as web editor

This commit is contained in:
Matt Baer 2018-04-19 10:04:16 -04:00
parent 54d7f5b8b7
commit 750004effa

View File

@ -157,7 +157,7 @@ public class WriteAs.MainWindow : Gtk.ApplicationWindow {
Gtk.rgb_to_hsv(text_color.red, text_color.green, text_color.blue,
out h, out s, out v);
if (v < 0.5) css += "* {background: black; color: white;}";
if (v < 0.5) css += "* {background: #222; color: white;}";
}
cur_styles = new Gtk.CssProvider();
cur_styles.load_from_data(css);