Skip to content

Instantly share code, notes, and snippets.

@natanfelles
Created June 13, 2016 14:48
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natanfelles/ae1a176a92c6a2404518498c77c48696 to your computer and use it in GitHub Desktop.
Save natanfelles/ae1a176a92c6a2404518498c77c48696 to your computer and use it in GitHub Desktop.
gedit darcula theme
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="darcula" _name="Darcula" version="1.0">
<author>Sash0k</author>
<_description>Dark color scheme using IntelliJ IDEA colors</_description>
<!-- Scribe Theme Generator 1.3 -->
<!-- COLORS -->
<color name="comment_color" value="#629755"/>
<color name="gray_color" value="#808080"/>
<color name="number_color" value="#9876aa"/>
<color name="string_color" value="#568650"/>
<color name="boolean_color" value="#9876aa"/>
<color name="keyword_color" value="#cb612d"/>
<color name="error_color" value="#ff0000"/>
<color name="text_fg" value="#a9b7c6"/>
<color name="text_bg" value="#2b2b2b"/>
<color name="selection" value="#214283"/>
<color name="line_highlight" value="#323232"/>
<color name="yellow" value="#ffff00"/>
<color name="yellow_bg" value="#3b514d"/>
<color name="function" value="#ffc66d"/>
<!-- Global Settings -->
<style name="text" foreground="text_fg" background="text_bg"/>
<style name="selection" background="selection"/>
<style name="cursor" foreground="gray_color"/>
<style name="current-line" background="line_highlight"/>
<style name="line-numbers" foreground="gray_color" background="line_highlight"/>
<style name="bracket-match" foreground="yellow" background="yellow_bg"/>
<style name="bracket-mismatch" background="error_color"/>
<style name="search-match" background="#425F44"/>
<!-- Comments -->
<style name="def:comment" foreground="gray_color"/>
<style name="def:shebang" foreground="comment_color" bold="true"/>
<style name="def:doc-comment-element" foreground="comment_color" italic="true"/>
<style name="def:note" foreground="yellow" italic="true"/>
<!-- Base syntax colors
Languages: plain, python, ruby, xml, html, ada, asp, awk, boo, c,
changelog, chdr, cmake, cpp, csharp, css, d, def, desktop, diff,
docbook, dosbatch, dot, dpatch, dtd, eiffel, erlang, forth, fortran,
gap, gtkrc, haddock, haskell, haskell-literate, idl, ini, java,
javascript, latex, libtool, lua, m4, makefile, msil, nermele, nsis,
objc, ocaml, ocl, octave, pascal, perl, php, pkgconfig, po, prolog,
R, rpmspec, scheme, sh, sql, t2t, tcl, texinfo, vala, vbnet, verilog,
vhdl, xslt, yacc
-->
<style name="def:string" foreground="string_color"/>
<style name="def:character" foreground="string_color"/>
<style name="def:special-char" foreground="string_color"/>
<style name="def:number" foreground="number_color"/>
<style name="def:decimal" foreground="number_color"/>
<style name="def:floating-point" foreground="number_color"/>
<style name="def:complex" foreground="number_color"/>
<style name="def:base-n-integer" foreground="number_color"/>
<style name="def:boolean" foreground="boolean_color"/>
<style name="def:builtin" foreground="keyword_color"/>
<style name="def:keyword" foreground="keyword_color"/>
<style name="def:function" foreground="function"/>
<style name="def:type" foreground="keyword_color" bold="true"/>
<style name="def:preprocessor" foreground="keyword_color"/>
<style name="def:identifier" foreground="keyword_color"/>
<style name="def:operator" foreground="keyword_color"/>
<style name="def:statement" foreground="keyword_color" bold="true"/>
<style name="def:constant" foreground="number_color"/>
<style name="def:special-constant" foreground="number_color"/>
<style name="def:error" foreground="text_bg" background="error_color"/>
<style name="def:underlined" italic="true" underline="true"/>
</style-scheme>
@vinyanalista
Copy link

How to install:

Open gedit, and go to Edit > Preferences > Font & Colors tab. Next, click the small “+” button to add a theme. Navigate to the xml theme file and open it. The theme will be added to gedit, ready for immediate use.

Reference: https://delightlylinux.wordpress.com/2015/03/25/gedit-themes/

Thanks for the great theme!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment