Class/Module Index [+]

Quicksearch

Rouge::Themes::Monokai

Public Class Methods

make_sublime!() click to toggle source
# File lib/rouge/themes/monokai.rb, line 31
def self.make_sublime!
  style Generic::Heading,                 :fg => :grey
  style Literal::String::Regex,           :fg => :orange
  style Generic::Output,                  :fg => :dark_grey
  style Generic::Prompt,                  :fg => :emperor
  style Generic::Strong,                  :bold => false
  style Generic::Subheading,              :fg => :light_grey
  style Name::Builtin,                    :fg => :orange
  style Comment::Multiline,
        Comment::Preproc,
        Comment::Single,
        Comment::Special,
        Comment,                          :fg => :dimgrey
  style Error,
  Generic::Error,
  Generic::Traceback,                     :fg => :carmine
  style Generic::Deleted,
        Generic::Inserted,
        Generic::Emph,                    :fg => :dark
  style Keyword::Constant,
        Keyword::Declaration,
        Keyword::Reserved,
        Name::Constant,
        Keyword::Type,                    :fg => :soft_cyan
  style Literal::Number::Float,
        Literal::Number::Hex,
        Literal::Number::Integer::Long,
        Literal::Number::Integer,
        Literal::Number::Oct,
        Literal::Number,
        Literal::String::Char,
        Literal::String::Escape,
        Literal::String::Symbol,          :fg => :light_violet
  style Literal::String::Doc,
        Literal::String::Double,
        Literal::String::Backtick,
        Literal::String::Heredoc,
        Literal::String::Interpol,
        Literal::String::Other,
        Literal::String::Single,
        Literal::String,                  :fg => :soft_yellow
  style Name::Attribute,
        Name::Class,
        Name::Decorator,
        Name::Exception,
        Name::Function,                   :fg => :bright_green
  style Name::Variable::Class,
        Name::Namespace,
        Name::Label,
        Name::Entity,
        Name::Builtin::Pseudo,
        Name::Variable::Global,
        Name::Variable::Instance,
        Name::Variable,
        Text::Whitespace,
        Text,
        Name,                             :fg => :white
  style Operator::Word,
        Name::Tag,
        Keyword,
        Keyword::Namespace,
        Keyword::Pseudo,
        Operator,                         :fg => :bright_pink
end
sublime!() click to toggle source
# File lib/rouge/themes/monokai.rb, line 27
def self.sublime!
  mode! :sublime
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.