ThirdParty/Pygments/pygments/styles/manni.py

changeset 0
de9c2efb9d02
child 684
2f29a0b6e1c7
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 # -*- coding: utf-8 -*-
2 """
3 pygments.styles.manni
4 ~~~~~~~~~~~~~~~~~~~~~
5
6 A colorful style, inspired by the terminal highlighting style.
7
8 This is a port of the style used in the `php port`_ of pygments
9 by Manni. The style is called 'default' there.
10
11 :copyright: Copyright 2006-2009 by the Pygments team, see AUTHORS.
12 :license: BSD, see LICENSE for details.
13 """
14
15 from pygments.style import Style
16 from pygments.token import Keyword, Name, Comment, String, Error, \
17 Number, Operator, Generic, Whitespace
18
19
20 class ManniStyle(Style):
21 """
22 A colorful style, inspired by the terminal highlighting style.
23 """
24
25 background_color = '#f0f3f3'
26
27 styles = {
28 Whitespace: '#bbbbbb',
29 Comment: 'italic #0099FF',
30 Comment.Preproc: 'noitalic #009999',
31 Comment.Special: 'bold',
32
33 Keyword: 'bold #006699',
34 Keyword.Pseudo: 'nobold',
35 Keyword.Type: '#007788',
36
37 Operator: '#555555',
38 Operator.Word: 'bold #000000',
39
40 Name.Builtin: '#336666',
41 Name.Function: '#CC00FF',
42 Name.Class: 'bold #00AA88',
43 Name.Namespace: 'bold #00CCFF',
44 Name.Exception: 'bold #CC0000',
45 Name.Variable: '#003333',
46 Name.Constant: '#336600',
47 Name.Label: '#9999FF',
48 Name.Entity: 'bold #999999',
49 Name.Attribute: '#330099',
50 Name.Tag: 'bold #330099',
51 Name.Decorator: '#9999FF',
52
53 String: '#CC3300',
54 String.Doc: 'italic',
55 String.Interpol: '#AA0000',
56 String.Escape: 'bold #CC3300',
57 String.Regex: '#33AAAA',
58 String.Symbol: '#FFCC33',
59 String.Other: '#CC3300',
60
61 Number: '#FF6600',
62
63 Generic.Heading: 'bold #003300',
64 Generic.Subheading: 'bold #003300',
65 Generic.Deleted: 'border:#CC0000 bg:#FFCCCC',
66 Generic.Inserted: 'border:#00CC00 bg:#CCFFCC',
67 Generic.Error: '#FF0000',
68 Generic.Emph: 'italic',
69 Generic.Strong: 'bold',
70 Generic.Prompt: 'bold #000099',
71 Generic.Output: '#AAAAAA',
72 Generic.Traceback: '#99CC66',
73
74 Error: 'bg:#FFAAAA #AA0000'
75 }

eric ide

mercurial