Upcoming events update
[mp-talk.git] / solarized.py
CommitLineData
c8e58f5a
KA
1# solarized.py\r
2# https://bitbucket.org/john2x/solarized-pygment/src/b9455fbdc902/solarized.py\r
3# John Louis del Rosario\r
4\r
5from pygments.style import Style\r
6from pygments.token import *\r
7\r
8BASE0 = '#839496'\r
9BASE1 = '#93a1a1'\r
10BASE2 = '#eee8d5'\r
11BASE3 = '#fdf6e3'\r
12BASE00 = '#657b83'\r
13BASE01 = '#586e75'\r
14BASE02 = '#073642'\r
15BASE03 = '#002b36'\r
16YELLOW = '#b58900'\r
17ORANGE = '#cb4b16'\r
18RED = '#dc322f'\r
19MAGENTA = '#d33682'\r
20VIOLET = '#6c71c4'\r
21BLUE = '#268bd2'\r
22CYAN = '#2aa198'\r
23GREEN = '#859900'\r
24\r
25class SolarizedStyle(Style):\r
26 background_color = BASE3\r
27 styles = {\r
28 Text : 'bg: %s %s' % (BASE3, BASE01),\r
29 Keyword : GREEN,\r
30 Keyword.Constant : 'bold',\r
31 #Keyword.Declaration :\r
32 Keyword.Namespace : RED + ' bold',\r
33 #Keyword.Pseudo :\r
34 #Keyword.Reserved :\r
35 Keyword.Type : 'bold',\r
36 Name : BLUE,\r
37 #Name.Attribute :\r
38 Name.Builtin : ORANGE,\r
39 #Name.Builtin.Pseudo :\r
40 Name.Class : ORANGE,\r
41 Name.Tag : 'bold',\r
42 Literal : CYAN,\r
43 #String :\r
44 Number : 'bold',\r
45 #Operator :\r
46 Operator.Word : GREEN,\r
47 Comment : BASE1 + ' italic',\r
48 Generic : MAGENTA,\r
49 }\r
This page took 0.016959 seconds and 4 git commands to generate.