diff options
author | murphy <murphy@rubychan.de> | 2008-10-08 20:18:31 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-10-08 20:18:31 +0000 |
commit | 23e5605488f613bd864671a322562ecfcb2d945d (patch) | |
tree | dd165d49db8bca9569e06748fbab92d77216a9e9 /lib/coderay/styles | |
parent | a4bd413ca4e835fd3d1fdc24eebce67cd54231ca (diff) | |
download | coderay-23e5605488f613bd864671a322562ecfcb2d945d.tar.gz |
New: *JSON* (closes #53). Version 0.8 is near!
* Simple and really nice scanner (I think), produces colorful output.
* Checked against strange examples from Ruby's JSON lib.
More changes:
* Changed version number. Finally!
* Added some token styles for :key token group.
* cYcnus style: chars inside of strings are highlighted purple instead of blue.
* murphy style needs work.
Diffstat (limited to 'lib/coderay/styles')
-rw-r--r-- | lib/coderay/styles/cycnus.rb | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/coderay/styles/cycnus.rb b/lib/coderay/styles/cycnus.rb index 521c3c9..c0dab99 100644 --- a/lib/coderay/styles/cycnus.rb +++ b/lib/coderay/styles/cycnus.rb @@ -97,6 +97,8 @@ ol.CodeRay li { white-space: pre } .r, .kw { color:#080; font-weight:bold } .ke { color: #808; } +.ke .dl { color: #606; } +.ke .ch { color: #80f; } .vl { color: #088; } .rx { background-color:#fff0ff } @@ -105,11 +107,12 @@ ol.CodeRay li { white-space: pre } .rx .mod { color:#C2C } .rx .fu { color:#404; font-weight: bold } -.s { background-color:#fff0f0 } -.s .s { background-color:#ffe0e0 } -.s .s .s { background-color:#ffd0d0 } -.s .k { color:#D20 } -.s .dl { color:#710 } +.s { background-color:#fff0f0 } +.s .s { background-color:#ffe0e0 } +.s .s .s { background-color:#ffd0d0 } +.s .k { color: #D20; } +.s .ch { color: #b0b; } +.s .dl { color: #710; } .sh { background-color:#f0fff0 } .sh .k { color:#2B2 } |