[gnome-text-editor] builder.xml: modernize builder style scheme



commit f6fd6dcde2b5436cebd6d7cb4f4d355a73de6e04
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jan 24 15:08:33 2022 -0800

    builder.xml: modernize builder style scheme

 data/styles/builder.xml | 408 +++++++++++++++++++++++-------------------------
 1 file changed, 195 insertions(+), 213 deletions(-)
---
diff --git a/data/styles/builder.xml b/data/styles/builder.xml
index c429688..0998ad3 100644
--- a/data/styles/builder.xml
+++ b/data/styles/builder.xml
@@ -1,27 +1,25 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!--
 
- This file is part of Builder
-
-  Copyright (C) 2014 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,
+  Copyright 2022 Christian Hergert
+
+  GtkSourceView is free software; you can redistribute it and/or
+  modify it under the terms of the GNU Lesser General Public
+  License as published by the Free Software Foundation; either
+  version 2.1 of the License, or (at your option) any later version.
+
+  GtkSourceView 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/>.
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+  Lesser General Public License for more details.
+
+  You should have received a copy of the GNU Lesser General Public License
+  along with this library; if not, see <http://www.gnu.org/licenses/>.
 
 -->
-<style-scheme id="builder" name="Builder" version="1.0">
+<style-scheme id="builder" _name="Builder" version="1.0">
   <author>Christian Hergert</author>
-  <description>The default color scheme for Builder</description>
+  <_description>The default color scheme for Builder</_description>
 
   <metadata>
     <property name="variant">light</property>
@@ -29,201 +27,185 @@
     <property name="accent_bg_color">#0077aa</property>
   </metadata>
 
-  <!-- Tango Palette -->
-  <color name="bg1"                         value="#edebe9"/>
-  <color name="bg2"                         value="#dbd7d3"/>
-  <color name="og1"                         value="#d75d1b"/>
-  <color name="gr1"                         value="#709831"/>
-  <color name="brown1"                      value="#a67f59"/>
-  <color name="blue1"                       value="#708090"/>
-  <color name="blue2"                       value="#0077aa"/>
-  <color name="purple1"                     value="#990055"/>
-  <color name="pink1"                       value="#dd4a68"/>
-  <color name="pink2"                       value="#EBCAD2"/>
-  <color name="green1"                      value="#669900"/>
-  <color name="text1"                       value="#4d4e53"/>
-  <color name="selection1"                  value="#b3d4fc"/>
-  <color name="line1"                       value="#a2a3a3"/>
-  <color name="white"                       value="#ffffff"/>
-  <color name="yellow1"                     value="#fff9e5"/>
-  <color name="red1"                        value="#ff0000"/>
-
-  <color name="butter1"                     value="#fce94f"/>
-  <color name="butter2"                     value="#edd400"/>
-  <color name="butter3"                     value="#c4a000"/>
-  <color name="chameleon1"                  value="#8ae234"/>
-  <color name="chameleon2"                  value="#73d216"/>
-  <color name="chameleon3"                  value="#4e9a06"/>
-  <color name="orange1"                     value="#fcaf3e"/>
-  <color name="orange2"                     value="#f57900"/>
-  <color name="orange3"                     value="#ce5c00"/>
-  <color name="skyblue1"                    value="#729fcf"/>
-  <color name="skyblue2"                    value="#3465a4"/>
-  <color name="skyblue3"                    value="#204a87"/>
-  <color name="plum1"                       value="#ad7fa8"/>
-  <color name="plum2"                       value="#75507b"/>
-  <color name="plum3"                       value="#5c3566"/>
-  <color name="chocolate1"                  value="#e9b96e"/>
-  <color name="chocolate2"                  value="#c17d11"/>
-  <color name="chocolate3"                  value="#8f5902"/>
-  <color name="scarletred1"                 value="#ef2929"/>
-  <color name="scarletred2"                 value="#cc0000"/>
-  <color name="scarletred3"                 value="#a40000"/>
-  <color name="aluminium1"                  value="#eeeeec"/>
-  <color name="aluminium2"                  value="#d3d7cf"/>
-  <color name="aluminium3"                  value="#babdb6"/>
-  <color name="aluminium4"                  value="#888a85"/>
-  <color name="aluminium5"                  value="#555753"/>
-  <color name="aluminium6"                  value="#2e3436"/>
-
-  <!-- Global Settings -->
-  <style name="text"                        foreground="text1" background="bg1"/>
-  <style name="selection"                   background="selection1"/>
-  <style name="map-overlay"                 background="#rgba(193,203,210,0.55)"/>
-  <style name="cursor"                      foreground="aluminium4"/>
-  <style name="current-line"                background="#rgba(214,209,205,.35)"/>
-  <style name="current-line-number"         background="#rgba(214,209,205,.35)" bold="true"/>
-  <style name="draw-spaces"                 foreground="aluminium3"/>
-  <style name="line-numbers"                foreground="line1" background="bg1"/>
-  <style name="background-pattern"          background="#e7e5e4"/>
-
-  <!-- Diagnostics Underlining -->
-  <style name="diagnostician::deprecated"   underline="error" underline-color="aluminium3"/>
-  <style name="diagnostician::unused"       underline="error" underline-color="chocolate3"/>
-  <style name="diagnostician::error"        underline="error" underline-color="red1"/>
-  <style name="diagnostician::note"         underline="error" underline-color="blue1"/>
-  <style name="diagnostician::warning"      underline="error" underline-color="orange1"/>
-
-  <!-- Debugger -->
-  <style name="debugger::breakpoint"        background="#4a90d9" foreground="#ffffff"/>
-
-  <!-- Snippets -->
-  <style name="snippet::tab-stop"           background="#fcaf3e" foreground="text1"/>
-  <style name="snippet::area"               background="#rgba(32,74,135,.1)"/>
-
-  <!-- Hover links -->
-  <style name="action::hover-definition"    background="#d2e0e8" underline="true"/>
-
-  <!-- Bracket Matching -->
-  <style name="bracket-match"               foreground="text1" background="aluminium3" bold="true"/>
-  <style name="bracket-mismatch"            foreground="aluminium1" background="scarletred3" bold="true"/>
-
-  <!-- Right Margin -->
-  <style name="right-margin"                foreground="aluminium3" background="bg2"/>
-
-  <!-- Search Matching -->
-  <style name="search-match"                foreground="white" background="pink1"/>
-  <style name="quick-highlight-match"       background="#rgba(221,74,104,0.15)"/>
-
-  <!-- Search Shadow -->
-  <style name="search-shadow"               background="#rgba(0,0,0,0.2)"/>
-
-  <!-- Spellchecker Matching -->
-  <style name="misspelled-match"            foreground="#000000" background="selection1"/>
-
-  <!-- Quick Highlight Plugin -->
-  <style name="quick-highlight"             background="#rgba(221,74,104,.15)"/>
-
-  <style name="c:comment"                   foreground="#8b9eab"/>
-  <style name="c:preprocessor"              foreground="#8194a6" bold="false"/>
-  <style name="c:boolean"                   foreground="#0077aa"/>
-  <style name="c:keyword"                   foreground="#0077aa" bold="true"/>
-  <style name="c:string"                    foreground="#669900"/>
-  <style name="c:included-file"             foreground="orange3"/>
-  <style name="c:storage-class"             foreground="orange3" bold="true"/>
-  <style name="c:type"                      foreground="#669900" bold="true"/>
-  <style name="c:macro-name"                foreground="#677685" bold="false"/>
-  <style name="c:enum-name"                 foreground="pink1" bold="false"/>
-
-  <style name="def:comment"                 foreground="blue1"/>
-  <style name="def:constant"                foreground="pink1"/>
-  <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="#rgba(235,202,210,.4)" />
-  <style name="def:floating-point"          foreground="blue2"/>
-  <style name="def:function"                foreground="#4186A8"/>
-  <style name="def:decimal"                 foreground="purple1"/>
-  <style name="def:base-n-integer"          foreground="blue2"/>
-  <style name="def:boolean"                 foreground="pink1"/>
-  <style name="def:heading"                 foreground="gr1" bold="true"/>
-  <style name="def:identifier"              foreground="purple1"/>
-  <style name="def:inline-code"             foreground="purple1"/>
-  <style name="def:insertion"               underline="single"/>
-  <style name="def:keyword"                 foreground="gr1" bold="true"/>
-  <style name="def:link-destination"        italic="true" underline="true"/>
-  <style name="def:link-symbol"             foreground="blue1" bold="true"/>
-  <style name="def:link-text"               foreground="blue1"/>
-  <style name="def:list-marker"             foreground="green1" bold="true"/>
-  <style name="def:net-address"             italic="true" underline="true"/>
-  <style name="def:note"                    background="orange1" bold="true"/>
-  <style name="def:operator"                foreground="#a67f59"/>
-  <style name="def:preformatted-section"    foreground="purple1"/>
-  <style name="def:preprocessor"            foreground="pink1"/>
-  <style name="def:shebang"                 foreground="blue1" bold="true"/>
-  <style name="def:special-char"            foreground="pink1"/>
-  <style name="def:statement"               foreground="green1" bold="true"/>
-  <style name="def:string"                  foreground="blue2"/>
-  <style name="def:strong-emphasis"         foreground="green1" bold="true"/>
-  <style name="def:thematic-break"          foreground="gr1" bold="true"/>
-  <style name="def:type"                    foreground="gr1" bold="true"/>
-  <style name="def:warning"                 background="yellow1"/>
-  <style name="def:special-constant"        foreground="purple1"/>
-
-  <style name="diff:added-line"             foreground="chameleon3"/>
-  <style name="diff:removed-line"           foreground="pink1"/>
-  <style name="diff:changed-line"           foreground="orange3"/>
-  <style name="diff:diff-file"              bold="true"/>
-  <style name="diff:location"               use-style="def:statement"/>
-  <style name="diff:special-case"           use-style="def:constant"/>
-
-  <!-- GTK Doc -->
-  <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="gutter:added-line"           foreground="chameleon1"/>
-  <style name="gutter:changed-line"         foreground="orange1"/>
-  <style name="gutter:removed-line"         foreground="scarletred1"/>
-
-  <style name="python:builtin-object"       foreground="og1"/>
-  <style name="python:keyword"              foreground="green1" bold="false"/>
-  <style name="python:module-handler"       foreground="purple1" bold="false"/>
-  <style name="python:function-name"        foreground="pink1"/>
-
-  <style name="xml:tags"                    foreground="chameleon3"/>
-  <style name="xml:namespace"               bold="true"/>
-  <style name="xml:tag-match"               background="#rgba(153,0,85,.07)"/>
-
-  <style name="js:built-in-constructor"     foreground="pink1"/>
-  <style name="js:keyword"                  foreground="#0077aa"/>
-  <style name="js:string"                   foreground="#669900"/>
-  <style name="js:template-literal"         foreground="#669900"/>
-  <style name="js:built-in-function"        foreground="pink1"/>
-  <style name="js:built-in-method"          foreground="pink1"/>
-
-  <style name="latex:display-math"          foreground="plum3"/>
-  <style name="latex:command"               foreground="chameleon3" bold="true"/>
-  <style name="latex:include"               use-style="def:preprocessor"/>
-  <style name="latex:special-char"          use-style="def:constant"/>
-
-  <style name="sh:variable"                 foreground="plum3"/>
-  <style name="sh:variable-definition"      foreground="chameleon3"/>
-
-  <!-- Symbol-tree xml-pack coloring -->
-  <style name="symboltree::label"           foreground="#000000" background="#D5E7FC"/>
-  <style name="symboltree::id"              foreground="#000000" background="#D9E7BD"/>
-  <style name="symboltree::style-class"     foreground="#000000" background="#DFCD9B"/>
-  <style name="symboltree::type"            foreground="#000000" background="#F4DAC3"/>
-  <style name="symboltree::parent"          foreground="#000000" background="#DEBECF"/>
-  <style name="symboltree::class"           foreground="#000000" background="#FFEF98"/>
-  <style name="symboltree::attribute"       foreground="#000000" background="#F0E68C"/>>
+  <!-- Named Colors -->
+  <color name="aluminium1"                value="#EEEEEC"/>
+  <color name="aluminium2"                value="#D3D7CF"/>
+  <color name="aluminium3"                value="#BABDB6"/>
+  <color name="aluminium4"                value="#888A85"/>
+  <color name="aluminium5"                value="#555753"/>
+  <color name="aluminium6"                value="#2E3436"/>
+  <color name="bg1"                       value="#EDEBE9"/>
+  <color name="bg2"                       value="#DBD7D3"/>
+  <color name="blue1"                     value="#708090"/>
+  <color name="blue2"                     value="#0077AA"/>
+  <color name="brown1"                    value="#A67F59"/>
+  <color name="butter1"                   value="#FCE94F"/>
+  <color name="butter2"                   value="#EDD400"/>
+  <color name="butter3"                   value="#C4A000"/>
+  <color name="chameleon1"                value="#8AE234"/>
+  <color name="chameleon2"                value="#73D216"/>
+  <color name="chameleon3"                value="#4E9A06"/>
+  <color name="chocolate1"                value="#E9B96E"/>
+  <color name="chocolate2"                value="#C17D11"/>
+  <color name="chocolate3"                value="#8F5902"/>
+  <color name="gr1"                       value="#709831"/>
+  <color name="green1"                    value="#669900"/>
+  <color name="line1"                     value="#A2A3A3"/>
+  <color name="og1"                       value="#D75D1B"/>
+  <color name="orange1"                   value="#FCAF3E"/>
+  <color name="orange2"                   value="#F57900"/>
+  <color name="orange3"                   value="#CE5C00"/>
+  <color name="pink1"                     value="#DD4A68"/>
+  <color name="pink2"                     value="#EBCAD2"/>
+  <color name="plum1"                     value="#AD7FA8"/>
+  <color name="plum2"                     value="#75507B"/>
+  <color name="plum3"                     value="#5C3566"/>
+  <color name="purple1"                   value="#990055"/>
+  <color name="red1"                      value="#FF0000"/>
+  <color name="scarletred1"               value="#EF2929"/>
+  <color name="scarletred2"               value="#CC0000"/>
+  <color name="scarletred3"               value="#A40000"/>
+  <color name="selection1"                value="#B3D4FC"/>
+  <color name="skyblue1"                  value="#729FCF"/>
+  <color name="skyblue2"                  value="#3465A4"/>
+  <color name="skyblue3"                  value="#204A87"/>
+  <color name="text1"                     value="#4D4E53"/>
+  <color name="white"                     value="#FFFFFF"/>
+  <color name="yellow1"                   value="#FFF9E5"/>
+
+  <!-- Global Styles -->
+  <style name="background-pattern"        background="#F3F3F3"/>
+  <style name="bracket-match"             background="aluminium3" foreground="text1" bold="true"/>
+  <style name="bracket-mismatch"          background="scarletred3" foreground="aluminium1" bold="true"/>
+  <style name="current-line"              background="aluminium1"/>
+  <style name="current-line-number"       background="aluminium1" foreground="aluminium4" bold="true"/>
+  <style name="cursor"                    foreground="aluminium4"/>
+  <style name="draw-spaces"               foreground="aluminium3"/>
+  <style name="line-numbers"              background="#FAFAFA" foreground="aluminium3"/>
+  <style name="map-overlay"               background="#rgba(193,203,210,0.55)"/>
+  <style name="misspelled-match"          background="selection1" foreground="#000000"/>
+  <style name="quick-highlight"           background="#rgba(221,74,104,0.15)"/>
+  <style name="quick-highlight-match"     background="#rgba(221,74,104,0.15)"/>
+  <style name="right-margin"              background="bg2" foreground="aluminium3"/>
+  <style name="search-match"              background="pink1" foreground="white"/>
+  <style name="search-shadow"             background="#rgba(0,0,0,0.2)"/>
+  <style name="selection"                 background="selection1"/>
+  <style name="text"                      background="#FAFAFA" foreground="text1"/>
+
+  <!-- Defaults -->
+  <style name="def:base-n-integer"        foreground="blue2"/>
+  <style name="def:boolean"               foreground="pink1"/>
+  <style name="def:comment"               foreground="blue1"/>
+  <style name="def:constant"              foreground="pink1"/>
+  <style name="def:decimal"               foreground="purple1"/>
+  <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="#rgba(235,202,210,0.4)"/>
+  <style name="def:floating-point"        foreground="blue2"/>
+  <style name="def:function"              foreground="#4186A8"/>
+  <style name="def:heading"               foreground="gr1" bold="true"/>
+  <style name="def:identifier"            foreground="purple1"/>
+  <style name="def:inline-code"           foreground="purple1"/>
+  <style name="def:insertion"             underline="single"/>
+  <style name="def:keyword"               foreground="gr1" bold="true"/>
+  <style name="def:link-destination"      italic="true" underline="single"/>
+  <style name="def:link-symbol"           foreground="blue1" bold="true"/>
+  <style name="def:link-text"             foreground="blue1"/>
+  <style name="def:list-marker"           foreground="green1" bold="true"/>
+  <style name="def:net-address"           italic="true" underline="single"/>
+  <style name="def:note"                  background="orange1" bold="true"/>
+  <style name="def:operator"              foreground="brown1"/>
+  <style name="def:preformatted-section"  foreground="purple1"/>
+  <style name="def:preprocessor"          foreground="pink1"/>
+  <style name="def:shebang"               foreground="blue1" bold="true"/>
+  <style name="def:special-char"          foreground="pink1"/>
+  <style name="def:special-constant"      foreground="purple1"/>
+  <style name="def:statement"             foreground="green1" bold="true"/>
+  <style name="def:string"                foreground="blue2"/>
+  <style name="def:strong-emphasis"       foreground="green1" bold="true"/>
+  <style name="def:thematic-break"        foreground="gr1" bold="true"/>
+  <style name="def:type"                  foreground="gr1" bold="true"/>
+  <style name="def:warning"               background="yellow1"/>
+  <style name="action::hover-definition"  background="#D2E0E8" underline="single"/>
+
+  <!-- C -->
+  <style name="c:boolean"                 foreground="blue2"/>
+  <style name="c:comment"                 foreground="#8B9EAB"/>
+  <style name="c:enum-name"               foreground="pink1" bold="false"/>
+  <style name="c:included-file"           foreground="orange3"/>
+  <style name="c:keyword"                 foreground="blue2" bold="true"/>
+  <style name="c:macro-name"              foreground="#677685" bold="false"/>
+  <style name="c:preprocessor"            foreground="#8194A6" bold="false"/>
+  <style name="c:storage-class"           foreground="orange3" bold="true"/>
+  <style name="c:string"                  foreground="green1"/>
+  <style name="c:type"                    foreground="green1" bold="true"/>
+  <style name="debugger::breakpoint"      background="#4A90D9" foreground="white"/>
+  <style name="diagnostician::deprecated" underline="error" underline-color="aluminium3"/>
+  <style name="diagnostician::error"      underline="error" underline-color="red1"/>
+  <style name="diagnostician::note"       underline="error" underline-color="blue1"/>
+  <style name="diagnostician::unused"     underline="error" underline-color="chocolate3"/>
+  <style name="diagnostician::warning"    underline="error" underline-color="orange1"/>
+
+  <!-- Diff -->
+  <style name="diff:added-line"           foreground="chameleon3"/>
+  <style name="diff:changed-line"         foreground="orange3"/>
+  <style name="diff:diff-file"            bold="true"/>
+  <style name="diff:location"             use-style="def:statement"/>
+  <style name="diff:removed-line"         foreground="pink1"/>
+  <style name="diff:special-case"         use-style="def:constant"/>
+
+  <!-- gtk-doc -->
+  <style name="gtk-doc:constant"          bold="true"/>
+  <style name="gtk-doc:deprecated"        bold="true"/>
+  <style name="gtk-doc:function"          bold="true"/>
+  <style name="gtk-doc:function-name"     bold="true"/>
+  <style name="gtk-doc:parameter"         bold="true"/>
+  <style name="gtk-doc:property-name"     bold="true"/>
+  <style name="gtk-doc:return"            bold="true"/>
+  <style name="gtk-doc:signal-name"       bold="true"/>
+  <style name="gtk-doc:since"             bold="true"/>
+  <style name="gtk-doc:type"              bold="true"/>
+  <style name="gutter:added-line"         foreground="chameleon1"/>
+  <style name="gutter:changed-line"       foreground="orange1"/>
+  <style name="gutter:removed-line"       foreground="scarletred1"/>
+
+  <!-- JavaScript -->
+  <style name="js:built-in-constructor"   foreground="pink1"/>
+  <style name="js:built-in-function"      foreground="pink1"/>
+  <style name="js:built-in-method"        foreground="pink1"/>
+  <style name="js:keyword"                foreground="blue2"/>
+  <style name="js:string"                 foreground="green1"/>
+  <style name="js:template-literal"       foreground="green1"/>
+
+  <!-- LaTeX -->
+  <style name="latex:command"             foreground="chameleon3" bold="true"/>
+  <style name="latex:display-math"        foreground="plum3"/>
+  <style name="latex:include"             use-style="def:preprocessor"/>
+  <style name="latex:special-char"        use-style="def:constant"/>
+
+  <!-- Python 2 -->
+  <style name="python:builtin-object"     foreground="og1"/>
+  <style name="python:function-name"      foreground="pink1"/>
+  <style name="python:keyword"            foreground="green1" bold="false"/>
+  <style name="python:module-handler"     foreground="purple1" bold="false"/>
+
+  <!-- sh -->
+  <style name="sh:variable"               foreground="plum3"/>
+  <style name="sh:variable-definition"    foreground="chameleon3"/>
+  <style name="snippet::area"             background="#rgba(32,74,135,0.1)"/>
+  <style name="snippet::tab-stop"         background="orange1" foreground="text1"/>
+  <style name="symboltree::attribute"     background="#F0E68C" foreground="#000000"/>
+  <style name="symboltree::class"         background="#FFEF98" foreground="#000000"/>
+  <style name="symboltree::id"            background="#D9E7BD" foreground="#000000"/>
+  <style name="symboltree::label"         background="#D5E7FC" foreground="#000000"/>
+  <style name="symboltree::parent"        background="#DEBECF" foreground="#000000"/>
+  <style name="symboltree::style-class"   background="#DFCD9B" foreground="#000000"/>
+  <style name="symboltree::type"          background="#F4DAC3" foreground="#000000"/>
+
+  <!-- XML -->
+  <style name="xml:namespace"             bold="true"/>
+  <style name="xml:tag-match"             background="#rgba(153,0,85,0.07)"/>
+  <style name="xml:tags"                  foreground="chameleon3"/>
 
 </style-scheme>


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