[meld/ui-next: 35/35] Update source style schemes to have parent schemes



commit 28959a88e008d2ef7c0cc6386df519d1d879bc70
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Feb 17 06:50:07 2019 +1000

    Update source style schemes to have parent schemes
    
    This means that if you enable syntax highlighting on the base schemes,
    you'll now get actual syntax highlighting. In other words, these schemes
    are no longer just placeholders that we get our themed colours from.
    
    The reason that the dark theme isn't actually the default yet is that
    unlike the light theme, the background is kind of crucial, and the text
    and background colours aren't actually inherited in our required version
    of GtkSourceView; this has already been fixed as GNOME/gtksourceview#37,
    but we won't be able to require that for at least one release.

 data/styles/meld-base.xml | 2 +-
 data/styles/meld-dark.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/data/styles/meld-base.xml b/data/styles/meld-base.xml
index 80ba7f35..614b29e9 100644
--- a/data/styles/meld-base.xml
+++ b/data/styles/meld-base.xml
@@ -1,4 +1,4 @@
-<style-scheme id="meld-base" _name="Meld base scheme" version="1.0">
+<style-scheme id="meld-base" _name="Classic (Meld)" version="1.0" parent-scheme="classic">
   <author>Kai Willadsen</author>
   <_description>Base color scheme for Meld highlighting</_description>
 
diff --git a/data/styles/meld-dark.xml b/data/styles/meld-dark.xml
index e9348473..5c0449e7 100644
--- a/data/styles/meld-dark.xml
+++ b/data/styles/meld-dark.xml
@@ -1,4 +1,4 @@
-<style-scheme id="meld-dark" _name="Meld dark scheme" version="1.0">
+<style-scheme id="meld-dark" _name="Meld dark scheme" version="1.0" parent-scheme="solarized-dark">
   <author>Kai Willadsen</author>
   <_description>Dark color scheme for Meld highlighting</_description>
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]