summaryrefslogtreecommitdiff
path: root/pygments/styles/default.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/styles/default.py')
-rw-r--r--pygments/styles/default.py32
1 files changed, 20 insertions, 12 deletions
diff --git a/pygments/styles/default.py b/pygments/styles/default.py
index f6a9cdd8..a256d56d 100644
--- a/pygments/styles/default.py
+++ b/pygments/styles/default.py
@@ -3,9 +3,10 @@
pygments.styles.default
~~~~~~~~~~~~~~~~~~~~~~~
- The default highlighting style for Pygments.
+ The default highlighting style.
- :copyright: 2006-2007 by Georg Brandl.
+ :copyright: 2007 by Tiberius Teng.
+ :copyright: 2006 by Georg Brandl.
:license: BSD, see LICENSE for more details.
"""
@@ -19,40 +20,47 @@ class DefaultStyle(Style):
The default style (inspired by Emacs 22).
"""
- background_color = "#f8f8f8"
+ background_color = "#f2f2f2"
default_style = ""
styles = {
- Comment: "italic #008800",
+ Comment: "italic #408080",
Comment.Preproc: "noitalic",
- Comment.Special: "noitalic bold",
- Keyword: "bold #AA22FF",
+ #Keyword: "bold #AA22FF",
+ Keyword: "bold #008000",
Keyword.Pseudo: "nobold",
Keyword.Type: "",
Operator: "#666666",
Operator.Word: "bold #AA22FF",
- Name.Builtin: "#AA22FF",
- Name.Function: "#00A000",
+ #Name.Builtin: "#AA22FF",
+ Name.Builtin: "#008000",
+ #Name.Function: "#00A000",
+ Name.Function: "#BC7A00",
Name.Class: "#0000FF",
Name.Namespace: "bold #0000FF",
Name.Exception: "bold #D2413A",
- Name.Variable: "#B8860B",
+ #Name.Variable: "#B8860B",
+ Name.Variable: "#19177C",
Name.Constant: "#880000",
Name.Label: "#A0A000",
Name.Entity: "bold #999999",
- Name.Attribute: "#BB4444",
+ #Name.Attribute: "#BB4444",
+ #Name.Attribute: "#705406",
+ Name.Attribute: "#7D6029",
Name.Tag: "bold #008000",
Name.Decorator: "#AA22FF",
- String: "#BB4444",
+ #String: "#BB4444",
+ String: "#BA2121",
String.Doc: "italic",
String.Interpol: "bold #BB6688",
String.Escape: "bold #BB6622",
String.Regex: "#BB6688",
- String.Symbol: "#B8860B",
+ #String.Symbol: "#B8860B",
+ String.Symbol: "#19177C",
String.Other: "#008000",
Number: "#666666",