Skip to content

Commit

Permalink
Add background colour for monokai.sublime theme (#1204)
Browse files Browse the repository at this point in the history
The monokai.sublime theme does not have a defined background colour.
Monokai themes generally uses a dark greyish colour. In Sublime Text 2 
the value is #272822. This commit assigns that value to `:dark_graphite`
(`:dark` is already in use) and uses this to set a background colour.
  • Loading branch information
ashmaroli authored and pyrmont committed Jun 26, 2019
1 parent c698748 commit 967c81f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/rouge/themes/monokai_sublime.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class MonokaiSublime < CSSTheme
palette :bright_pink => '#f92672'
palette :carmine => '#960050'
palette :dark => '#49483e'
palette :dark_graphite => '#272822'
palette :dark_grey => '#888888'
palette :dark_red => '#aa0000'
palette :dimgrey => '#75715e'
Expand Down Expand Up @@ -80,7 +81,7 @@ class MonokaiSublime < CSSTheme
Name::Variable,
Text::Whitespace,
Text,
Name, :fg => :white
Name, :fg => :white, :bg => :dark_graphite
style Operator::Word,
Name::Tag,
Keyword,
Expand Down

0 comments on commit 967c81f

Please sign in to comment.