首先大喊一声:Gedit大法吼哇!

这里蒟蒻XZY收集了一写Gedit的配色方案。

配色方案使用方法:
1. 新建一个.xml文件,比如theme1.xml
2. 找到你喜欢的配色方案,把下面的代码复制到文件里,保存
3. Gedit->编辑->首选项->字体和颜色->左下角的加号->选中刚刚那个.xml文件,OK

Tango 配色方案

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

 This file is part of GtkSourceView

 Copyright (C) 2006-2007 GtkSourceView team
 Author: Michael Monreal <michael.monreal@gmail.com>

 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="tango" _name="Tango" version="1.0">
  <author>Michael Monreal</author>
  <_description>Color scheme using Tango color palette</_description>

  <!-- Tango Palette -->
  <color name="butter1"                     value="#fce94f"/>
  <color name="butter2"                     value="#edd400"/>
  <color name="butter3"                     value="#c4a000"/>
  <color name="chameleon1"                  value="#8ae234"/>
  <color name="chameleon2"                  value="#73d216"/>
  <color name="chameleon3"                  value="#4e9a06"/>
  <color name="orange1"                     value="#fcaf3e"/>
  <color name="orange2"                     value="#f57900"/>
  <color name="orange3"                     value="#ce5c00"/>
  <color name="skyblue1"                    value="#729fcf"/>
  <color name="skyblue2"                    value="#3465a4"/>
  <color name="skyblue3"                    value="#204a87"/>
  <color name="plum1"                       value="#ad7fa8"/>
  <color name="plum2"                       value="#75507b"/>
  <color name="plum3"                       value="#5c3566"/>
  <color name="chocolate1"                  value="#e9b96e"/>
  <color name="chocolate2"                  value="#c17d11"/>
  <color name="chocolate3"                  value="#8f5902"/>
  <color name="scarletred1"                 value="#ef2929"/>
  <color name="scarletred2"                 value="#cc0000"/>
  <color name="scarletred3"                 value="#a40000"/>
  <color name="aluminium1"                  value="#eeeeec"/>
  <color name="aluminium2"                  value="#d3d7cf"/>
  <color name="aluminium3"                  value="#babdb6"/>
  <color name="aluminium4"                  value="#888a85"/>
  <color name="aluminium5"                  value="#555753"/>
  <color name="aluminium6"                  value="#2e3436"/>

  <!-- Global Settings -->
  <style name="cursor"                      foreground="aluminium4"/>
  <style name="current-line"                background="aluminium1"/>
  <style name="current-line-number"         background="aluminium1"/>
  <style name="draw-spaces"                 foreground="aluminium3"/>
  <style name="background-pattern"          background="#f3f3f3"/>

  <!-- Bracket Matching -->
  <style name="bracket-match"               foreground="aluminium1" background="aluminium3" bold="true"/>
  <style name="bracket-mismatch"            foreground="aluminium1" background="scarletred3" bold="true"/>

  <!-- Right Margin -->
  <style name="right-margin"                foreground="aluminium6" background="aluminium6"/>

  <!-- Search Matching -->
  <style name="search-match"                background="butter1"/>

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

  <!-- Constants -->
  <style name="def:constant"                foreground="plum1"/>
  <style name="def:special-char"            foreground="plum3"/>

  <!-- Identifiers -->
  <style name="def:identifier"              foreground="skyblue2"/>

  <!-- Statements -->
  <style name="def:statement"               foreground="scarletred3" bold="true"/>

  <!-- Types -->
  <style name="def:type"                    foreground="chameleon3" bold="true"/>

  <!-- Others -->
  <style name="def:preprocessor"            foreground="chocolate3"/>
  <style name="def:error"                   background="scarletred2" bold="true"/>
  <style name="def:warning"                 background="plum1"/>
  <style name="def:note"                    background="orange1" bold="true"/>
  <style name="def:underlined"              italic="true" underline="single"/>

  <!-- Heading styles, uncomment to enable -->
  <!--
  <style name="def:heading0"                scale="5.0"/>
  <style name="def:heading1"                scale="2.5"/>
  <style name="def:heading2"                scale="2.0"/>
  <style name="def:heading3"                scale="1.7"/>
  <style name="def:heading4"                scale="1.5"/>
  <style name="def:heading5"                scale="1.3"/>
  <style name="def:heading6"                scale="1.2"/>
  -->

  <!-- Language specific -->
  <style name="diff:added-line"             foreground="chameleon3"/>
  <style name="diff:removed-line"           foreground="plum3"/>
  <style name="diff:changed-line"           use-style="def:preprocessor"/>
  <style name="diff:diff-file"              use-style="def:type"/>
  <style name="diff:location"               use-style="def:statement"/>
  <style name="diff:special-case"           use-style="def:constant"/>

  <style name="xml:tags"                    foreground="chameleon3"/>
  <style name="xml:namespace"               bold="true"/>

  <style name="js:object"                   foreground="chameleon3" bold="true"/>
  <style name="js:constructors"             foreground="chameleon3"/>

  <style name="latex:display-math"          foreground="plum3"/>
  <style name="latex:command"               foreground="chameleon3" bold="true"/>
  <style name="latex:include"               use-style="def:preprocessor"/>
  <style name="latex:special-char"          use-style="def:constant"/>

  <style name="sh:variable"                 foreground="plum3"/>
  <style name="sh:variable-definition"      foreground="chameleon3"/>

</style-scheme>

效果预览:

Monokai

<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright (C) 2009 tm2gtksw2(Alexandre da Silva)

 This file was generated from a textmate theme named Monokai
 with tm2gtksw2 tool. (Alexandre da Silva)
 Modified by Andrey Serebryakov, 2011

 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="monokaisuper" _name="MonokaiSuper" version="1.0">
  <author>tm2gtksw2(Alexandre da Silva)</author>
  <_description>GMate Theme - Generated from textmate theme with tm2gtksw2</_description>

  <style name="bracket-match"  background="#B6A922" bold="true" italic="true"/>
  <style name="bracket-mismatch"  background="#B6A922" underline="true"/>
  <style name="css:at-rules" foreground="#f92672"/>
  <style name="css:color" foreground="#ae81ff"/>
  <style name="css:keyword" foreground="#66d9ef" italic="true"/>
  <style name="current-line"  background="#3e3d32"/>
  <style name="cursor" foreground="#f8f8f0"/>
  <style name="def:base-n-integer" foreground="#ae81ff"/>
  <style name="def:boolean" foreground="#ae81ff"/>
  <style name="def:builtin" foreground="#ae81ff"/>
  <style name="def:character" foreground="#ae81ff"/>
  <style name="def:comment" foreground="#75715e"/>
  <style name="def:complex" foreground="#ae81ff"/>
  <style name="def:decimal" foreground="#ae81ff"/>
  <style name="def:doc-comment" foreground="#75715e"/>
  <style name="def:doc-comment-element" foreground="#75715e"/>
  <style name="def:error" foreground="#f8f8f0" background="#f92672"/>
  <style name="def:floating-point" foreground="#ae81ff"/>
  <style name="def:function" foreground="#a6e22e"/>
  <style name="def:keyword" foreground="#f92672"/>
  <style name="def:note" foreground="#75715e"/>
  <style name="def:number" foreground="#ae81ff"/>
  <style name="def:operator" foreground="#f92672"/>
  <style name="def:preprocessor" foreground="#66d9ef"/>
  <style name="def:reserved" foreground="#f92672"/>
  <style name="def:shebang" foreground="#75715e"/>
  <style name="def:special-char" foreground="#66d9ef"/>
  <style name="def:special-constant" foreground="#ae81ff"/>
  <style name="def:statement" foreground="#f92672"/>
  <style name="def:string" foreground="#e6db74"/>
  <style name="def:type" foreground="#66d9ef" italic="true"/>
  <style name="draw-spaces" foreground="#3b3a32"/>
  <style name="html:dtd" foreground="#e6db74"/>
  <style name="html:tag" foreground="#f92672"/>
  <style name="js:function" foreground="#66d9ef"/>
  <style name="line-numbers" foreground="#f8f8f2" background="#3e3d32"/>
  <style name="perl:builtin" foreground="#a6e22e"/>
  <style name="perl:include-statement" foreground="#f92672"/>
  <style name="perl:special-variable" foreground="#ae81ff"/>
  <style name="php:string" foreground="#e6db74"/>
  <style name="php:identifier" foreground="#a6e22e" bold="true"/>
  <style name="php:variable" foreground="#66D9EF"/>

  <style name="python:builtin-constant" foreground="#f92672"/>
  <style name="python:builtin-function" foreground="#a6e22e"/>
  <style name="python:module-handler" foreground="#f92672"/>
  <style name="python:special-variable" foreground="#f92672"/>
  <style name="ruby:attribute-definition" foreground="#f92672"/>
  <style name="ruby:global-variable" foreground="#a6e22e"/>
  <style name="ruby:module-handler" foreground="#f92672"/>
  <style name="ruby:predefined-variable" foreground="#ae81ff"/>
  <style name="ruby:regex" foreground="#e6db74"/>
  <style name="ruby:special-variable" foreground="#f92672"/>
  <style name="ruby:symbol" foreground="#ae81ff"/>
  <style name="rubyonrails:attribute-definition" foreground="#f92672"/>
  <style name="rubyonrails:block-parameter" foreground="#fd971f" italic="true"/>
  <style name="rubyonrails:class-inherit" foreground="#a6e22e" underline="true" italic="true"/>
  <style name="rubyonrails:class-name" foreground="#66d9ef" italic="true"/>
  <style name="rubyonrails:complex-interpolation" foreground="#ae81ff"/>
  <style name="rubyonrails:global-variable" foreground="#a6e22e"/>
  <style name="rubyonrails:module-handler" foreground="#f92672"/>
  <style name="rubyonrails:module-name" foreground="#66d9ef" italic="true"/>
  <style name="rubyonrails:predefined-variable" foreground="#ae81ff"/>
  <style name="rubyonrails:regex" foreground="#e6db74"/>
  <style name="rubyonrails:simple-interpolation" foreground="#ae81ff"/>
  <style name="rubyonrails:special-variable" foreground="#f92672"/>
  <style name="rubyonrails:symbol" foreground="#ae81ff"/>
  <style name="search-match"  background="#E8DA50" foreground="#999674"/>
  <style name="selection" foreground="#f8f8f2" background="#739927"/>
  <style name="text" foreground="#f8f8f2" background="#272822"/>
  <style name="xml:attribute-name" foreground="#a6e22e"/>
  <style name="xml:element-name" foreground="#f92672"/>
  <style name="xml:namespace" foreground="#f92672"/>
  <style name="xml:tag" foreground="#f92672"/>

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


</style-scheme>

效果预览:

Solarized Light

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

  This file is part of GtkSourceView

  Copyright (C) 2011 Craig Russell
  Author: Craig Russell <craig@craig-russell.co.uk>

  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="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"/>

  <color name="base3-2-blend" value="#F6EFDC"/>

  <!-- 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"/>
  <style name="background-pattern"          background="base3-2-blend"/>

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

  <!-- Right Margin -->
  <style name="right-margin"                foreground="base01" background="base01"/>

  <!-- 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="single"/>

  <!-- Heading styles, uncomment to enable -->
  <!--
  <style name="def:heading0"                scale="5.0"/>
  <style name="def:heading1"                scale="2.5"/>
  <style name="def:heading2"                scale="2.0"/>
  <style name="def:heading3"                scale="1.7"/>
  <style name="def:heading4"                scale="1.5"/>
  <style name="def:heading5"                scale="1.3"/>
  <style name="def:heading6"                scale="1.2"/>
  -->
</style-scheme>

效果预览:

Solarized Dark

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

  This file is part of GtkSourceView

  Copyright (C) 2011 Craig Russell
  Author: Craig Russell <craig@craig-russell.co.uk>

  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="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"/>

  <color name="base03-02-blend" value="#032F3B"/>

  <!-- 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"/>
  <style name="background-pattern"          background="base03-02-blend"/>

  <!-- Bracket Matching -->
  <style name="bracket-match"               foreground="base03" background="base01"/>
  <style name="bracket-mismatch"            foreground="red" background="base01"/>

  <!-- Right Margin -->
  <style name="right-margin"                foreground="base2" background="base1"/>

  <!-- 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="single"/>

  <!-- Heading styles, uncomment to enable -->
  <!--
  <style name="def:heading0"                scale="5.0"/>
  <style name="def:heading1"                scale="2.5"/>
  <style name="def:heading2"                scale="2.0"/>
  <style name="def:heading3"                scale="1.7"/>
  <style name="def:heading4"                scale="1.5"/>
  <style name="def:heading5"                scale="1.3"/>
  <style name="def:heading6"                scale="1.2"/>
  -->
</style-scheme>

效果预览:


分享至ヾ(≧∇≦*)ゝ:
分类: 所有

XZYQvQ

炒鸡辣鸡的制杖蒟蒻一枚QvQ

发表评论

电子邮件地址不会被公开。 必填项已用*标注

你是机器人吗? =。= *