summaryrefslogtreecommitdiff
path: root/lib/coderay/styles
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2016-02-13 18:14:44 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2016-02-13 18:14:44 +0100
commitae94f2f266389a7cf50618a701bc080dea007bf5 (patch)
tree39c9bd17791e89d43c74c7d7f772c0de0f98f0b6 /lib/coderay/styles
parent3c92a655c48f7f94c5076712f1950378968d6eb8 (diff)
parent50ddfcc14d435b8f667249b9e90603f113b79282 (diff)
downloadcoderay-ae94f2f266389a7cf50618a701bc080dea007bf5.tar.gz
Merge branch 'master' into dsl
Diffstat (limited to 'lib/coderay/styles')
-rw-r--r--lib/coderay/styles/alpha.rb3
-rw-r--r--lib/coderay/styles/style.rb18
2 files changed, 20 insertions, 1 deletions
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 }
diff --git a/lib/coderay/styles/style.rb b/lib/coderay/styles/style.rb
new file mode 100644
index 0000000..a335386
--- /dev/null
+++ b/lib/coderay/styles/style.rb
@@ -0,0 +1,18 @@
+module CodeRay
+
+ module Styles
+
+ # Base class for styles.
+ #
+ # Styles are used by Encoders::HTML to colorize tokens.
+ class Style
+ extend Plugin
+ plugin_host Styles
+
+ DEFAULT_OPTIONS = { } # :nodoc:
+
+ end
+
+ end
+
+end