Coverage for /home/martinb/.local/share/virtualenvs/camcops/lib/python3.6/site-packages/pygments/styles/default.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# -*- coding: utf-8 -*-
2"""
3 pygments.styles.default
4 ~~~~~~~~~~~~~~~~~~~~~~~
6 The default highlighting style.
8 :copyright: Copyright 2006-2021 by the Pygments team, see AUTHORS.
9 :license: BSD, see LICENSE for details.
10"""
12from pygments.style import Style
13from pygments.token import Keyword, Name, Comment, String, Error, \
14 Number, Operator, Generic, Whitespace
17class DefaultStyle(Style):
18 """
19 The default style (inspired by Emacs 22).
20 """
22 background_color = "#f8f8f8"
23 default_style = ""
25 styles = {
26 Whitespace: "#bbbbbb",
27 Comment: "italic #408080",
28 Comment.Preproc: "noitalic #BC7A00",
30 #Keyword: "bold #AA22FF",
31 Keyword: "bold #008000",
32 Keyword.Pseudo: "nobold",
33 Keyword.Type: "nobold #B00040",
35 Operator: "#666666",
36 Operator.Word: "bold #AA22FF",
38 Name.Builtin: "#008000",
39 Name.Function: "#0000FF",
40 Name.Class: "bold #0000FF",
41 Name.Namespace: "bold #0000FF",
42 Name.Exception: "bold #D2413A",
43 Name.Variable: "#19177C",
44 Name.Constant: "#880000",
45 Name.Label: "#A0A000",
46 Name.Entity: "bold #999999",
47 Name.Attribute: "#7D9029",
48 Name.Tag: "bold #008000",
49 Name.Decorator: "#AA22FF",
51 String: "#BA2121",
52 String.Doc: "italic",
53 String.Interpol: "bold #BB6688",
54 String.Escape: "bold #BB6622",
55 String.Regex: "#BB6688",
56 #String.Symbol: "#B8860B",
57 String.Symbol: "#19177C",
58 String.Other: "#008000",
59 Number: "#666666",
61 Generic.Heading: "bold #000080",
62 Generic.Subheading: "bold #800080",
63 Generic.Deleted: "#A00000",
64 Generic.Inserted: "#00A000",
65 Generic.Error: "#FF0000",
66 Generic.Emph: "italic",
67 Generic.Strong: "bold",
68 Generic.Prompt: "bold #000080",
69 Generic.Output: "#888",
70 Generic.Traceback: "#04D",
72 Error: "border:#FF0000"
73 }