diff --git a/data/meson.build b/data/meson.build
index 3a2d5cc..a1b77a0 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -33,3 +33,8 @@ install_data(
meson.project_name() + '.gschema.xml',
install_dir: join_paths(get_option('datadir'), 'glib-2.0', 'schemas')
)
+
+install_data([
+ 'styles/elementary-dark.xml',
+ 'styles/elementary-light.xml',
+], install_dir: join_paths(get_option('datadir'), 'gtksourceview-4', 'styles'))
diff --git a/data/screenshots/000-dark.png b/data/screenshots/000-dark.png
index 8e3422c..954ac74 100644
Binary files a/data/screenshots/000-dark.png and b/data/screenshots/000-dark.png differ
diff --git a/data/screenshots/000.png b/data/screenshots/000.png
index 444afc1..e037b26 100644
Binary files a/data/screenshots/000.png and b/data/screenshots/000.png differ
diff --git a/data/styles/elementary-dark.xml b/data/styles/elementary-dark.xml
new file mode 100644
index 0000000..5bf17e7
--- /dev/null
+++ b/data/styles/elementary-dark.xml
@@ -0,0 +1,113 @@
+
+
+
+ Micah Ilbery
+ <_description>Color scheme using the elementary color palette
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/data/styles/elementary-light.xml b/data/styles/elementary-light.xml
new file mode 100644
index 0000000..21eb6a3
--- /dev/null
+++ b/data/styles/elementary-light.xml
@@ -0,0 +1,113 @@
+
+
+
+ Micah Ilbery
+ <_description>Color scheme using the elementary color palette
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Application.vala b/src/Application.vala
index 9dff52a..3ac2d77 100644
--- a/src/Application.vala
+++ b/src/Application.vala
@@ -45,7 +45,7 @@ public class Application : Gtk.Application {
settings = Services.Settings.get_default ();
_default_font = new Models.Font () {
- font = new GLib.Settings ("org.gnome.desktop.interface").get_string ("font-name")
+ font = new GLib.Settings ("org.gnome.desktop.interface").get_string ("monospace-font-name")
};
_current_font = new Models.Font () {
font = _default_font.font,
diff --git a/src/Views/CodecardView.vala b/src/Views/CodecardView.vala
index e268b6c..12e6e44 100644
--- a/src/Views/CodecardView.vala
+++ b/src/Views/CodecardView.vala
@@ -26,8 +26,8 @@ public class Views.CodecardView : Gtk.ScrolledWindow {
public Gtk.SourceStyleSchemeManager style_scheme_manager;
public Gtk.SourceView editor;
- private const string STYLE_SCHEME_LIGHT = "solarized-light";
- private const string STYLE_SCHEME_DARK = "solarized-dark";
+ private const string STYLE_SCHEME_LIGHT = "elementary-light";
+ private const string STYLE_SCHEME_DARK = "elementary-dark";
public string background_color { get; private set; }
public int editor_margin { get; default = 12; }
@@ -74,6 +74,7 @@ public class Views.CodecardView : Gtk.ScrolledWindow {
if (text_style != null && text_style.background_set && !("rgba" in text_style.background)) {
background = text_style.background;
+
background_color = background;
}