Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: e7d75da844
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (44 sloc) 1.422 kB
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
Number, Operator, Generic, Whitespace, Punctuation, Other, Literal, Text
BASE0 = '#839496'
BASE1 = '#93a1a1'
BASE2 = '#eee8d5'
BASE3 = '#fdf6e3'
BASE00 = '#657b83'
BASE01 = '#586e75'
BASE02 = '#073642'
BASE03 = '#002b36'
YELLOW = '#b58900'
ORANGE = '#cb4b16'
RED = '#dc322f'
MAGENTA = '#d33682'
VIOLET = '#6c71c4'
BLUE = '#268bd2'
CYAN = '#2aa198'
GREEN = '#859900'
class SolarizedStyle(Style):
background_color = BASE2
styles = {
Text : 'bg: %s %s' % (BASE2, BASE01),
Keyword : GREEN,
Keyword.Constant : 'bold',
#Keyword.Declaration :
Keyword.Namespace : RED + ' bold',
#Keyword.Pseudo :
#Keyword.Reserved :
Keyword.Type : 'bold',
Name : BLUE,
#Name.Attribute :
Name.Builtin : ORANGE,
#Name.Builtin.Pseudo :
Name.Class : ORANGE,
Name.Tag : 'bold',
Literal : CYAN,
#String :
Number : 'bold',
#Operator :
Operator.Word : GREEN,
Comment : BASE1 + ' italic',
Generic : MAGENTA,
}
Jump to Line
Something went wrong with that request. Please try again.