-
Notifications
You must be signed in to change notification settings - Fork 0
/
banana_themes.py
65 lines (44 loc) · 1.54 KB
/
banana_themes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
from pygments.style import Style
from pygments.token import (Comment, Keyword, Operator, String,
Number, Punctuation, Name, Error)
__all__ = ["HitGub", "Zaab"]
class HitGub(Style):
background_color = '#ffffff'
default_style = '#000000'
# All the superfluous styles (i.e. the ones that are the same as
# default_style) are there because for some reason styles don't inherit
# default_style, even though the docs explicitly say so.
styles = {
Comment: '#969696',
Keyword: '#A71D5D',
Operator: '#000000',
Operator.Word: '#A71D5D',
Number: '#000000',
Punctuation: '#000000',
Name: '#000000',
Name.Builtin: '#0086BF',
Name.Exception: "bold #000000",
Name.Decorator: '#795DC1',
String: '#183691',
Error: "bg:#ff0000 #000000",
}
class Zaab(Style):
background_color = '#1c1c1c'
default_style = '#ffffff'
# All the superfluous styles (i.e. the ones that are the same as
# default_style) are there because for some reason styles don't inherit
# default_style, even though the docs explicitly say so.
styles = {
Comment: '#808080',
Keyword: '#6495ed',
Operator: '#ffffff',
Operator.Word: '#6495ed',
Number: '#ffffff',
Punctuation: '#ffffff',
Name: '#ffffff',
Name.Builtin: '#9f79ee',
Name.Exception: "bold #ff4500",
Name.Decorator: '#1e90ff',
String: '#00cd66',
Error: "bg:#ff0000 #ffffff",
}