[gtksourceview] Add Solarized dark and light style schemes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Add Solarized dark and light style schemes
- Date: Wed, 5 Feb 2014 12:16:52 +0000 (UTC)
commit 2f40636405defbd14ffe9ecc91f18af5c5c9dd3f
Author: edmael <edoardo elidoro gmail com>
Date: Tue Aug 20 22:47:24 2013 +0200
Add Solarized dark and light style schemes
Because they are very popular.
https://bugzilla.gnome.org/show_bug.cgi?id=706444
data/styles/Makefile.am | 12 +++--
data/styles/solarized-dark.xml | 86 +++++++++++++++++++++++++++++++++++++++
data/styles/solarized-light.xml | 86 +++++++++++++++++++++++++++++++++++++++
3 files changed, 179 insertions(+), 5 deletions(-)
---
diff --git a/data/styles/Makefile.am b/data/styles/Makefile.am
index 1d301cc..95727a3 100644
--- a/data/styles/Makefile.am
+++ b/data/styles/Makefile.am
@@ -1,10 +1,12 @@
TESTS = check-style.sh
-STYLES = \
- classic.xml \
- cobalt.xml \
- kate.xml \
- oblivion.xml \
+STYLES = \
+ classic.xml \
+ cobalt.xml \
+ kate.xml \
+ oblivion.xml \
+ solarized-dark.xml \
+ solarized-light.xml \
tango.xml
stylesdir = $(datadir)/gtksourceview-3.0/styles
diff --git a/data/styles/solarized-dark.xml b/data/styles/solarized-dark.xml
new file mode 100644
index 0000000..4cf662b
--- /dev/null
+++ b/data/styles/solarized-dark.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2011 Craig Russell
+ Author: Craig Russell <craig craig-russell co uk>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+-->
+<style-scheme id="solarized-dark" _name="Solarized Dark" version="1.0">
+ <author>Craig Russell</author>
+ <_description>Color scheme using Solarized dark color palette</_description>
+
+ <!-- Solarized Palette -->
+ <color name="base03" value="#002B36"/>
+ <color name="base02" value="#073642"/>
+ <color name="base01" value="#586E75"/>
+ <color name="base00" value="#657B83"/>
+ <color name="base0" value="#839496"/>
+ <color name="base1" value="#93A1A1"/>
+ <color name="base2" value="#EEE8D5"/>
+ <color name="base3" value="#FDF6E3"/>
+ <color name="yellow" value="#B58900"/>
+ <color name="orange" value="#CB4B16"/>
+ <color name="red" value="#DC322F"/>
+ <color name="magenta" value="#D33682"/>
+ <color name="violet" value="#6C71C4"/>
+ <color name="blue" value="#268BD2"/>
+ <color name="cyan" value="#2AA198"/>
+ <color name="green" value="#859900"/>
+
+ <!-- Global Settings -->
+ <style name="text" foreground="base1" background="base03"/>
+ <style name="selection" foreground="base03" background="base00"/>
+ <style name="cursor" foreground="base1"/>
+ <style name="current-line" background="base02"/>
+ <style name="line-numbers" foreground="base01" background="base02"/>
+
+
+ <!-- Bracket Matching -->
+ <style name="bracket-match" foreground="base03" background="base01"/>
+ <style name="bracket-mismatch" foreground="red" background="base01"/>
+
+ <!-- Search Matching -->
+ <style name="search-match" foreground="base03" background="yellow"/>
+
+ <!-- Comments -->
+ <style name="def:comment" foreground="base01"/>
+ <style name="def:shebang" foreground="base01" bold="true"/>
+ <style name="def:doc-comment-element" italic="true"/>
+
+ <!-- Constants -->
+ <style name="def:constant" foreground="cyan"/>
+ <style name="def:special-char" foreground="green"/>
+
+ <!-- Identifiers -->
+ <style name="def:identifier" foreground="blue"/>
+
+ <!-- Statements -->
+ <style name="def:statement" foreground="orange"/>
+
+ <!-- Types -->
+ <style name="def:type" foreground="yellow"/>
+
+ <!-- Operators -->
+ <style name="def:operator" foreground="green"/>
+
+ <!-- Others -->
+ <style name="def:preprocessor" foreground="violet"/>
+ <style name="def:error" foreground="red" bold="true"/>
+ <style name="def:note" foreground="magenta" bold="true"/>
+ <style name="def:underlined" italic="true" underline="true"/>
+</style-scheme>
diff --git a/data/styles/solarized-light.xml b/data/styles/solarized-light.xml
new file mode 100644
index 0000000..f92f7ff
--- /dev/null
+++ b/data/styles/solarized-light.xml
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Copyright (C) 2011 Craig Russell
+ Author: Craig Russell <craig craig-russell co uk>
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+
+-->
+<style-scheme id="solarized-light" _name="Solarized Light" version="1.0">
+ <author>Craig Russell</author>
+ <_description>Color scheme using Solarized light color palette</_description>
+
+ <!-- Solarized Palette -->
+ <color name="base03" value="#002B36"/>
+ <color name="base02" value="#073642"/>
+ <color name="base01" value="#586E75"/>
+ <color name="base00" value="#657B83"/>
+ <color name="base0" value="#839496"/>
+ <color name="base1" value="#93A1A1"/>
+ <color name="base2" value="#EEE8D5"/>
+ <color name="base3" value="#FDF6E3"/>
+ <color name="yellow" value="#B58900"/>
+ <color name="orange" value="#CB4B16"/>
+ <color name="red" value="#DC322F"/>
+ <color name="magenta" value="#D33682"/>
+ <color name="violet" value="#6C71C4"/>
+ <color name="blue" value="#268BD2"/>
+ <color name="cyan" value="#2AA198"/>
+ <color name="green" value="#859900"/>
+
+ <!-- Global Settings -->
+ <style name="text" foreground="base01" background="base3"/>
+ <style name="selection" foreground="base3" background="base1"/>
+ <style name="cursor" foreground="base01"/>
+ <style name="current-line" background="base2"/>
+ <style name="line-numbers" foreground="base1" background="base2"/>
+
+
+ <!-- Bracket Matching -->
+ <style name="bracket-match" foreground="base3" background="base1"/>
+ <style name="bracket-mismatch" foreground="red" background="base1"/>
+
+ <!-- Search Matching -->
+ <style name="search-match" foreground="base3" background="yellow"/>
+
+ <!-- Comments -->
+ <style name="def:comment" foreground="base1"/>
+ <style name="def:shebang" foreground="base1" bold="true"/>
+ <style name="def:doc-comment-element" italic="true"/>
+
+ <!-- Constants -->
+ <style name="def:constant" foreground="cyan"/>
+ <style name="def:special-char" foreground="green"/>
+
+ <!-- Identifiers -->
+ <style name="def:identifier" foreground="blue"/>
+
+ <!-- Statements -->
+ <style name="def:statement" foreground="orange"/>
+
+ <!-- Types -->
+ <style name="def:type" foreground="yellow"/>
+
+ <!-- Operators -->
+ <style name="def:operator" foreground="green"/>
+
+ <!-- Others -->
+ <style name="def:preprocessor" foreground="violet"/>
+ <style name="def:error" foreground="red" bold="true"/>
+ <style name="def:note" foreground="magenta" bold="true"/>
+ <style name="def:underlined" italic="true" underline="true"/>
+</style-scheme>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]