[gtksourceview] styles: add variant metadata
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] styles: add variant metadata
- Date: Wed, 1 Dec 2021 22:05:55 +0000 (UTC)
commit 14fe6678468d6b326c3e6a97f32248963c83c778
Author: Christian Hergert <chergert redhat com>
Date: Wed Dec 1 14:05:25 2021 -0800
styles: add variant metadata
Fixes #220
data/styles/Adwaita-dark.xml | 5 +++++
data/styles/Adwaita.xml | 5 +++++
data/styles/classic-dark.xml | 5 +++++
data/styles/classic.xml | 5 +++++
data/styles/cobalt.xml | 4 ++++
data/styles/kate-dark.xml | 5 +++++
data/styles/kate.xml | 5 +++++
data/styles/oblivion.xml | 5 +++++
data/styles/solarized-dark.xml | 5 +++++
data/styles/solarized-light.xml | 5 +++++
data/styles/tango.xml | 5 +++++
11 files changed, 54 insertions(+)
---
diff --git a/data/styles/Adwaita-dark.xml b/data/styles/Adwaita-dark.xml
index 1704e20d..326a726a 100644
--- a/data/styles/Adwaita-dark.xml
+++ b/data/styles/Adwaita-dark.xml
@@ -21,6 +21,11 @@
<author>Christian Hergert</author>
<_description>A dark color scheme matching GTK's default theme</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ <property name="light-variant">Adwaita</property>
+ </metadata>
+
<!-- Adwaita Palette -->
<color name="blue1" value="#99c1f1"/>
<color name="blue2" value="#62a0ea"/>
diff --git a/data/styles/Adwaita.xml b/data/styles/Adwaita.xml
index a0160909..c9a681be 100644
--- a/data/styles/Adwaita.xml
+++ b/data/styles/Adwaita.xml
@@ -21,6 +21,11 @@
<author>Christian Hergert</author>
<_description>A color scheme matching GTK's default theme</_description>
+ <metadata>
+ <property name="variant">light</property>
+ <property name="dark-variant">Adwaita-dark</property>
+ </metadata>
+
<!-- Adwaita Palette -->
<color name="blue1" value="#99c1f1"/>
<color name="blue2" value="#62a0ea"/>
diff --git a/data/styles/classic-dark.xml b/data/styles/classic-dark.xml
index a6a2031e..4060efc1 100644
--- a/data/styles/classic-dark.xml
+++ b/data/styles/classic-dark.xml
@@ -23,6 +23,11 @@
<author>Dmitry Nalivin</author>
<_description>Classic dark color scheme</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ <property name="light-variant">classic</property>
+ </metadata>
+
<!-- Palette -->
<color name="white" value="#FFFFFF"/>
<color name="blue" value="#80A0FF"/>
diff --git a/data/styles/classic.xml b/data/styles/classic.xml
index 6e25e22b..2c2918d1 100644
--- a/data/styles/classic.xml
+++ b/data/styles/classic.xml
@@ -24,6 +24,11 @@
<author>GtkSourceView team</author>
<_description>Classic color scheme</_description>
+ <metadata>
+ <property name="variant">light</property>
+ <property name="dark-variant">classic-dark</property>
+ </metadata>
+
<!-- The scheme tries to look like the default GVim scheme,
since it is also what the hardwired GtkSourceView 1 color
scheme did -->
diff --git a/data/styles/cobalt.xml b/data/styles/cobalt.xml
index 6d6159ee..7f1e1598 100644
--- a/data/styles/cobalt.xml
+++ b/data/styles/cobalt.xml
@@ -26,6 +26,10 @@
<author>Will Farrington</author>
<_description>Blue based color scheme</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ </metadata>
+
<!-- Colors -->
<color name="faded_yellow" value="#ffee80"/>
<color name="bright_orange" value="#ff9d00"/>
diff --git a/data/styles/kate-dark.xml b/data/styles/kate-dark.xml
index 86a82039..9a2cb684 100644
--- a/data/styles/kate-dark.xml
+++ b/data/styles/kate-dark.xml
@@ -23,6 +23,11 @@
<author>Dmitry Nalivin</author>
<_description>Dark color scheme used in the Kate text editor</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ <property name="light-variant">kate</property>
+ </metadata>
+
<color name="content-bg" value="#232629"/>
<color name="gray" value="#7a7c7d"/>
<color name="light-gray" value="#cfcfc2"/>
diff --git a/data/styles/kate.xml b/data/styles/kate.xml
index 86f5b402..b9aff23b 100644
--- a/data/styles/kate.xml
+++ b/data/styles/kate.xml
@@ -24,6 +24,11 @@
<author>GtkSourceView team</author>
<_description>Color scheme used in the Kate text editor</_description>
+ <metadata>
+ <property name="variant">light</property>
+ <property name="dark-variant">kate-dark</property>
+ </metadata>
+
<color name="red" value="#DD0000"/>
<color name="blue" value="#0095ff"/>
<color name="dark-blue" value="#0057AE"/>
diff --git a/data/styles/oblivion.xml b/data/styles/oblivion.xml
index 2b0c41e6..a7ecfe9a 100644
--- a/data/styles/oblivion.xml
+++ b/data/styles/oblivion.xml
@@ -24,6 +24,11 @@
<author>Paolo Borelli</author>
<_description>Dark color scheme using the Tango color palette</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ <property name="light-variant">tango</property>
+ </metadata>
+
<!-- Tango Palette -->
<color name="butter1" value="#fce94f"/>
<color name="butter2" value="#edd400"/>
diff --git a/data/styles/solarized-dark.xml b/data/styles/solarized-dark.xml
index e40f826a..dc1344dc 100644
--- a/data/styles/solarized-dark.xml
+++ b/data/styles/solarized-dark.xml
@@ -24,6 +24,11 @@
<author>Craig Russell</author>
<_description>Color scheme using Solarized dark color palette</_description>
+ <metadata>
+ <property name="variant">dark</property>
+ <property name="light-variant">solarized-light</property>
+ </metadata>
+
<!-- Solarized Palette -->
<color name="base03" value="#002B36"/>
<color name="base02" value="#073642"/>
diff --git a/data/styles/solarized-light.xml b/data/styles/solarized-light.xml
index d46d6a4f..6800c6a9 100644
--- a/data/styles/solarized-light.xml
+++ b/data/styles/solarized-light.xml
@@ -24,6 +24,11 @@
<author>Craig Russell</author>
<_description>Color scheme using Solarized light color palette</_description>
+ <metadata>
+ <property name="variant">light</property>
+ <property name="dark-variant">solarized-dark</property>
+ </metadata>
+
<!-- Solarized Palette -->
<color name="base03" value="#002B36"/>
<color name="base02" value="#073642"/>
diff --git a/data/styles/tango.xml b/data/styles/tango.xml
index b4f329e3..7d9675d2 100644
--- a/data/styles/tango.xml
+++ b/data/styles/tango.xml
@@ -24,6 +24,11 @@
<author>Michael Monreal</author>
<_description>Color scheme using Tango color palette</_description>
+ <metadata>
+ <property name="variant">light</property>
+ <property name="dark-variant">oblivion</property>
+ </metadata>
+
<!-- Tango Palette -->
<color name="butter1" value="#fce94f"/>
<color name="butter2" value="#edd400"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]