Skip to content

Instantly share code, notes, and snippets.

@devoto13
Last active March 29, 2017 22:09
Show Gist options
  • Save devoto13/44714334acb0dc7c1a9bfebc3d93b872 to your computer and use it in GitHub Desktop.
Save devoto13/44714334acb0dc7c1a9bfebc3d93b872 to your computer and use it in GitHub Desktop.
Style for GTKSourceView 3 similar to light theme of WebStorm
<?xml version="1.0" encoding="UTF-8"?>
<!--
This file is part of GtkSourceView
Copyright (C) 2006-2007 GtkSourceView team
Author: Yevgen Muntyan <muntyan@tamu.edu>
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="devoto13" _name="Devoto13" version="1.0">
<author>devoto13</author>
<_description>Color scheme similar to light them of WebStorm</_description>
<!-- Palette -->
<color name="white" value="#FFFFFF"/>
<color name="blue" value="#0000FF"/>
<color name="dark_blue" value="#000080"/>
<color name="magenta" value="#FF00FF"/>
<color name="violet" value="#6A5ACD"/>
<color name="cyan" value="#008A8C"/>
<color name="gray" value="#808080"/>
<color name="green" value="#008000"/>
<color name="bordeaux" value="#A52A2A"/>
<color name="red" value="#FF0000"/>
<color name="yellow" value="#FFFF00"/>
<color name="light_yellow" value="#FFFAE3"/>
<color name="purple" value="#A020F0"/>
<!-- Global Settings -->
<style name="current-line" background="light_yellow"/>
<style name="draw-spaces" foreground="#babdb6"/>
<!-- Bracket Matching -->
<style name="bracket-match" foreground="white" background="gray" bold="true"/>
<style name="bracket-mismatch" foreground="white" background="red" bold="true"/>
<!-- Right Margin -->
<style name="right-margin" foreground="#000000" background="#000000"/>
<!-- Search Matching -->
<style name="search-match" background="yellow"/>
<!-- Comments -->
<style name="def:comment" foreground="gray" italic="true"/>
<!-- Constants -->
<style name="def:constant" foreground="magenta"/>
<style name="def:string" foreground="green"/>
<style name="def:keyword" foreground="dark_blue"/>
<style name="def:special-constant" foreground="dark_blue"/>
<style name="def:special-char" foreground="violet"/>
<!-- Identifiers -->
<style name="def:identifier" foreground="cyan"/>
<!-- Statements -->
<style name="def:statement" foreground="bordeaux" bold="true"/>
<!-- Others -->
<style name="def:preprocessor" foreground="purple"/>
<style name="def:error" background="red" bold="true"/>
<style name="def:warning" background="yellow"/>
<style name="def:note" foreground="blue" background="yellow" bold="true"/>
<style name="def:underlined" italic="true" underline="true"/>
</style-scheme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment