Add Solarized color styles for gedit.

This commit is contained in:
David Tse 2011-04-06 18:31:31 -07:00
parent 7d6ce6cb44
commit c44f11f631
3 changed files with 161 additions and 0 deletions

View file

@ -0,0 +1,9 @@
Solarized Color Scheme for gedit
================================
### [See official homepage for full content](http://ethanschoonover.com/solarized)
Installation
------------
Copy both XML files into your `.gnome2/gedit/styles` directory.

View file

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="solarized_dark" _name="Solarized Dark" version="1.0">
<author></author>
<_description>Dark color scheme based on the Solarized 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="base0" background="base03"/>
<style name="selection" foreground="base03" background="base0"/>
<style name="cursor" foreground="base0"/>
<style name="current-line" background="base02"/>
<style name="line-numbers" foreground="base01" background="base02"/>
<style name="draw-spaces" foreground="base01"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="red" background="base01" bold="true"/>
<style name="bracket-mismatch" foreground="red" background="base01" underline="true"/>
<!-- Right Margin -->
<style name="right-margin" background="base01"/>
<!-- Search Matching -->
<style name="search-match" foreground="base03" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="base01" italic="true"/>
<style name="def:shebang" foreground="base01" italic="true" bold="true"/>
<!-- Constants -->
<style name="def:constant" foreground="cyan"/>
<style name="def:string" foreground="cyan"/>
<style name="def:special-char" foreground="red"/>
<style name="def:special-constant" foreground="blue"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="blue"/>
<style name="def:builtin" foreground="blue"/>
<!-- Statements -->
<style name="def:statement" foreground="green"/>
<!-- Types -->
<style name="def:type" foreground="yellow"/>
<!-- Others -->
<style name="def:preprocessor" foreground="orange"/>
<style name="def:specials" foreground="red"/>
<style name="def:error" foreground="red" bold="true"/>
<style name="def:note" foreground="magenta" bold="true"/>
<style name="def:underlined" foreground="violet"/>
<!-- Language specific -->
<style name="diff:added-line" foreground="base03" background="green"/>
<style name="diff:removed-line" foreground="base03" background="red"/>
<style name="diff:changed-line" foreground="base03" background="yellow"/>
</style-scheme>

View file

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="solarized_light" _name="Solarized Light" version="1.0">
<author></author>
<_description>Light color scheme based on the Solarized color palette</_description>
<!-- Solarized Palette -->
<color name="base3" value="#002b36"/>
<color name="base2" value="#073642"/>
<color name="base1" value="#586e75"/>
<color name="base0" value="#657b83"/>
<color name="base00" value="#839496"/>
<color name="base01" value="#93a1a1"/>
<color name="base02" value="#eee8d5"/>
<color name="base03" 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="base0" background="base03"/>
<style name="selection" foreground="base03" background="base0"/>
<style name="cursor" foreground="base0"/>
<style name="current-line" background="base02"/>
<style name="line-numbers" foreground="base01" background="base02"/>
<style name="draw-spaces" foreground="base01"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="red" background="base01" bold="true"/>
<style name="bracket-mismatch" foreground="red" background="base01" underline="true"/>
<!-- Right Margin -->
<style name="right-margin" background="base01"/>
<!-- Search Matching -->
<style name="search-match" foreground="base03" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="base01" italic="true"/>
<style name="def:shebang" foreground="base01" italic="true" bold="true"/>
<!-- Constants -->
<style name="def:constant" foreground="cyan"/>
<style name="def:string" foreground="cyan"/>
<style name="def:special-char" foreground="red"/>
<style name="def:special-constant" foreground="blue"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="blue"/>
<style name="def:builtin" foreground="blue"/>
<!-- Statements -->
<style name="def:statement" foreground="green"/>
<!-- Types -->
<style name="def:type" foreground="yellow"/>
<!-- Others -->
<style name="def:preprocessor" foreground="orange"/>
<style name="def:specials" foreground="red"/>
<style name="def:error" foreground="red" bold="true"/>
<style name="def:note" foreground="magenta" bold="true"/>
<style name="def:underlined" foreground="violet"/>
<!-- Language specific -->
<style name="diff:added-line" foreground="base03" background="green"/>
<style name="diff:removed-line" foreground="base03" background="red"/>
<style name="diff:changed-line" foreground="base03" background="yellow"/>
</style-scheme>