<?xml version="1.0" encoding="UTF-8"?>
<!--

 This theme is based on the Solarized theme originally created
 by Ethan Schoonover at http://ethanschoonover.com/solarized

 Copyright (C) 2012 Matthew Cantelon
 Author: Matthew Cantelon <me@matthewcantelon.ca>

 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
 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, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->

<style-scheme id="solarizeddark" _name="Solarized Dark" version="1.0">

  <author>Matthew Cantelon</author>
  <_description>Gedit port of the dark version of the Solarized theme. Check https://github.com/mattcan/solarized-gedit for more information.</_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="base0"/>
  <style name="cursor"                      foreground="base2"/>
  <style name="current-line"                background="base02"/>
  <style name="line-numbers"                foreground="base0" background="base02"/>
  <style name="draw-spaces"                 foreground="base0"/>

  <!-- Bracket Matching -->
  <style name="bracket-match"               foreground="red" bold="true"/>
  <style name="bracket-mismatch"            foreground="red" background="base3" bold="true"/>

  <!-- Comments -->
  <style name="def:comment"                 foreground="base01" italic="true"/>
  <style name="def:shebang"                 foreground="base01" italic="true" bold="true"/>
  <style name="def:doc-comment-element"     italic="true"/>

  <!-- Right Margin -->
  <style name="right-margin"                foreground="base0" background="base02"/>
  
  <!-- Search Matching -->
  <style name="search-match"                foreground="yellow"/>

  <!-- Constants -->
  <style name="def:constant"                foreground="cyan"/>
  <style name="def:decimal"                 foreground="magenta"/>
  <style name="def:base-n-integer"          use-style="def:decimal"/>
  <style name="def:floating-point"          use-style="def:decimal"/>
  <style name="def:complex"                 use-style="def:base-n-integer"/>
  <style name="def:character"               foreground="magenta"/>
  <style name="def:string"                  use-style="def:constant"/>
  <style name="def:special-char"            foreground="red"/>
  <style name="def:builtin"                 foreground="yellow"/>
  <style name="def:keyword"                 foreground="green" bold="true"/>
  <style name="def:variable"                foreground="blue"/>
  <style name="def:boolean"                 foreground="red"/>
  <style name="def:special-constant"        foreground="blue"/>

  <!-- Identifiers -->
  <style name="def:identifier"              foreground="blue"/>
  <style name="def:function"                use-style="def:identifier"/>

  <!-- Statements -->
  <style name="def:statement"               use-style="def:keyword"/>

  <!-- Types -->
  <style name="def:type"                    foreground="yellow"/> 

  <!-- Others -->
  <style name="def:preprocessor"            foreground="orange"/>
  <style name="def:error"                   foreground="red" bold="true"/>
  <style name="def:note"                    background="base02" foreground="magenta" bold="true"/>
  <style name="def:underlined"            	foreground="violet"/>

  <!-- Language specific styles -->
  <style name="c:preprocessor"              use-style="def:preprocessor"/>
  <style name="c:included-file"             use-style="c:preprocessor"/>
  <style name="c:common-defines"            foreground="#0095FF" bold="true"/>

  <style name="diff:diff-file"              foreground="blue" underline="true"/>
  <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 name="diff:location"               use-style="def:type"/>

  <style name="xml:attribute-name"          foreground="green"/>
  <style name="xml:element-name"            bold="true"/>
  <style name="xml:entity"                  foreground="blue"/>
  <style name="xml:cdata-delim"             foreground="orange" bold="true"/>
  <style name="xml:processing-instruction"  bold="true"/>
  <style name="xml:doctype"                 foreground="magenta" bold="true"/>

  <style name="python:string-conversion"    background="base2"/>
  <style name="python:module-handler"       use-style="def:character"/>
  <style name="python:special-variable"     use-style="def:type"/>
  <style name="python:builtin-constant"     use-style="def:builtin"/>
  <style name="python:builtin-object"       use-style="def:type"/>
  <style name="python:builtin-function"     use-style="def:identifier"/>
  <style name="python:boolean"              use-style="def:boolean"/>

  <style name="sh:dollar"                   foreground="green" bold="true"/>

</style-scheme>
