summaryrefslogtreecommitdiff
path: root/lib/coderay/styles/cycnus.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-09-18 01:12:44 +0000
committermurphy <murphy@rubychan.de>2008-09-18 01:12:44 +0000
commit41acfacb91970c8fa4e8b34f35c718eb329a3733 (patch)
treef11afbc209873285165934749e47b74e6936f25f /lib/coderay/styles/cycnus.rb
parente46b6cbe74db250d743e7f194bfc7514529a82cc (diff)
downloadcoderay-41acfacb91970c8fa4e8b34f35c718eb329a3733.tar.gz
New: *CSS Scanner* (closes #29).
* Based on Stefan Walk's implementation, with fixes, enhancements and speedups. * It seems to be fairly fast and highlights nicely. * I added the styles for Ignis Draconis, S5, and YUI as example code for testing. More changes: * Added three new token classes, :important, :pseudo_class, and :value, along with CSS styles.
Diffstat (limited to 'lib/coderay/styles/cycnus.rb')
-rw-r--r--lib/coderay/styles/cycnus.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/coderay/styles/cycnus.rb b/lib/coderay/styles/cycnus.rb
index 7b68a66..d552d50 100644
--- a/lib/coderay/styles/cycnus.rb
+++ b/lib/coderay/styles/cycnus.rb
@@ -80,6 +80,7 @@ ol.CodeRay li { white-space: pre }
.il .il .il { background: #ccc }
.il .idl { font-weight: bold; color: #888 }
+.im { color:#f00; }
.in { color:#B2B; font-weight:bold }
.iv { color:#33B }
.la { color:#970; font-weight:bold }
@@ -89,11 +90,13 @@ ol.CodeRay li { white-space: pre }
.op { }
.pc { color:#038; font-weight:bold }
.pd { color:#369; font-weight:bold }
-.pp { color:#579 }
+.pp { color:#579; }
+.ps { color:#00C; font-weight: bold; }
.pt { color:#339; font-weight:bold }
.r, .kw { color:#080; font-weight:bold }
.ke { color: #808; }
+.vl { color: #088; }
.rx { background-color:#fff0ff }
.rx .k { color:#808 }