ThirdParty/Pygments/pygments/styles/autumn.py

changeset 0
de9c2efb9d02
child 684
2f29a0b6e1c7
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 # -*- coding: utf-8 -*-
2 """
3 pygments.styles.autumn
4 ~~~~~~~~~~~~~~~~~~~~~~
5
6 A colorful style, inspired by the terminal highlighting style.
7
8 :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details.
10 """
11
12 from pygments.style import Style
13 from pygments.token import Keyword, Name, Comment, String, Error, \
14 Number, Operator, Generic, Whitespace
15
16
17 class AutumnStyle(Style):
18 """
19 A colorful style, inspired by the terminal highlighting style.
20 """
21
22 default_style = ""
23
24 styles = {
25 Whitespace: '#bbbbbb',
26
27 Comment: 'italic #aaaaaa',
28 Comment.Preproc: 'noitalic #4c8317',
29 Comment.Special: 'italic #0000aa',
30
31 Keyword: '#0000aa',
32 Keyword.Type: '#00aaaa',
33
34 Operator.Word: '#0000aa',
35
36 Name.Builtin: '#00aaaa',
37 Name.Function: '#00aa00',
38 Name.Class: 'underline #00aa00',
39 Name.Namespace: 'underline #00aaaa',
40 Name.Variable: '#aa0000',
41 Name.Constant: '#aa0000',
42 Name.Entity: 'bold #800',
43 Name.Attribute: '#1e90ff',
44 Name.Tag: 'bold #1e90ff',
45 Name.Decorator: '#888888',
46
47 String: '#aa5500',
48 String.Symbol: '#0000aa',
49 String.Regex: '#009999',
50
51 Number: '#009999',
52
53 Generic.Heading: 'bold #000080',
54 Generic.Subheading: 'bold #800080',
55 Generic.Deleted: '#aa0000',
56 Generic.Inserted: '#00aa00',
57 Generic.Error: '#aa0000',
58 Generic.Emph: 'italic',
59 Generic.Strong: 'bold',
60 Generic.Prompt: '#555555',
61 Generic.Output: '#888888',
62 Generic.Traceback: '#aa0000',
63
64 Error: '#F00 bg:#FAA'
65 }

eric ide

mercurial