summaryrefslogtreecommitdiff
path: root/pygments/styles/borland.py
diff options
context:
space:
mode:
authorgbrandl <devnull@localhost>2006-10-19 20:27:28 +0200
committergbrandl <devnull@localhost>2006-10-19 20:27:28 +0200
commitf4d019954468db777760d21f9243eca8b852c184 (patch)
tree328b8f8fac25338306b0e7b827686dcc7597df23 /pygments/styles/borland.py
downloadpygments-f4d019954468db777760d21f9243eca8b852c184.tar.gz
[svn] Name change, round 4 (rename SVN root folder).
Diffstat (limited to 'pygments/styles/borland.py')
-rw-r--r--pygments/styles/borland.py44
1 files changed, 44 insertions, 0 deletions
diff --git a/pygments/styles/borland.py b/pygments/styles/borland.py
new file mode 100644
index 00000000..cc5fb6af
--- /dev/null
+++ b/pygments/styles/borland.py
@@ -0,0 +1,44 @@
+# -*- coding: utf-8 -*-
+"""
+ pygments.styles.borland
+ ~~~~~~~~~~~~~~~~~~~~~~
+
+ Style similar to the style used in the borland ides.
+
+ :copyright: 2006 by Armin Ronacher.
+ :license: GNU LGPL, see LICENSE for more details.
+"""
+
+from pygments.style import Style
+from pygments.token import Keyword, Name, Comment, String, Error, \
+ Number, Operator, Generic
+
+
+class BorlandStyle(Style):
+
+ default_style = ''
+
+ styles = {
+ Comment: 'italic #008800',
+ Comment.Preproc: 'noitalic',
+
+ String: '#0000FF',
+ Number: '#0000FF',
+ Keyword: 'bold',
+ Operator.Word: 'bold',
+ Name.Tag: 'bold',
+ Name.Attribute: 'italic',
+
+ Generic.Heading: '#999999',
+ Generic.Subheading: '#aaaaaa',
+ Generic.Deleted: 'bg:#ffdddd #000000',
+ Generic.Inserted: 'bg:#ddffdd #000000',
+ Generic.Error: '#aa0000',
+ Generic.Emph: 'italic',
+ Generic.Strong: 'bold',
+ Generic.Prompt: '#555555',
+ Generic.Output: '#888888',
+ Generic.Traceback: '#aa0000',
+
+ Error: 'bg:#e3d2d2 #a61717'
+ }