1
# -*- coding: utf-8 -*-
3
pygments.styles.friendly
4
~~~~~~~~~~~~~~~~~~~~~~~~
6
A modern style based on the VIM pyte theme.
8
:copyright: Copyright 2006-2010 by the Pygments team, see AUTHORS.
9
:license: BSD, see LICENSE for details.
12
from pygments.style import Style
13
from pygments.token import Keyword, Name, Comment, String, Error, \
14
Number, Operator, Generic, Whitespace
17
class FriendlyStyle(Style):
19
A modern style based on the VIM pyte theme.
22
background_color = "#f0f0f0"
26
Whitespace: "#bbbbbb",
27
Comment: "italic #60a0b0",
28
Comment.Preproc: "noitalic #007020",
29
Comment.Special: "noitalic bg:#fff0f0",
31
Keyword: "bold #007020",
32
Keyword.Pseudo: "nobold",
33
Keyword.Type: "nobold #902000",
36
Operator.Word: "bold #007020",
38
Name.Builtin: "#007020",
39
Name.Function: "#06287e",
40
Name.Class: "bold #0e84b5",
41
Name.Namespace: "bold #0e84b5",
42
Name.Exception: "#007020",
43
Name.Variable: "#bb60d5",
44
Name.Constant: "#60add5",
45
Name.Label: "bold #002070",
46
Name.Entity: "bold #d55537",
47
Name.Attribute: "#4070a0",
48
Name.Tag: "bold #062873",
49
Name.Decorator: "bold #555555",
53
String.Interpol: "italic #70a0d0",
54
String.Escape: "bold #4070a0",
55
String.Regex: "#235388",
56
String.Symbol: "#517918",
57
String.Other: "#c65d09",
60
Generic.Heading: "bold #000080",
61
Generic.Subheading: "bold #800080",
62
Generic.Deleted: "#A00000",
63
Generic.Inserted: "#00A000",
64
Generic.Error: "#FF0000",
65
Generic.Emph: "italic",
66
Generic.Strong: "bold",
67
Generic.Prompt: "bold #c65d09",
68
Generic.Output: "#888",
69
Generic.Traceback: "#04D",
71
Error: "border:#FF0000"