Skip to content
Newer
Older
100644 69 lines (53 sloc) 1.73 KB
7109bb0 @Raynes Rewrite the style.
authored
1 # -*- coding: utf-8 -*-
2 """
3 tomorrow night bright
4 ---------------------
5
6 Port of the tomorrow night bright color scheme for Vim.
7 """
8
9 from pygments.style import Style
10 from pygments.token import Comment, Error, Keyword, Name, Number, Operator, \
a2058ae @Raynes Improve highlighting for every language I could test before my hands …
authored
11 Punctuation, String, Text, Generic
7109bb0 @Raynes Rewrite the style.
authored
12
13 BACKGROUND = "#000000"
14 CURRENT_LINE = "#2a2a2a"
15 SELECTION = "#424242"
16 FOREGROUND = "#eaeaea"
17 COMMENT = "#969896"
18 RED = "#d54e53"
19 ORANGE = "#e78c45"
20 YELLOW = "#e7c547"
21 GREEN = "#b9ca4a"
22 AQUA = "#70c0b1"
23 BLUE = "#7aa6da"
24 PURPLE = "#c397d8"
25
26
27 class TomorrownightbrightStyle(Style):
28
29 """
30 Port of the tomorrow night bright color scheme.
31 """
32
33 default_style = ''
34
35 background_color = BACKGROUND
36 highlight_color = SELECTION
37
38 styles = {
39
a2058ae @Raynes Improve highlighting for every language I could test before my hands …
authored
40 Comment: COMMENT,
41 Text: FOREGROUND,
42
43 Keyword: PURPLE,
44 Keyword.Type: YELLOW,
45 Operator.Word: '',
46
47 String: GREEN,
48 String.Char: FOREGROUND,
49
50 Name.Builtin: RED,
51 Name.Variable: '',
52 Name.Variable.Instance: RED,
53 Name.Constant: GREEN,
54 Name.Class: YELLOW,
55 Name.Function: BLUE,
56 Name.Namespace: YELLOW,
57 Name.Exception: RED,
58 Name.Tag: BLUE,
59 #Name.Attribute: '',
60 Name.Decorator: AQUA,
61
62 Generic.Deleted: RED,
63 Generic.Inserted: GREEN,
64 Generic.Heading: "bold " + FOREGROUND,
65 Generic.Subheading: "bold " + AQUA,
66 Generic.Prompt: "bold " + COMMENT
67
7109bb0 @Raynes Rewrite the style.
authored
68 }
Something went wrong with that request. Please try again.