[gtksourceview] styles: add Adwaita style schemes



commit 4b935966249f86c514fa058bb3959bd1fa9a02ed
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 22 11:22:37 2020 -0700

    styles: add Adwaita style schemes
    
    These are still a work-in-progress, but I'd like to see these shipped with
    5.x and backported to 4-8 branch eventually.

 data/styles/Adwaita-dark.style-scheme.xml | 146 ++++++++++++++++++++++++++++++
 data/styles/Adwaita.style-scheme.xml      | 146 ++++++++++++++++++++++++++++++
 data/styles/styles.pot                    |  22 ++++-
 3 files changed, 313 insertions(+), 1 deletion(-)
---
diff --git a/data/styles/Adwaita-dark.style-scheme.xml b/data/styles/Adwaita-dark.style-scheme.xml
new file mode 100644
index 00000000..9756b4ab
--- /dev/null
+++ b/data/styles/Adwaita-dark.style-scheme.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Copyright 2020 Christian Hergert <christian hergert me>
+                                                                      
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+                                                                      
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+                                                                      
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<style-scheme id="Adwaita-dark" _name="Adwaita Dark" version="1.0">
+  <author>Christian Hergert</author>
+  <_description>A dark color scheme matching GTK's default theme</_description>
+
+  <!-- Adwaita Palette -->
+  <color name="blue1"                       value="#99c1f1"/>
+  <color name="blue2"                       value="#62a0ea"/>
+  <color name="blue3"                       value="#3584e4"/>
+  <color name="blue4"                       value="#1c71d8"/>
+  <color name="blue5"                       value="#1a5fb4"/>
+  <color name="dark1"                       value="#77767b"/>
+  <color name="dark2"                       value="#5e5c64"/>
+  <color name="dark3"                       value="#3d3846"/>
+  <color name="dark4"                       value="#241f31"/>
+  <color name="dark5"                       value="#000000"/>
+  <color name="green1"                      value="#8ff0a4"/>
+  <color name="green2"                      value="#57e389"/>
+  <color name="green3"                      value="#33d17a"/>
+  <color name="green4"                      value="#2ec27e"/>
+  <color name="green5"                      value="#26a269"/>
+  <color name="light1"                      value="#ffffff"/>
+  <color name="light2"                      value="#f6f5f4"/>
+  <color name="light3"                      value="#deddda"/>
+  <color name="light4"                      value="#c0bfbc"/>
+  <color name="light5"                      value="#9a9996"/>
+  <color name="orange1"                     value="#ffbe6f"/>
+  <color name="orange2"                     value="#ffa348"/>
+  <color name="orange3"                     value="#ff7800"/>
+  <color name="orange4"                     value="#e66100"/>
+  <color name="orange5"                     value="#c64600"/>
+  <color name="purple1"                     value="#dc8add"/>
+  <color name="purple2"                     value="#c061cb"/>
+  <color name="purple3"                     value="#9141ac"/>
+  <color name="purple4"                     value="#813d9c"/>
+  <color name="purple5"                     value="#613583"/>
+  <color name="red1"                        value="#f66151"/>
+  <color name="red2"                        value="#ed333b"/>
+  <color name="red3"                        value="#e01b24"/>
+  <color name="red4"                        value="#c01c28"/>
+  <color name="red5"                        value="#a51d2d"/>
+  <color name="yellow1"                     value="#f9f06b"/>
+  <color name="yellow2"                     value="#f8e45c"/>
+  <color name="yellow3"                     value="#f6d32d"/>
+  <color name="yellow4"                     value="#f5c211"/>
+  <color name="yellow5"                     value="#e5a50a"/>
+
+  <color name="content_bg"                  value="#101010"/>
+  <color name="content_bg_alt"              value="#6e6e6e"/>
+  <color name="content_alt"                 value="#3e3e3e"/>
+
+
+  <!-- Global Settings -->
+  <style name="text"                        foreground="light4" background="content_bg"/>
+  <style name="map-overlay"                 background="dark1"/>
+  <style name="cursor"                      foreground="light4"/>
+  <style name="line-numbers"                foreground="content_alt" background="content_bg"/>
+  <style name="current-line"                background="#222"/>
+  <style name="current-line-number"         foreground="dark1" background="#222" bold="true"/>
+  <style name="right-margin"                foreground="content_bg_alt" background="content_bg_alt"/>
+  <style name="draw-spaces"                 foreground="dark1"/>
+  <style name="background-pattern"          background="dark4"/>
+
+  <style name="bracket-match"               background="dark2" bold="true"/>
+  <style name="bracket-mismatch"            background="red5" bold="true"/>
+  <style name="search-match"                foreground="light1" background="orange3"/>
+  <style name="misspelled-match"            foreground="light1" background="red3"/>
+
+  <!-- Diffs and VCS gutter -->
+  <style name="diff:added-line"             foreground="green5"/>
+  <style name="diff:removed-line"           foreground="red3"/>
+  <style name="gutter:added-line"           foreground="green5"/>
+  <style name="gutter:changed-line"         foreground="orange3"/>
+  <style name="gutter:removed-line"         foreground="red3"/>
+
+  <style name="gtk-doc:function-name"       bold="true"/>
+  <style name="gtk-doc:function"            bold="true"/>
+  <style name="gtk-doc:parameter"           bold="true"/>
+  <style name="gtk-doc:constant"            bold="true"/>
+  <style name="gtk-doc:type"                bold="true"/>
+  <style name="gtk-doc:since"               bold="true"/>
+  <style name="gtk-doc:return"              bold="true"/>
+  <style name="gtk-doc:deprecated"          bold="true"/>
+  <style name="gtk-doc:signal-name"         bold="true"/>
+  <style name="gtk-doc:property-name"       bold="true"/>
+
+  <style name="c:storage-class"             bold="true"/>
+  <style name="c:included-file"             foreground="orange3"/>
+
+  <style name="json:string"                 foreground="light3"/>
+
+  <style name="css:property-name"           foreground="dark1" bold="true"/>
+
+  <style name="def:base-n-integer"          foreground="purple1"/>
+  <style name="def:boolean"                 foreground="purple1"/>
+  <style name="def:comment"                 foreground="light5"/>
+  <style name="def:constant"                foreground="red1"/>
+  <style name="def:decimal"                 foreground="orange4"/>
+  <style name="def:deletion"                strikethrough="true"/>
+  <style name="def:doc-comment-element"     italic="true"/>
+  <style name="def:emphasis"                italic="true"/>
+  <style name="def:error"                   line-background="red2" />
+  <style name="def:floating-point"          foreground="purple1"/>
+  <style name="def:function"                foreground="dark1" bold="true"/>
+  <style name="def:heading"                 foreground="orange4" bold="true"/>
+  <style name="def:identifier"              foreground="dark1"/>
+  <style name="def:inline-code"             foreground="purple2"/>
+  <style name="def:insertion"               underline="single"/>
+  <style name="def:keyword"                 bold="true"/>
+  <style name="def:link-destination"        italic="true" underline="true"/>
+  <style name="def:link-symbol"             foreground="blue3" bold="true"/>
+  <style name="def:link-text"               foreground="blue3"/>
+  <style name="def:list-marker"             foreground="light1" bold="true"/>
+  <style name="def:net-address"             italic="true" underline="true"/>
+  <style name="def:note"                    foreground="light1" background="orange3" bold="true"/>
+  <style name="def:preformatting-section"   foreground="purple1"/>
+  <style name="def:preprocessor"            foreground="dark2"/>
+  <style name="def:shebang"                 foreground="dark1" bold="true"/>
+  <style name="def:special-char"            foreground="blue3" bold="true"/>
+  <style name="def:special-constant"        foreground="light5"/>
+  <style name="def:statement"               foreground="green5" bold="true"/>
+  <style name="def:string"                  foreground="yellow5"/>
+  <style name="def:strong-emphasis"         foreground="green5" bold="true"/>
+  <style name="def:thematic-break"          foreground="green5" bold="true"/>
+  <style name="def:type"                    foreground="light3" bold="true"/>
+  <style name="def:warning"                 background="yellow3"/>
+
+</style-scheme>
diff --git a/data/styles/Adwaita.style-scheme.xml b/data/styles/Adwaita.style-scheme.xml
new file mode 100644
index 00000000..bcadb89f
--- /dev/null
+++ b/data/styles/Adwaita.style-scheme.xml
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Copyright 2020 Christian Hergert <christian hergert me>
+                                                                      
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+                                                                      
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+                                                                      
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+-->
+<style-scheme id="Adwaita" _name="Adwaita" version="1.0">
+  <author>Christian Hergert</author>
+  <_description>A color scheme matching GTK's default theme</_description>
+
+  <!-- Adwaita Palette -->
+  <color name="blue1"                       value="#99c1f1"/>
+  <color name="blue2"                       value="#62a0ea"/>
+  <color name="blue3"                       value="#3584e4"/>
+  <color name="blue4"                       value="#1c71d8"/>
+  <color name="blue5"                       value="#1a5fb4"/>
+  <color name="dark1"                       value="#77767b"/>
+  <color name="dark2"                       value="#5e5c64"/>
+  <color name="dark3"                       value="#3d3846"/>
+  <color name="dark4"                       value="#241f31"/>
+  <color name="dark5"                       value="#000000"/>
+  <color name="green1"                      value="#8ff0a4"/>
+  <color name="green2"                      value="#57e389"/>
+  <color name="green3"                      value="#33d17a"/>
+  <color name="green4"                      value="#2ec27e"/>
+  <color name="green5"                      value="#26a269"/>
+  <color name="light1"                      value="#ffffff"/>
+  <color name="light2"                      value="#f6f5f4"/>
+  <color name="light3"                      value="#deddda"/>
+  <color name="light4"                      value="#c0bfbc"/>
+  <color name="light5"                      value="#9a9996"/>
+  <color name="orange1"                     value="#ffbe6f"/>
+  <color name="orange2"                     value="#ffa348"/>
+  <color name="orange3"                     value="#ff7800"/>
+  <color name="orange4"                     value="#e66100"/>
+  <color name="orange5"                     value="#c64600"/>
+  <color name="purple1"                     value="#dc8add"/>
+  <color name="purple2"                     value="#c061cb"/>
+  <color name="purple3"                     value="#9141ac"/>
+  <color name="purple4"                     value="#813d9c"/>
+  <color name="purple5"                     value="#613583"/>
+  <color name="red1"                        value="#f66151"/>
+  <color name="red2"                        value="#ed333b"/>
+  <color name="red3"                        value="#e01b24"/>
+  <color name="red4"                        value="#c01c28"/>
+  <color name="red5"                        value="#a51d2d"/>
+  <color name="yellow1"                     value="#f9f06b"/>
+  <color name="yellow2"                     value="#f8e45c"/>
+  <color name="yellow3"                     value="#f6d32d"/>
+  <color name="yellow4"                     value="#f5c211"/>
+  <color name="yellow5"                     value="#e5a50a"/>
+  <color name="selection_bg"                value="#3285e5"/>
+
+  <!-- For Builder -->
+  <style name="debugger::breakpoint"        background="selection_bg" foreground="#ffffff"/>
+
+  <!-- Global Settings -->
+  <style name="text"                        foreground="dark2" background="light1"/>
+  <style name="selection"                   background="selection_bg"/>
+  <style name="map-overlay"                 background="blue1"/>
+  <style name="cursor"                      foreground="dark2"/>
+  <style name="line-numbers"                foreground="light4" background="light1"/>
+  <style name="current-line"                background="light2"/>
+  <style name="current-line-number"         background="light2" bold="true"/>
+  <style name="right-margin"                foreground="dark1" background="light4"/>
+  <style name="draw-spaces"                 foreground="dark3"/>
+  <style name="background-pattern"          background="#fafafa"/>
+
+  <style name="bracket-match"               background="light3" bold="true"/>
+  <style name="bracket-mismatch"            foreground="dark1" background="red3" bold="true"/>
+  <style name="search-match"                foreground="light1" background="orange3"/>
+  <style name="misspelled-match"            foreground="light1" background="red3"/>
+
+  <!-- Diffs and VCS gutter -->
+  <style name="diff:added-line"             foreground="green5"/>
+  <style name="diff:removed-line"           foreground="red3"/>
+  <style name="gutter:added-line"           foreground="green5"/>
+  <style name="gutter:changed-line"         foreground="orange3"/>
+  <style name="gutter:removed-line"         foreground="red3"/>
+
+  <style name="gtk-doc:function-name"       bold="true"/>
+  <style name="gtk-doc:function"            bold="true"/>
+  <style name="gtk-doc:parameter"           bold="true"/>
+  <style name="gtk-doc:constant"            bold="true"/>
+  <style name="gtk-doc:type"                bold="true"/>
+  <style name="gtk-doc:since"               bold="true"/>
+  <style name="gtk-doc:return"              bold="true"/>
+  <style name="gtk-doc:deprecated"          bold="true"/>
+  <style name="gtk-doc:signal-name"         bold="true"/>
+  <style name="gtk-doc:property-name"       bold="true"/>
+
+  <style name="c:storage-class"             bold="true"/>
+  <style name="c:included-file"             foreground="orange3"/>
+
+  <style name="json:string"                 foreground="dark3"/>
+
+  <style name="css:property-name"           foreground="dark1" bold="true"/>
+
+  <style name="def:base-n-integer"          foreground="purple3"/>
+  <style name="def:boolean"                 foreground="purple3"/>
+  <style name="def:comment"                 foreground="light5"/>
+  <style name="def:constant"                foreground="red1"/>
+  <style name="def:decimal"                 foreground="purple3"/>
+  <style name="def:deletion"                strikethrough="true"/>
+  <style name="def:doc-comment-element"     italic="true"/>
+  <style name="def:emphasis"                italic="true"/>
+  <style name="def:error"                   line-background="red2" />
+  <style name="def:floating-point"          foreground="purple3"/>
+  <style name="def:function"                foreground="dark1" bold="true"/>
+  <style name="def:heading"                 foreground="orange5" bold="true"/>
+  <style name="def:identifier"              foreground="dark1"/>
+  <style name="def:inline-code"             foreground="purple2"/>
+  <style name="def:insertion"               underline="single"/>
+  <style name="def:keyword"                 foreground="dark2" bold="true"/>
+  <style name="def:link-destination"        italic="true" underline="true"/>
+  <style name="def:link-symbol"             foreground="blue3" bold="true"/>
+  <style name="def:link-text"               foreground="blue3"/>
+  <style name="def:list-marker"             foreground="dark5" bold="true"/>
+  <style name="def:net-address"             italic="true" underline="true"/>
+  <style name="def:note"                    foreground="light1" background="orange3" bold="true"/>
+  <style name="def:preformatting-section"   foreground="purple1"/>
+  <style name="def:preprocessor"            foreground="dark2"/>
+  <style name="def:shebang"                 foreground="dark1" bold="true"/>
+  <style name="def:special-char"            foreground="blue3"/>
+  <style name="def:special-constant"        foreground="light5"/>
+  <style name="def:statement"               foreground="green5" bold="true"/>
+  <style name="def:string"                  foreground="orange3"/>
+  <style name="def:strong-emphasis"         foreground="green5" bold="true"/>
+  <style name="def:thematic-break"          foreground="green5" bold="true"/>
+  <style name="def:type"                    foreground="dark2" bold="true"/>
+  <style name="def:warning"                 background="yellow3"/>
+
+</style-scheme>
diff --git a/data/styles/styles.pot b/data/styles/styles.pot
index 776ce0ff..525d5b9b 100644
--- a/data/styles/styles.pot
+++ b/data/styles/styles.pot
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2017-09-07 14:33+0200\n"
+"POT-Creation-Date: 2020-09-22 11:19-0700\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL li org>\n"
@@ -9,6 +9,26 @@ msgstr ""
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 
+#. (itstool) path: Adwaita-dark.style-scheme.xml/style-scheme@_name
+#: Adwaita-dark.style-scheme.xml:20
+msgid "Adwaita Dark"
+msgstr ""
+
+#. (itstool) path: style-scheme/_description
+#: Adwaita-dark.style-scheme.xml:22
+msgid "A dark color scheme matching GTK's default theme"
+msgstr ""
+
+#. (itstool) path: Adwaita.style-scheme.xml/style-scheme@_name
+#: Adwaita.style-scheme.xml:20
+msgid "Adwaita"
+msgstr ""
+
+#. (itstool) path: style-scheme/_description
+#: Adwaita.style-scheme.xml:22
+msgid "A color scheme matching GTK's default theme"
+msgstr ""
+
 #. (itstool) path: classic.xml/style-scheme@_name
 #: classic.xml:23
 msgid "Classic"


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