Skip to content

Commit

Permalink
added some styles
Browse files Browse the repository at this point in the history
  • Loading branch information
grigio committed May 29, 2008
1 parent 1b9dd3d commit 6f54241
Show file tree
Hide file tree
Showing 3 changed files with 214 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.sh
Expand Up @@ -27,3 +27,9 @@ then
mkdir -p ~/.gnome2/gedit/plugins
fi
cp -R plugins/* ~/.gnome2/gedit/plugins

if [ ! -d $HOME/.gnome2/gedit/styles ]
then
mkdir -p ~/.gnome2/gedit/styles
fi
cp -R styles/* ~/.gnome2/gedit/styles
116 changes: 116 additions & 0 deletions styles/darkmate.xml
@@ -0,0 +1,116 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2006-2007 GtkSourceView team
Author: Luigi Maselli <luigix_@t_gmail_com>
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="darkmate" _name="Darkmate" version="1.0">
<author>Luigi Maselli</author>
<_description>Color scheme Darkmate, for dark backgrounds</_description>

<!--
Colors from the Darkmate palette. See it in action on http://grigio.org/files/darkmate.png
-->
<color name="gray" value="#bbbbbb"/>
<color name="white" value="#eeeeee"/>
<color name="yellow" value="#fce94f"/>
<color name="senape" value="#acc900"/>
<color name="lime" value="#96ff00"/>
<color name="green" value="#00c900"/>
<color name="alga" value="#00c99b"/>
<color name="aqua" value="#00d8ff"/>
<color name="cyan" value="#009cff"/>
<color name="violet" value="#9e91ff"/>
<color name="purple" value="#bb66ff"/>
<color name="fuchsia" value="#ff44cc"/>
<color name="magenta" value="#ff79d9"/>
<color name="red" value="#ff2f6a"/>
<color name="orange" value="#ff6100"/>
<color name="ambra" value="#ff9900"/>
<color name="asfalto" value="#555753"/>
<color name="carbon" value="#232323"/>

<!--
GUI styles
-->
<style name="text" foreground="white" background="carbon"/>
<style name="selection" background="asfalto"/>
<style name="selection-unfocused" foreground="white" background="gray"/>
<style name="cursor" foreground="white"/>
<style name="secondary-cursor" foreground="magenta"/>
<style name="current-line" background="#black"/>
<style name="line-numbers" foreground="asfalto" background="gray"/>
<style name="bracket-match" foreground="white" background="purple" bold="true"/>
<style name="bracket-mismatch" foreground="white" background="magenta" bold="true"/>
<style name="search-match" foreground="carbon" background="yellow"/>

<!--
Default styles
-->
<style name="def:keyword" foreground="ambra" bold="true"/>
<style name="def:statement" foreground="alga"/>
<style name="def:function" foreground="violet"/>
<style name="def:preprocessor" foreground="white" bold="true"/>
<style name="def:type" foreground="cyan"/>

<style name="def:character" foreground="ambra"/>

<style name="def:comment" foreground="purple"/>
<style name="def:number" foreground="alga"/>
<style name="def:string" foreground="lime"/>
<style name="def:net-address-in-comment" foreground="violet" italic="true" underline="true"/>
<style name="def:note" foreground="white" background="fuchsia" bold="true"/>
<style name="def:error" background="red" bold="true"/>
<style name="def:escape" foreground="violet"/>
<style name="def:shebang" foreground="alga" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<style name="def:identifier" foreground="alga" bold="true"/>

<style name="def:specials" foreground="white" background="magenta"/>

<style name="def:variable" foreground="cyan"/>
<style name="def:boolean" foreground="fuchsia" bold="true"/>
<style name="def:constant" foreground="yellow"/>
<style name="def:special-constant" foreground="fuchsia" bold="true"/>


<!--
Language specific styles
-->
<!-- <style name="ruby:keyword" foreground="ambra" bold="true"/> -->
<style name="ruby:comment" foreground="magenta"/>
<style name="ruby:attribute-definition" foreground="white" bold="true"/>
<style name="ruby:module-handler" foreground="white" bold="true"/>
<style name="ruby:builtin" foreground="yellow" bold="true"/>
<style name="ruby:special-variable" foreground="fuchsia" bold="true"/>
<style name="ruby:predefined-variable" foreground="aqua" bold="true"/>
<!-- <style name="ruby:variable" foreground="green" bold="true"/> -->
<style name="ruby:symbol" foreground="cyan"/>
<style name="ruby:regex" foreground="fuchsia" bold="true"/>
<style name="ruby:constant" foreground="yellow"/>
<!-- <style name="ruby:nil-value" foreground="fuchsia" bold="true"/> -->
<!-- <style name="ruby:boolean" foreground="fuchsia" bold="true"/> -->

<style name="diff:added-line" foreground="lime"/>
<style name="diff:removed-line" foreground="magenta"/>
<style name="diff:changed-line" foreground="ambra"/>
<style name="diff:special-case" use-style="def:string"/>
<style name="diff:location" use-style="def:keyword"/>

</style-scheme>
92 changes: 92 additions & 0 deletions styles/railscasts.xml
@@ -0,0 +1,92 @@
<style-scheme id="dazzl" _name="Dazzl" version="1.0">
<author>DAZ</author>
<_description>Dazzl Colour scheme</_description>

<!--
Colors from the Railscasts palette.
-->

<color name="babygreen" value="#cbf8b0"/>
<color name="violet" value="#d0cffe"/>
<color name="babypink" value="#ffc0cb"/>
<color name="babyblue" value="#9cbddd"/>

<color name="black" value="#000000"/>
<color name="asfalto" value="#15171c"/>
<color name="carbon" value="#222429"/>
<color name="slate" value="#506681"/>
<color name="grey" value="#666666"/>
<color name="white" value="#eeeeee"/>

<!--
GUI styles
-->
<style name="text" foreground="white" background="carbon"/>
<style name="selection" background="slate"/>
<style name="selection-unfocused" foreground="white" background="grey"/>
<style name="cursor" foreground="white"/>
<style name="secondary-cursor" foreground="babypink"/>
<style name="current-line" background="asfalto"/>
<style name="line-numbers" foreground="grey" background="black"/>
<style name="bracket-match" foreground="white" background="black" bold="true"/>
<style name="bracket-mismatch" foreground="white" background="black" bold="true"/>
<style name="search-match" foreground="black" background="white"/>

<!--
Default styles
-->
<style name="def:keyword" foreground="babypink" bold="true"/>
<style name="def:statement" foreground="violet"/>
<style name="def:function" foreground="violet"/>
<style name="def:preprocessor" foreground="babypink"/>
<style name="def:type" foreground="green"/>

<style name="def:character" foreground="babypink"/>

<style name="def:comment" foreground="grey" italic="true"/>
<style name="def:number" foreground="babyblue" bold="true"/>
<style name="def:string" foreground="babyblue"/>
<style name="def:net-address-in-comment" foreground="violet" italic="true" underline="true"/>
<style name="def:note" foreground="white" background="black" bold="true"/>
<style name="def:error" background="red" bold="true"/>
<style name="def:escape" foreground="babypink"/>
<style name="def:shebang" foreground="babyblue" bold="true"/>
<style name="def:doc-comment-element" italic="true"/>
<style name="def:identifier" foreground="babyblue" bold="true"/>

<style name="def:specials" foreground="white" background="magenta"/>

<style name="def:variable" foreground="babyblue"/>
<style name="def:boolean" foreground="babyblue" bold="true"/>
<style name="def:constant" foreground="white"/>
<style name="def:special-constant" foreground="babypink" bold="true"/>


<!--
Language specific styles
-->
<!-- <style name="ruby:keyword" foreground="ambra" bold="true"/> -->
<style name="ruby:comment" foreground="grey"/>
<style name="ruby:attribute-definition" foreground="babypink" bold="true"/>
<style name="ruby:module-handler" foreground="white" bold="true"/>
<style name="ruby:builtin" foreground="violet" bold="true"/>
<style name="ruby:special-variable" foreground="babyblue"/>
<style name="ruby:predefined-variable" foreground="babygreen" bold="true"/>

<style name="ruby:symbol" foreground="babygreen" bold="false"/>
<style name="ruby:regex" foreground="babygreen" bold="true"/>
<style name="ruby:constant" foreground="babypink"/>
<style name="ruby:variable" foreground="babyblue"/>

<style name="rhtml:erb-block" foreground="babypink" bold="false"/>

<!-- <style name="ruby:nil-value" foreground="fuchsia" bold="true"/> -->
<!-- <style name="ruby:boolean" foreground="fuchsia" bold="true"/> -->

<style name="diff:added-line" foreground="babygreen"/>
<style name="diff:removed-line" foreground="babypink"/>
<style name="diff:changed-line" foreground="babypink"/>
<style name="diff:special-case" use-style="def:string"/>
<style name="diff:location" use-style="def:keyword"/>

</style-scheme>

0 comments on commit 6f54241

Please sign in to comment.