首先大喊一声: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>
效果预览:
one dark
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2009 tm2gtksw2(Alexandre da Silva)
This file was generated from a textmate theme named One Dark
with tm2gtksw2 tool. (Alexandre da Silva)
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="onedark" _name="One Dark" version="1.0">
<author>tm2gtksw2(Alexandre da Silva)</author>
<_description>GMate Theme - Generated from textmate theme with tm2gtksw2</_description>
<style name="bracket-match" background="#2e343d" bold="true"/>
<style name="bracket-mismatch" background="#2e343d" underline="true"/>
<style name="css:at-rules" foreground="#c678dd"/>
<style name="css:color" foreground="#abb2bf"/>
<style name="css:keyword" foreground="#e5c07b"/>
<style name="current-line" background="#2e343d"/>
<style name="cursor" foreground="#528bff"/>
<style name="def:base-n-integer" foreground="#d19a66"/>
<style name="def:boolean" foreground="#d19a66"/>
<style name="def:builtin" foreground="#d19a66"/>
<style name="def:character" foreground="#d19a66"/>
<style name="def:comment" foreground="#5c6370" italic="true"/>
<style name="def:complex" foreground="#d19a66"/>
<style name="def:decimal" foreground="#d19a66"/>
<style name="def:doc-comment" foreground="#5c6370" italic="true"/>
<style name="def:doc-comment-element" foreground="#5c6370" italic="true"/>
<style name="def:error" foreground="#ffffff" background="#f2777a"/>
<style name="def:floating-point" foreground="#d19a66"/>
<style name="def:function" foreground="#61afef"/>
<style name="def:identifier" foreground="#e06c75"/>
<style name="def:keyword" foreground="#c678dd"/>
<style name="def:note" foreground="#5c6370" italic="true"/>
<style name="def:number" foreground="#d19a66"/>
<style name="def:operator" foreground="#c678dd"/>
<style name="def:preprocessor" foreground="#d19a66"/>
<style name="def:reserved" foreground="#c678dd"/>
<style name="def:shebang" foreground="#5c6370" italic="true"/>
<style name="def:special-char" foreground="#d19a66"/>
<style name="def:special-constant" foreground="#d19a66"/>
<style name="def:statement" foreground="#c678dd"/>
<style name="def:string" foreground="#98c379"/>
<style name="def:type" foreground="#e5c07b"/>
<style name="draw-spaces" foreground="#747369"/>
<style name="html:dtd" foreground="#98c379"/>
<style name="html:tag" foreground="#e06c75"/>
<style name="js:function" foreground="#61afef"/>
<style name="line-numbers" foreground="#abb2bf" background="#2e343d"/>
<style name="perl:builtin" foreground="#61afef"/>
<style name="perl:include-statement" foreground="#c678dd"/>
<style name="perl:special-variable" foreground="#d19a66"/>
<style name="perl:variable" foreground="#e06c75"/>
<style name="php:string" foreground="#98c379"/>
<style name="python:builtin-constant" foreground="#c678dd"/>
<style name="python:builtin-function" foreground="#61afef"/>
<style name="python:module-handler" foreground="#c678dd"/>
<style name="python:special-variable" foreground="#c678dd"/>
<style name="ruby:attribute-definition" foreground="#c678dd"/>
<style name="ruby:builtin" foreground="#e06c75"/>
<style name="ruby:class-variable" foreground="#e06c75"/>
<style name="ruby:constant" foreground="#e06c75"/>
<style name="ruby:global-variable" foreground="#61afef"/>
<style name="ruby:instance-variable" foreground="#e06c75"/>
<style name="ruby:module-handler" foreground="#c678dd"/>
<style name="ruby:predefined-variable" foreground="#d19a66"/>
<style name="ruby:regex" foreground="#e06c75"/>
<style name="ruby:special-variable" foreground="#c678dd"/>
<style name="ruby:symbol" foreground="#abb2bf"/>
<style name="rubyonrails:attribute-definition" foreground="#c678dd"/>
<style name="rubyonrails:block-parameter" foreground="#d19a66"/>
<style name="rubyonrails:builtin" foreground="#e06c75"/>
<style name="rubyonrails:class-inherit" foreground="#98c379"/>
<style name="rubyonrails:class-name" foreground="#e5c07b"/>
<style name="rubyonrails:class-variable" foreground="#e06c75"/>
<style name="rubyonrails:complex-interpolation" foreground="#d19a66"/>
<style name="rubyonrails:constant" foreground="#e06c75"/>
<style name="rubyonrails:global-variable" foreground="#61afef"/>
<style name="rubyonrails:instance-variable" foreground="#e06c75"/>
<style name="rubyonrails:module-handler" foreground="#c678dd"/>
<style name="rubyonrails:module-name" foreground="#e5c07b"/>
<style name="rubyonrails:predefined-variable" foreground="#d19a66"/>
<style name="rubyonrails:rails" foreground="#e06c75"/>
<style name="rubyonrails:regex" foreground="#e06c75"/>
<style name="rubyonrails:simple-interpolation" foreground="#d19a66"/>
<style name="rubyonrails:special-variable" foreground="#c678dd"/>
<style name="rubyonrails:symbol" foreground="#abb2bf"/>
<style name="search-match" background="#2e343d" bold="true" underline="true"/>
<style name="selection" foreground="#abb2bf" background="#3d4350"/>
<style name="text" foreground="#abb2bf" background="#282c34"/>
<style name="xml:attribute-name" foreground="#e06c75"/>
<style name="xml:doctype" foreground="#e06c75"/>
<style name="xml:element-name" foreground="#e06c75"/>
<style name="xml:namespace" foreground="#e06c75"/>
<style name="xml:tag" foreground="#e06c75"/>
</style-scheme>
效果预览:
plane dark
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="plane-dark" name="Plane dark" version="1.0">
<author>wfpaisa</author>
<_description>A dark theme for Gedit</_description>
<!-- Plane Gedit colors -->
<color name="background" value="#1F2228"/>
<color name="current-line" value="#25282E"/>
<color name="selection" value="#3B4148"/>
<color name="foreground" value="#f8f8f2"/>
<color name="comment" value="#626C7A"/>
<color name="cyan" value="#A0DFFF"/>
<color name="green" value="#71F2C3"/>
<color name="orange" value="#FF9A78"/>
<color name="pink" value="#FF87BF"/>
<color name="purple" value="#B59DDB"/>
<color name="red" value="#FF7272"/>
<color name="yellow" value="#FFF6B2"/>
<!-- Helper colors -->
<color name="white" value="#ffffff"/>
<color name="bone-white" value="#f8f8f0"/>
<color name="weird-gray" value="#3C404A"/>
<style name="text" foreground="bone-white" background="background"/>
<style name="selection" background="selection"/>
<style name="cursor" foreground="white" background="white"/>
<style name="current-line" foreground="current-line" background="current-line"/>
<style name="line-numbers" foreground="weird-gray" background="background"/>
<style name="bracket-match" foreground="bone-white" background="background" underline="true"/>
<style name="search-match" foreground="selection" background="yellow"/>
<style name="def:function" foreground="green"/>
<style name="def:identifier" foreground="pink"/>
<style name="def:keyword" foreground="pink"/>
<style name="def:number" foreground="purple" />
<style name="def:boolean" foreground="purple"/>
<style name="def:string" foreground="yellow"/>
<style name="def:special-char" foreground="pink"/>
<style name="def:function" foreground="green"/>
<style name="def:builtin" foreground="cyan"/>
<style name="def:type" foreground="green"/>
<style name="def:preprocessor" foreground="green"/>
<style name="def:comment" foreground="comment" italic="true"/>
<!-- Python-specific stuff -->
<style name="python:module-handler" foreground="pink"/>
<style name="python:function-name" foreground="green"/>
<style name="python:decorator" foreground="green"/>
<style name="python:class-name" foreground="white"/>
<style name="python:special-variable" foreground="cyan"/>
<style name="python:builtin-constant" foreground="purple"/>
<style name="def:specials" foreground="#f8f8f2"/>
<style name="def:statement" foreground="pink"/>
<style background="#468410" bold="true" foreground="#f8f8f2" name="diff:added-line"/>
<style foreground="#8b080b" name="diff:removed-line"/>
<style background="#243a5f" foreground="#f8f8f2" name="diff:changed-line"/>
</style-scheme>
效果预览:
nord
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
Copyright (c) 2016-present Sven Greb <code@svengreb.de>
Project: Nord gedit
Version: 0.1.0
Repository: https://github.com/arcticicestudio/nord-gedit
License: MIT
References:
https://developer.gnome.org/gtksourceview/stable/style-reference.html
https://developer.gnome.org/gtksourceview/stable/lang-reference.html
https://developer.gnome.org/gtksourceview/stable/GtkSourceStyle.html
https://developer.gnome.org/gtksourceview/stable/GtkSourceStyleScheme.html
-->
<style-scheme id="nord-gedit" name="Nord" filename="nord.xml" version="1.0">
<author>Arctic Ice Studio</author>
<description>An arctic, north-bluish clean and elegant gedit syntax theme.</description>
<color name="nord0" value="#2E3440" />
<color name="nord1" value="#3B4252" />
<color name="nord2" value="#434C5E" />
<color name="nord3" value="#4C566A" />
<color name="nord4" value="#D8DEE9" />
<color name="nord5" value="#E5E9F0" />
<color name="nord6" value="#ECEFF4" />
<color name="nord7" value="#8FBCBB" />
<color name="nord8" value="#88C0D0" />
<color name="nord9" value="#81A1C1" />
<color name="nord10" value="#5E81AC" />
<color name="nord11" value="#BF616A" />
<color name="nord12" value="#D08770" />
<color name="nord13" value="#EBCB8B" />
<color name="nord14" value="#A3BE8C" />
<color name="nord15" value="#B48EAD" />
<!--+- - - - - +
+ Settings +
+- - - - - +-->
<style name="background-pattern" background="nord1"/>
<style name="bracket-match" foreground="nord4" background="nord10"/>
<style name="bracket-mismatch" foreground="nord11" underline="true" />
<style name="current-line" foreground="nord4" background="nord1" />
<style name="cursor" foreground="nord4" />
<style name="draw-spaces" foreground="nord3" />
<style name="line-numbers" foreground="nord3" background="nord0" />
<style name="search-match" foreground="nord4" background="nord10" />
<style name="secondary-cursor" use-style="cursor" />
<style name="selection" foreground="nord4" background="nord2" />
<style name="selection-unfocused" foreground="nord4" background="nord9" />
<style name="right-margin" foreground="nord3" />
<style name="text" foreground="nord4" background="nord0" />
<!--+- - - - - - -+
+ Definitions +
+- - - - - - -+-->
<!--+- Customs -+-->
<style name="def:annotation" foreground="nord12" />
<style name="def:escape" foreground="nord12" />
<style name="def:regexp" foreground="nord13" />
<style name="def:symbol" foreground="nord6" />
<!--+- Variables -+-->
<style name="def:number" foreground="nord15" />
<style name="def:string" foreground="nord14" />
<style name="def:base-n-integer" use-style="def:number" />
<style name="def:character" use-style="def:string" />
<style name="def:complex" use-style="def:number" />
<style name="def:decimal" use-style="def:number" />
<style name="def:floating-point" use-style="def:number" />
<style name="def:special-char" foreground="nord12" />
<style name="def:variable" foreground="nord4" />
<!--+- Constants -+-->
<style name="def:boolean" foreground="nord9" />
<style name="def:constant" foreground="nord4" />
<style name="def:namespace" foreground="nord7" />
<style name="def:special-constant" foreground="nord9" />
<!--+- Comments -+-->
<style name="def:comment" foreground="nord3" />
<style name="def:doc-comment" use-style="def:comment" />
<style name="def:doc-comment-element" foreground="nord9" />
<style name="def:net-address-in-comment" foreground="nord3" underline="true" />
<style name="def:note" use-style="def:comment" />
<!--+- Keywords -+-->
<style name="def:class" foreground="nord7" />
<style name="def:keyword" foreground="nord9" />
<style name="def:attribute" use-style="def:class" />
<style name="def:builtin" use-style="def:keyword" />
<style name="def:identifier" use-style="def:keyword" />
<style name="def:preprocessor" foreground="nord10" />
<style name="def:reserved" use-style="def:keyword" />
<style name="def:shebang" foreground="nord10" />
<style name="def:statement" use-style="def:keyword" />
<style name="def:tag" use-style="def:keyword" />
<style name="def:type" use-style="def:class" />
<!--+- Logicals -+-->
<style name="def:error" foreground="nord11" />
<style name="def:function" foreground="nord8" />
<style name="def:operator" foreground="nord9" />
<!--+- Headings -+-->
<style name="def:heading0" foreground="nord8" />
<style name="def:heading1" use-style="def:heading0" />
<style name="def:heading2" use-style="def:heading0" />
<style name="def:heading3" use-style="def:heading0" />
<style name="def:heading4" use-style="def:heading0" />
<style name="def:heading5" use-style="def:heading0" />
<style name="def:heading6" use-style="def:heading0" />
<!--+- Formats -+-->
<style name="def:underlined" underline="true" />
<style name="def:warning" foreground="nord13" />
<!--+- - - - - -+
+ Languages +
+- - - - - -+-->
<style name="css:at-rules" use-style="def:annotation" />
<style name="css:block" use-style="def:symbol" />
<style name="css:color" use-style="def:number" />
<style name="css:comment" use-style="def:comment" />
<style name="css:decimal" use-style="def:decimal" />
<style name="css:dimension" use-style="def:number" />
<style name="css:error" use-style="def:error" />
<style name="css:function" use-style="def:function" />
<style name="css:keyword" use-style="def:attribute" />
<style name="css:others-2" use-style="def:symbol" />
<style name="css:others-3" use-style="def:symbol" />
<style name="css:property-values" use-style="def:keyword" />
<style name="css:selector-class" use-style="def:class" />
<style name="css:selector-id" foreground="nord7" underline="true" />
<style name="css:selector-tagname" use-style="def:tag" />
<style name="css:string" use-style="def:string" />
<style name="desktop:boolean" use-style="def:boolean" />
<style name="desktop:category-additional" use-style="def:string" />
<style name="desktop:category-main" foreground="nord14" bold="true" />
<style name="desktop:category-reserved" foreground="nord9" underline="true" />
<style name="desktop:encoding" use-style="def:keyword" />
<style name="desktop:exec-parameter" use-style="def:escape" />
<style name="desktop:group" use-style="def:keyword" />
<style name="desktop:key" use-style="def:attribute" />
<style name="desktop:language" use-style="def:string" />
<style name="desktop:number" use-style="def:number" />
<style name="diff:added-line" foreground="nord14" />
<style name="diff:changed-line" foreground="nord13" />
<style name="diff:diff-file" foreground="nord8" />
<style name="diff:location" foreground="nord9" />
<style name="diff:removed-line" foreground="nord11" />
<style name="diff:special-case" use-style="def:string" />
<style name="html:attrib-name" use-style="def:class" />
<style name="html:attrib-value" use-style="def:string" />
<style name="html:comment" use-style="def:comment" />
<style name="html:dtd" use-style="def:shebang" />
<style name="html:error" foreground="def:error" />
<style name="html:h1" use-style="text" />
<style name="html:h2" use-style="text" />
<style name="html:h3" use-style="text" />
<style name="html:h4" use-style="text" />
<style name="html:h5" use-style="text" />
<style name="html:tag" use-style="def:keyword" />
<style name="html:title" use-style="text" />
<style name="ini:boolean-value" use-style="def:boolean" />
<style name="ini:comment" use-style="def:comment" />
<style name="ini:decimal" use-style="def:number" />
<style name="ini:floating-point" use-style="def:number" />
<style name="ini:keyword" use-style="def:keyword" />
<style name="ini:non-standard-key" italic="true" />
<style name="ini:string" use-style="def:string" />
<style name="ini:variable" use-style="def:variable" />
<style name="java:boolean" use-style="def:boolean" />
<style name="java:char" use-style="def:character" />
<style name="java:comment" use-style="def:comment" />
<style name="java:declaration" use-style="def:variable" />
<style name="java:escaped-character" use-style="def:escape" />
<style name="java:external" use-style="def:preprocessor" />
<style name="java:keyword" use-style="def:keyword" />
<style name="java:null-value" use-style="def:keyword" />
<style name="java:number" use-style="def:number" />
<style name="java:reserved" use-style="def:constant" />
<style name="java:scope-declaration" use-style="def:keyword" />
<style name="java:storage-class" use-style="def:keyword" />
<style name="java:string" use-style="def:string" />
<style name="java:type" use-style="def:keyword" />
<style name="js:boolean" use-style="def:boolean" />
<style name="js:constructors" use-style="def:function" />
<style name="js:escape" use-style="def:escape" />
<style name="js:function" use-style="def:function" />
<style name="js:future-words" use-style="def:keyword" />
<style name="js:keyword" use-style="def:keyword" />
<style name="js:null-value" use-style="def:keyword" />
<style name="js:properties" foreground="nord8" italic="true" />
<style name="js:regex" use-style="def:regexp" />
<style name="js:string" use-style="def:string" />
<style name="js:type" use-style="def:keyword" />
<style name="js:undefined-value" use-style="def:keyword" />
<style name="json:boolean" use-style="def:boolean" />
<style name="json:decimal" use-style="def:decimal" />
<style name="json:error" use-style="def:error" />
<style name="json:float" use-style="def:floating-point" />
<style name="json:keyname" use-style="def:keyword" />
<style name="json:null-value" use-style="def:keyword" />
<style name="json:special-char" use-style="def:special-char" />
<style name="json:string" use-style="def:string" />
<style name="markdown:attribute-value" use-style="def:attribute" />
<style name="markdown:backslash-escape" use-style="def:escape" />
<style name="markdown:blockquote-marker" foreground="nord8" />
<style name="markdown:code" foreground="nord7" />
<style name="markdown:emphasis" foreground="nord4" italic="true" />
<style name="markdown:header" foreground="nord8" />
<style name="markdown:horizontal-rule" foreground="nord9" />
<style name="markdown:image-marker" use-style="def:keyword" />
<style name="markdown:label" use-style="def:attribute" />
<style name="markdown:line-break" use-style="def:comment" />
<style name="markdown:link-text" use-style="def:attribute" />
<style name="markdown:list-marker" foreground="nord9" />
<style name="markdown:strong-emphasis" foreground="nord4" bold="true" />
<style name="markdown:url" foreground="nord4" underline="true" />
<style name="perl:builtin" use-style="def:builtin" />
<style name="perl:comment" use-style="def:comment" />
<style name="perl:control" foreground="nord9" underline="true" />
<style name="perl:error" use-style="def:error" />
<style name="perl:file-descriptor" use-style="def:keyword" />
<style name="perl:here-doc-bound" use-style="def:keyword" />
<style name="perl:include-statement" use-style="def:annotation" />
<style name="perl:keyword" use-style="def:keyword" />
<style name="perl:line-directive" foreground="nord3" italic="true" />
<style name="perl:operator" use-style="def:operator" />
<style name="perl:pod" use-style="text" />
<style name="perl:pod-escape" use-style="def:escape" />
<style name="perl:pod-heading" foreground="nord8" />
<style name="perl:pod-keyword" use-style="def:keyword" />
<style name="perl:regex" use-style="def:regexp" />
<style name="perl:string" use-style="def:string" />
<style name="perl:system-command" foreground="nord8" />
<style name="perl:variable" use-style="def:variable" />
<style name="php:boolean" use-style="def:boolean" />
<style name="php:comment" use-style="def:comment" />
<style name="php:common-function" use-style="def:function" />
<style name="php:decimal" use-style="def:number" />
<style name="php:error" use-style="def:error" />
<style name="php:escape" use-style="def:escape" />
<style name="php:floating-point" use-style="def:number" />
<style name="php:here-doc" use-style="def:string" />
<style name="php:here-doc-bound" use-style="def:keyword" />
<style name="php:hexadecimal" use-style="def:number" />
<style name="php:identifier" use-style="def:function" />
<style name="php:keyword" use-style="def:keyword" />
<style name="php:null-value" use-style="def:keyword" />
<style name="php:octal" foreground="nord15" italic="true" />
<style name="php:operator" use-style="def:operator" />
<style name="php:preprocessor" use-style="def:preprocessor" />
<style name="php:string" use-style="def:string" />
<style name="php:type" use-style="def:class" />
<style name="php:variable" use-style="def:variable" />
<style name="python:base-n-integer" foreground="nord15" italic="true" />
<style name="python:boolean" use-style="def:boolean" />
<style name="python:builtin-constant" use-style="def:keyword" />
<style name="python:builtin-function" use-style="def:function" />
<style name="python:builtin-object" use-style="def:class" />
<style name="python:class-name" use-style="def:class" />
<style name="python:complex" foreground="nord15" italic="true" />
<style name="python:decimal" use-style="def:number" />
<style name="python:decorator" use-style="def:annotation" />
<style name="python:escaped-char" use-style="def:escape" />
<style name="python:floating-point" use-style="def:number" />
<style name="python:format" use-style="def:escape" />
<style name="python:function-name" use-style="def:function" />
<style name="python:keyword" use-style="def:keyword" />
<style name="python:module-handler" use-style="def:keyword" />
<style name="python:multiline-string" use-style="def:string" />
<style name="python:special-variable" use-style="def:keyword" />
<style name="python:string" use-style="def:string" />
<style name="python:string-conversion" use-style="def:keyword" />
<style name="python3:base-n-integer" foreground="nord15" italic="true" />
<style name="python3:boolean" use-style="def:boolean" />
<style name="python3:builtin-constant" use-style="def:keyword" />
<style name="python3:builtin-function" use-style="def:function" />
<style name="python3:builtin-object" use-style="def:class" />
<style name="python3:complex" foreground="nord15" italic="true" />
<style name="python3:decimal" use-style="def:number" />
<style name="python3:escaped-char" use-style="def:escape" />
<style name="python3:floating-point" use-style="def:number" />
<style name="python3:format" use-style="def:escape" />
<style name="python3:keyword" use-style="def:keyword" />
<style name="python3:module-handler" use-style="def:keyword" />
<style name="python3:multiline-string" use-style="def:string" />
<style name="python3:special-variable" use-style="def:keyword" />
<style name="python3:string" use-style="def:string" />
<style name="ruby:base-n-integer" use-style="def:number" />
<style name="ruby:boolean" use-style="def:boolean" />
<style name="ruby:builtin" use-style="def:class" />
<style name="ruby:comment" use-style="def:comment" />
<style name="ruby:constant" use-style="def:class" />
<style name="ruby:decimal" use-style="def:number" />
<style name="ruby:escape" use-style="def:escape" />
<style name="ruby:floating-point" use-style="def:number" />
<style name="ruby:here-doc" use-style="def:string" />
<style name="ruby:here-doc-bound" use-style="def:keyword" />
<style name="ruby:keyword" use-style="def:keyword" />
<style name="ruby:literal" use-style="def:escape" />
<style name="ruby:module-handler" use-style="def:keyword" />
<style name="ruby:nil-value" use-style="def:keyword" />
<style name="ruby:numeric-literal" use-style="def:number" />
<style name="ruby:predefined-variable" use-style="def:keyword" />
<style name="ruby:regex" use-style="def:regexp" />
<style name="ruby:special-variable" use-style="def:keyword" />
<style name="ruby:string" use-style="def:string" />
<style name="ruby:symbol" use-style="def:variable" />
<style name="ruby:variable" use-style="def:variable" />
<style name="sh:comment" use-style="def:comment" />
<style name="sh:common-command" foreground="nord9" italic="true" />
<style name="sh:function" use-style="def:function" />
<style name="sh:here-doc-bound" use-style="def:keyword" />
<style name="sh:keyword" use-style="def:keyword" />
<style name="sh:others" use-style="def:keyword" />
<style name="sh:string" use-style="def:string" />
<style name="sh:variable" use-style="def:variable" />
<style name="sh:variable-definition" use-style="def:variable" />
<style name="xml:attribute-name" use-style="def:attribute" />
<style name="xml:attribute-value" use-style="def:string" />
<style name="xml:cdata-delim" foreground="nord3" bold="true" />
<style name="xml:comment" use-style="def:comment" />
<style name="xml:doctype" foreground="nord10" />
<style name="xml:element-name" use-style="def:keyword" />
<style name="xml:entity" use-style="def:escape" />
<style name="xml:error" use-style="def:error" />
<style name="xml:namespace" use-style="def:namespace" />
<style name="xml:processing-instruction" use-style="def:preprocessor" />
<style name="xml:tag" use-style="def:tag" />
</style-scheme>
效果预览:
0 条评论