summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Jain <gaurav@gauravjain.org>2014-04-24 00:07:18 -0400
committerGaurav Jain <gaurav@gauravjain.org>2014-04-24 00:07:18 -0400
commitae21a04728b251fe5fc7feac80b98cdf4ebffb18 (patch)
treec2e803a654647a669f0d5bfef2a6dc765be392a9
parent24d94c8e533e3403006e7b353b1c8c49264da7cf (diff)
downloadpygments-ae21a04728b251fe5fc7feac80b98cdf4ebffb18.tar.gz
Tweaks to Xcode style
-rw-r--r--pygments/styles/xcode.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/pygments/styles/xcode.py b/pygments/styles/xcode.py
index e2ecf2aa..8bb2c24e 100644
--- a/pygments/styles/xcode.py
+++ b/pygments/styles/xcode.py
@@ -11,7 +11,7 @@
from pygments.style import Style
from pygments.token import Keyword, Name, Comment, String, Error, \
- Number, Operator
+ Number, Operator, Literal
class XcodeStyle(Style):
@@ -30,13 +30,13 @@ class XcodeStyle(Style):
Operator: '#000000',
- Keyword: '#AA0D92',
+ Keyword: '#A90D91',
Name: '#000000',
Name.Attribute: '#836C28',
- Name.Class: '#000000',
+ Name.Class: '#3F6E75',
Name.Function: '#000000',
- Name.Builtin: '#AA0D92',
+ Name.Builtin: '#A90D91',
# In Obj-C code this token is used to colour Cocoa types
Name.Builtin.Pseudo: '#5B269A',
Name.Variable: '#000000',
@@ -45,6 +45,7 @@ class XcodeStyle(Style):
# Workaround for a BUG here: lexer treats multiline method signatres as labels
Name.Label: '#000000',
- Number: '#2300CE',
+ Literal: '#1C01CE',
+ Number: '#1C01CE',
Error: '#000000',
}