summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 17:05:14 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 17:05:14 +0100
commit0ad3ddc26da51b3bdd0454859f894761a0155c1b (patch)
tree30c6804125dfeeb08456a7fa9f7f9cadc222decb
parent0a1f500d524ff0fb5eeafef051ccbb641954a87a (diff)
parent7b0040fa41d2c55cde1ea0c91aa615bf57158e80 (diff)
downloadcoderay-0ad3ddc26da51b3bdd0454859f894761a0155c1b.tar.gz
Merge pull request #193 from rubychan/tweak-function-colors
Tweak function colors
-rw-r--r--Changes.textile1
-rw-r--r--lib/coderay/styles/alpha.rb3
2 files changed, 3 insertions, 1 deletions
diff --git a/Changes.textile b/Changes.textile
index 1276a33..50da5c7 100644
--- a/Changes.textile
+++ b/Changes.textile
@@ -12,6 +12,7 @@ h2. Changes in 1.1.1
* Ruby scanner: Accept squiggly heredoc @<<~@ (Ruby 2.3)
* Diff scanner: Prevent running out of regexp stack.
* HTML encoder: You can keep tabs intact now by setting @tab_width: false@.
+* Alpha style: Tweaked colors for @:function@ group with @:content@.
h2. Changes in 1.1
diff --git a/lib/coderay/styles/alpha.rb b/lib/coderay/styles/alpha.rb
index d304dc4..f21cefe 100644
--- a/lib/coderay/styles/alpha.rb
+++ b/lib/coderay/styles/alpha.rb
@@ -82,7 +82,8 @@ table.CodeRay td { padding: 2px 4px; vertical-align: top; }
.exception { color:#C00; font-weight:bold }
.float { color:#60E }
.function { color:#06B; font-weight:bold }
-.function .delimiter { color:#024; font-weight:bold }
+.function .delimiter { color:#059 }
+.function .content { color:#037 }
.global-variable { color:#d70 }
.hex { color:#02b }
.id { color:#33D; font-weight:bold }