Skip to content

Instantly share code, notes, and snippets.

@tanwald
Last active June 15, 2020 14:56
Show Gist options
  • Save tanwald/39f33d53f1060c6ad9eb2617cf436e33 to your computer and use it in GitHub Desktop.
Save tanwald/39f33d53f1060c6ad9eb2617cf436e33 to your computer and use it in GitHub Desktop.
darcula gtksourceview color scheme
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme id="darcula" name="Darcula" version="1.0">
<author>Paul Neulinger</author>
<description>Darcula color scheme</description>
<!-- COLORS -->
<color name="orange" value="#cc7832"/>
<color name="yellow" value="#ffc66d"/>
<color name="purple" value="#9876aa"/>
<color name="text-fg" value="#a9b7c6"/>
<color name="text-bg" value="#2b2b2b"/>
<color name="line-fg" value="#606366"/>
<color name="line-bg" value="#313335"/>
<color name="comment-fg" value="#808080"/>
<color name="string-fg" value="#6a8759"/>
<color name="number-fg" value="#6897bb"/>
<color name="match-fg" value="#ffef28"/>
<color name="match-bg" value="#3b514d"/>
<color name="error-bg" value="#9e2927"/>
<color name="warning-bg" value="#be9117"/>
<!-- GLOBAL SETTINGS -->
<style name="text" foreground="text-fg" background="text-bg"/>
<style name="line-numbers" foreground="line-fg" background="line-bg"/>
<style name="current-line" foreground="#a4a3a3" background="line-bg"/>
<style name="cursor" foreground="#bbbbbb"/>
<style name="background-pattern" background="line-bg"/>
<style name="draw-spaces" background="line-bg"/>
<style name="right-margin" use-style="text"/>
<!-- HEADING STYLES -->
<!--
<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"/>
-->
<!-- MATCHING -->
<style name="bracket-match" foreground="match-fg" background="match-bg"/>
<style name="bracket-mismatch" foreground="text-fg" background="error-bg"/>
<style name="search-match" foreground="match-fg" background="match-bg"/>
<!-- STRING -->
<style name="def:string" foreground="string-fg"/>
<style name="def:character" use-style="def:string"/>
<style name="def:special-char" use-style="def:string"/>
<!-- NUMBER -->
<style name="def:number" foreground="number-fg"/>
<style name="def:decimal" use-style="def:number"/>
<style name="def:floating-point" fuse-style="def:number"/>
<style name="def:complex" use-style="def:number"/>
<style name="def:base-n-integer" use-style="def:number"/>
<!-- BOOLEAN -->
<style name="def:boolean" foreground="number-fg"/>
<!-- SYNTAX -->
<style name="def:keyword" foreground="orange"/>
<style name="def:function" foreground="yellow"/>
<style name="def:builtin" foreground="orange"/>
<style name="def:identifier" use-style="text"/>
<style name="def:operator" foreground="orange"/>
<style name="def:preprocessor" foreground="orange"/>
<style name="def:statement" foreground="orange"/>
<style name="def:type" foreground="orange"/>
<!-- VARIABLES & CONSTANTS -->
<style name="def:variable" foreground="number-fg"/>
<style name="def:constant" foreground="number-fg"/>
<style name="def:special-constant" foreground="number-fg"/>
<!-- COMMENTS -->
<style name="def:comment" foreground="comment-fg"/>
<style name="def:shebang" foreground="text-fg" bold="true"/>
<style name="def:doc-comment-element" foreground="comment-fg" italic="true"/>
<!-- OTHERS -->
<style name="def:error" foreground="text-fg" background="error-bg"/>
<style name="def:warning" foreground="text-fg" background="warning-bg"/>
<style name="def:note" foreground="#a8c023" italic="true"/>
<style name="def:underlined" italic="true" underline="true"/>
<!-- SPECIFIC -->
<style name="js:constructors" use-style="def:type"/>
<style name="js:object" use-style="def:type"/>
<style name="latex:command" use-style="def:keyword"/>
<style name="latex:common-commands" use-style="latex:command"/>
<style name="latex:include" use-style="def:number"/>
<style name="latex:math" use-style="def:string"/>
<style name="latex:math-boundary" use-style="def:string"/>
<style name="latex:inline-math" use-style="def:string"/>
<style name="markdown:header" foreground="purple"/>
<style name="markdown:emphasis" foreground="orange"/>
<style name="markdown:strong-emphasis" foreground="orange"/>
<style name="markdown:list-marker" bold="true"/>
<style name="markdown:link-text" foreground="orange"/>
<style name="markdown:url" foreground="yellow"/>
<style name="markdown:label" foreground="orange"/>
<style name="markdown:image-marker" foreground="orange"/>
<style name="markdown:blockquote-marker" use-style="def:string"/>
<style name="markdown:code-block" use-style="def:comment"/>
<style name="markdown:code-span" use-style="def:comment"/>
<style name="python:special-variable" foreground="#b200b2"/>
<style name="python:builtin-function" foreground="purple"/>
<style name="python:builtin-constant" foreground="purple"/>
<style name="python:special-object" foreground="purple"/>
<style name="sh:command" use-style="def:keyword"/>
<style name="sh:common-command" use-style="def:keyword"/>
<style name="sh:keyword" use-style="def:keyword"/>
<style name="sh:function" use-style="def:function"/>
<style name="sh:others" use-style="text"/>
<style name="sh:variable" use-style="text"/>
<style name="sh:variable-definition" use-style="text"/>
<style name="xml:element-name" foreground="orange"/>
<style name="xml:doctype" foreground="yellow"/>
<style name="xml:processing-instruction" foreground="yellow"/>
<style name="xml:namespace" foreground="yellow"/>
</style-scheme>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment