Dan Cotton

Monodevelop Modded Monokai Theme

The default Monodevelop Monokai theme is in my opinion, not that great. I decided to make some modifications to better match Sublime Texts rendition:


Monokai Sublime Preview
To install, create a new XML file called MonokaiSublime.xml (or whatever you want) and copy / paste the below XML, the hit save.

Once saved, open Monodevelop and go to Tools->Options->Syntax Highlighting and hit Add, then browse to the XML file you just created and hit Open. You should now see MonokaiSublime in the list. Make sure it is selected and hit OK. You may need to restart Monodevelop for the theme to take effect.

<EditorStyle name="MonokaiSublime" _description="Monokai implementation based on SublimeText">
  <Style name="text" color="#F8F8F2" bgColor="#272822" />
  <Style name="text.background" color="#FFFFFF" />
  <Style name="text.background.readonly" color="#252620" />
  <Style name="text.background.searchresult-main" color="#008080" />
  <Style name="text.background.searchresult" color="#006060" />
  <Style name="text.selection" color="#00000000" bgColor="#49483E" />
  <Style name="text.selection.inactive" color="#00000000" bgColor="#383830" />
  <Style name="text.link" color="#0000FF" />
  <Style name="text.punctuation" color="#F8F8F2" />
  <Style name="text.preprocessor" color="#A6E22E" />
  <Style name="text.preprocessor.keyword" color="#A6E22E" />
  <Style name="xml" color="#F8F8F2" bgColor="#272822" />
  <Style name="xml.tag" color="#F8F8F2" />
  <Style name="xml.name" color="#F92672" />
  <Style name="xml.attribute" color="#A6E22E" />
  <Style name="xml.cdata" color="#E6DB74" />
  <Style name="template" color="#F8F8F2" bgColor="#373832" />
  <Style name="template.tag" color="#FF00FF" />
  <Style name="template.directive" color="#FF00FF" />
  <Style name="tooltip" color="#000000" bgColor="#272725" />
  <Style name="tooltip.border" color="#989892" />
  <Style name="tooltip.pager.text" color="#C8C8C2" />
  <Style name="tooltip.pager.top" color="#292A25" />
  <Style name="tooltip.pager.bottom" color="#292A25" />
  <Style name="tooltip.pager.triangle" color="#C8C8C2" />
  <Style name="completion" color="#434343" bgColor="#F0F6F8" />
  <Style name="completion.highlight" color="#BA3373" />
  <Style name="completion.selection" color="#F8FCFC" bgColor="#DFF4F0" />
  <Style name="completion.selection.border" color="#C9C9C9" />
  <Style name="completion.selection.inactive" color="#F9F9F9" bgColor="#E6E6E6" />
  <Style name="completion.selection.inactive.border" color="#BEBEBE" />
  <Style name="diff.line-added" color="#008A8B" />
  <Style name="diff.line-removed" color="#6A59CD" />
  <Style name="diff.line-changed" color="#336699" />
  <Style name="diff.header" color="#008000" weight="Bold" />
  <Style name="diff.header-seperator" color="#0000FF" />
  <Style name="diff.header-oldfile" color="#008000" weight="Bold" />
  <Style name="diff.header-newfile" color="#008000" weight="Bold" />
  <Style name="diff.location" color="#FB8B00" />
  <Style name="marker.line" color="#3E3D31" />
  <Style name="marker.line.changed" color="#A4E22E" />
  <Style name="marker.line.dirty" color="#E6DB74" />
  <Style name="marker.ruler" color="#575852" />
  <Style name="marker.bracket" color="#6699CC" bgColor="#AACCEE" />
  <Style name="marker.usages" color="#49483E" bgColor="#383830" />
  <Style name="marker.bookmark.color1" color="#FDD99B" />
  <Style name="marker.bookmark.color2" color="#816647" />
  <Style name="marker.underline" color="#FF0000" />
  <Style name="marker.underline.error" color="#FF0000" />
  <Style name="marker.underline.warning" color="#FFA500" />
  <Style name="marker.underline.suggestion" color="#8FC68F" />
  <Style name="marker.underline.hint" color="#8F8FC6" />
  <Style name="marker.template.primary_template" color="#F8F8F2" bgColor="#7F4A81" />
  <Style name="marker.template.primary_highlighted_template" color="#F8F8F2" bgColor="#B167B3" />
  <Style name="marker.template.secondary_template" color="#F8F8F2" bgColor="#262228" />
  <Style name="marker.template.secondary_highlighted_template" color="#F8F8F2" bgColor="#4E4552" />
  <Style name="marker.breakpoint" color="#FFFFFF" bgColor="#762C2C" />
  <Style name="marker.breakpoint.color1" color="#FFFFFF" />
  <Style name="marker.breakpoint.color2" color="#762C2C" />
  <Style name="marker.breakpoint.invalid" color="#EDDCDC" />
  <Style name="marker.breakpoint.invalid.color1" color="#EDDCDC" />
  <Style name="marker.breakpoint.invalid.background" color="#EDDCDC" />
  <Style name="marker.breakpoint.invalid.border" color="#AB616B" />
  <Style name="marker.breakpoint.disabled.background" color="#EDDCDC" />
  <Style name="bubble.warning" color="#000000" bgColor="#444400" />
  <Style name="bubble.error" color="#FFFFFF" bgColor="#440000" />
  <Style name="linenumber" color="#BCBCBC" bgColor="#272822" />
  <Style name="iconbar" color="#3B3A32" />
  <Style name="iconbar.separator" color="#3B3A32" />
  <Style name="fold" color="#75715E" bgColor="#272822" />
  <Style name="fold.margin" color="#FFFFFF" bgColor="#272822" />
  <Style name="comment" color="#75715E" />
  <Style name="comment.keyword" color="#75715E" weight="Bold" />
  <Style name="constant" color="#AE81FF" />
  <Style name="constant.language.void" color="#66D9EF" />
  <Style name="string" color="#E6DB74" />
  <Style name="string.escape" color="#A6AB34" />
  <Style name="keyword" color="#F92672" />
  <Style name="keyword.access" color="#AE81FF" />
  <Style name="keyword.type" color="#66D9EF" />
  <Style name="keyword.semantic.type" color="#66D9EF" />
  <Style name="keyword.semantic.field" color="#FFFFFF" />
  <Style name="keyword.semantic.event" color="#FFAE81" />
  <Style name="keyword.semantic.property" color="#FFFFFF" />
  <Style name="keyword.semantic.method" color="#a6e22e" />
  <Style name="keyword.semantic.error" color="#F8F8F0" bgColor="#F92672" />
  <Style name="keyword.namespace" color="#F92672" />
  <Style name="keyword.modifier" color="#F92672" />
  <Style name="keyword.declaration" color="#F92672" />
  <Style name="constant.language" color="#AE81FF" />
  <Style name="keyword.operator" color="#F92672" />
  <Style name="string.double" color="#E6DB74" />
  <Style name="keyword.iteration" color="#F92672" />
  <Style name="comment.tag.line" color="#75715E" />
  <Style name="comment.line" color="#75715E" />
  <Style name="constant.digit" color="#AE81FF" />
  <Style name="keyword.selection" color="#F92672" />
  <Style name="keyword.context" color="#F92672" />
  <Style name="keyword.jump" color="#F92672" />
  <Style name="keyword.semantic.type.declaration" color="#66D9EF" />
  <Style name="keyword.semantic.field.declaration" color="#FFFFFF" />
  <Style name="keyword.semantic.event.declaration" color="#FFAE81" />
  <Style name="keyword.semantic.method.declaration" color="#a6e22e" />
  <Style name="string.other" color="#E6DB74" />
  <Style name="bubble.warning.text" color="#000000" bgColor="#444400" />
  <Style name="bubble.error.text" color="#FFFFFF" bgColor="#440000" />
  <Style name="comment.block" color="#75715E" />
  <Style name="comment.doc" color="#75715E" />
  <Style name="comment.tag" color="#75715E" />
  <Style name="comment.tag.block" color="#75715E" />
  <Style name="comment.tag.doc" color="#75715E" />
  <Style name="comment.keyword.todo" color="#75715E" weight="Bold" />
  <Style name="string.single" color="#E6DB74" />
  <Style name="keyword.operator.declaration" color="#F92672" />
  <Style name="keyword.exceptions" color="#F92672" />
  <Style name="keyword.property" color="#F92672" />
  <Style name="keyword.parameter" color="#F92672" />
  <Style name="keyword.misc" color="#F92672" />
  <Style name="marker.debug.currentline" color="#000000" bgColor="#FFFF00" />
  <Style name="marker.debug.currentline.color1" color="#FFFF00" />
  <Style name="marker.debug.currentline.color2" color="#FFFFCC" />
  <Style name="marker.debug.stackline" color="#000000" bgColor="#80FF80" />
  <Style name="marker.debug.stackline.color1" color="#80FF80" />
  <Style name="marker.debug.stackline.color2" color="#CCFFCC" />
</EditorStyle>
Tagged with
monodevelop , monokai