rouge-rails 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +9 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +4 -0
  6. data/LICENSE.txt +21 -0
  7. data/README.md +88 -0
  8. data/Rakefile +6 -0
  9. data/app/assets/stylesheets/rouge/autumn.scss +60 -0
  10. data/app/assets/stylesheets/rouge/borland.scss +48 -0
  11. data/app/assets/stylesheets/rouge/bw.scss +36 -0
  12. data/app/assets/stylesheets/rouge/colorful.scss +63 -0
  13. data/app/assets/stylesheets/rouge/colorschemes.scss +22 -0
  14. data/app/assets/stylesheets/rouge/default.scss +64 -0
  15. data/app/assets/stylesheets/rouge/emacs.scss +63 -0
  16. data/app/assets/stylesheets/rouge/friendly.scss +63 -0
  17. data/app/assets/stylesheets/rouge/fruity.scss +71 -0
  18. data/app/assets/stylesheets/rouge/github.scss +63 -0
  19. data/app/assets/stylesheets/rouge/manni.scss +63 -0
  20. data/app/assets/stylesheets/rouge/monokai.scss +66 -0
  21. data/app/assets/stylesheets/rouge/murphy.scss +63 -0
  22. data/app/assets/stylesheets/rouge/native.scss +71 -0
  23. data/app/assets/stylesheets/rouge/pastie.scss +62 -0
  24. data/app/assets/stylesheets/rouge/perldoc.scss +60 -0
  25. data/app/assets/stylesheets/rouge/solarized-dark.scss +72 -0
  26. data/app/assets/stylesheets/rouge/solarized-light.scss +72 -0
  27. data/app/assets/stylesheets/rouge/tango.scss +71 -0
  28. data/app/assets/stylesheets/rouge/trac.scss +61 -0
  29. data/app/assets/stylesheets/rouge/vim.scss +71 -0
  30. data/app/assets/stylesheets/rouge/vs.scss +35 -0
  31. data/app/assets/stylesheets/rouge/zenburn.scss +74 -0
  32. data/app/assets/stylesheets/rouge.scss +1 -0
  33. data/app/helpers/rouge_helper.rb +5 -0
  34. data/bin/console +7 -0
  35. data/bin/setup +8 -0
  36. data/lib/rouge/rails/configuration.rb +17 -0
  37. data/lib/rouge/rails/engine.rb +4 -0
  38. data/lib/rouge/rails/railtie.rb +10 -0
  39. data/lib/rouge/rails/template_handler.rb +45 -0
  40. data/lib/rouge/rails/version.rb +5 -0
  41. data/lib/rouge/rails.rb +10 -0
  42. data/rouge-rails.gemspec +28 -0
  43. metadata +183 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 0cb13feb7348227089d8f501320ae323c8190bd5
4
+ data.tar.gz: 79bd66b510963d48dd23d9fb649bc574951104aa
5
+ SHA512:
6
+ metadata.gz: 1c6f1e9fd2cac0fa5bb0c627a2fbf5f92d9eff45569fea67392f9774c7b9e0cfd7c4ed4023c96657d68304d0f3dcf5a9652e9fdd042fbb044eb7a8031d488423
7
+ data.tar.gz: d3c8f91a93ec4900ac10be09d3ffd68da74787f5e11c87f0abb43931f66d024463562aa931bdb3934c1bc49add4bd15a1cfecb88914bd74af013d729f0601d7f
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.3.0
4
+ before_install: gem install bundler -v 1.11.2
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem"s dependencies in rouge-rails.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Jacob Morris
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,88 @@
1
+ # Rouge::Rails
2
+
3
+ ## Installation
4
+
5
+ Add this line to your application's Gemfile:
6
+
7
+ ```ruby
8
+ gem 'rouge-rails'
9
+ ```
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install rouge-rails
18
+
19
+ ## Setup
20
+
21
+ Stylesheets with standard colorschemes are available in the asset pipeline.
22
+ Include them in your applications application.scss
23
+
24
+ ```scss
25
+ @import "rouge";
26
+ ```
27
+
28
+ ## Usage
29
+
30
+ ### Render a beautifully highlighted code example in a rails view
31
+
32
+ 1. Place the code sample in a partial somewhere in your views directory and use
33
+ ".rouge" as the file extension, e.g.:
34
+
35
+ ```ruby
36
+ # app/views/home/_code_sample.rouge
37
+ class MyCode
38
+ def example
39
+ puts "hello world"
40
+ end
41
+ end
42
+ ```
43
+
44
+ 2. Render the code sample in your view:
45
+ ```erb
46
+ # app/views/home/index.html.erb
47
+ <%= render "code_sample", language: :ruby %>
48
+ ```
49
+
50
+ ### Configure the default colorscheme
51
+
52
+ Add this code to an initializer in your app
53
+ ```ruby
54
+ # config/initializers/rouge.rb
55
+ Rouge::Rails.configure do |config|
56
+ config.default_colorscheme = "solarized-dark"
57
+ end
58
+ ```
59
+
60
+ ### Specify a colorscheme for a single partial
61
+
62
+ ```
63
+ <%= render "code_sample", language: :ruby, colorscheme: "github" %>
64
+ ```
65
+
66
+ ## Development
67
+
68
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run
69
+ `rake spec` to run the tests. You can also run `bin/console` for an interactive
70
+ prompt that will allow you to experiment.
71
+
72
+ To install this gem onto your local machine, run `bundle exec rake install`. To
73
+ release a new version, update the version number in `version.rb`, and then run
74
+ `bundle exec rake release`, which will create a git tag for the version, push
75
+ git commits and tags, and push the `.gem` file to
76
+ [rubygems.org](https://rubygems.org).
77
+
78
+ ## Contributing
79
+
80
+ Bug reports and pull requests are welcome on GitHub at
81
+ https://github.com/jacobsimeon/rouge-rails.
82
+
83
+
84
+ ## License
85
+
86
+ The gem is available as open source under the terms of the [MIT
87
+ License](http://opensource.org/licenses/MIT).
88
+
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,60 @@
1
+ .highlight.autumn {
2
+ .hll { background-color: #ffffcc }
3
+ .c { color: #aaaaaa; font-style: italic } /* Comment */
4
+ .err { color: #F00000; background-color: #F0A0A0 } /* Error */
5
+ .k { color: #0000aa } /* Keyword */
6
+ .cm { color: #aaaaaa; font-style: italic } /* Comment.Multiline */
7
+ .cp { color: #4c8317 } /* Comment.Preproc */
8
+ .c1 { color: #aaaaaa; font-style: italic } /* Comment.Single */
9
+ .cs { color: #0000aa; font-style: italic } /* Comment.Special */
10
+ .gd { color: #aa0000 } /* Generic.Deleted */
11
+ .ge { font-style: italic } /* Generic.Emph */
12
+ .gr { color: #aa0000 } /* Generic.Error */
13
+ .gh { color: #000080; font-weight: bold } /* Generic.Heading */
14
+ .gi { color: #00aa00 } /* Generic.Inserted */
15
+ .go { color: #888888 } /* Generic.Output */
16
+ .gp { color: #555555 } /* Generic.Prompt */
17
+ .gs { font-weight: bold } /* Generic.Strong */
18
+ .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
19
+ .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .kc { color: #0000aa } /* Keyword.Constant */
21
+ .kd { color: #0000aa } /* Keyword.Declaration */
22
+ .kn { color: #0000aa } /* Keyword.Namespace */
23
+ .kp { color: #0000aa } /* Keyword.Pseudo */
24
+ .kr { color: #0000aa } /* Keyword.Reserved */
25
+ .kt { color: #00aaaa } /* Keyword.Type */
26
+ .m { color: #009999 } /* Literal.Number */
27
+ .s { color: #aa5500 } /* Literal.String */
28
+ .na { color: #1e90ff } /* Name.Attribute */
29
+ .nb { color: #00aaaa } /* Name.Builtin */
30
+ .nc { color: #00aa00; text-decoration: underline } /* Name.Class */
31
+ .no { color: #aa0000 } /* Name.Constant */
32
+ .nd { color: #888888 } /* Name.Decorator */
33
+ .ni { color: #800000; font-weight: bold } /* Name.Entity */
34
+ .nf { color: #00aa00 } /* Name.Function */
35
+ .nn { color: #00aaaa; text-decoration: underline } /* Name.Namespace */
36
+ .nt { color: #1e90ff; font-weight: bold } /* Name.Tag */
37
+ .nv { color: #aa0000 } /* Name.Variable */
38
+ .ow { color: #0000aa } /* Operator.Word */
39
+ .w { color: #bbbbbb } /* Text.Whitespace */
40
+ .mf { color: #009999 } /* Literal.Number.Float */
41
+ .mh { color: #009999 } /* Literal.Number.Hex */
42
+ .mi { color: #009999 } /* Literal.Number.Integer */
43
+ .mo { color: #009999 } /* Literal.Number.Oct */
44
+ .sb { color: #aa5500 } /* Literal.String.Backtick */
45
+ .sc { color: #aa5500 } /* Literal.String.Char */
46
+ .sd { color: #aa5500 } /* Literal.String.Doc */
47
+ .s2 { color: #aa5500 } /* Literal.String.Double */
48
+ .se { color: #aa5500 } /* Literal.String.Escape */
49
+ .sh { color: #aa5500 } /* Literal.String.Heredoc */
50
+ .si { color: #aa5500 } /* Literal.String.Interpol */
51
+ .sx { color: #aa5500 } /* Literal.String.Other */
52
+ .sr { color: #009999 } /* Literal.String.Regex */
53
+ .s1 { color: #aa5500 } /* Literal.String.Single */
54
+ .ss { color: #0000aa } /* Literal.String.Symbol */
55
+ .bp { color: #00aaaa } /* Name.Builtin.Pseudo */
56
+ .vc { color: #aa0000 } /* Name.Variable.Class */
57
+ .vg { color: #aa0000 } /* Name.Variable.Global */
58
+ .vi { color: #aa0000 } /* Name.Variable.Instance */
59
+ .il { color: #009999 } /* Literal.Number.Integer.Long */
60
+ }
@@ -0,0 +1,48 @@
1
+ .highlight.borland {
2
+ .hll { background-color: #ffffcc }
3
+ .c { color: #008800; font-style: italic } /* Comment */
4
+ .err { color: #a61717; background-color: #e3d2d2 } /* Error */
5
+ .k { color: #000080; font-weight: bold } /* Keyword */
6
+ .cm { color: #008800; font-style: italic } /* Comment.Multiline */
7
+ .cp { color: #008080 } /* Comment.Preproc */
8
+ .c1 { color: #008800; font-style: italic } /* Comment.Single */
9
+ .cs { color: #008800; font-weight: bold } /* Comment.Special */
10
+ .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .ge { font-style: italic } /* Generic.Emph */
12
+ .gr { color: #aa0000 } /* Generic.Error */
13
+ .gh { color: #999999 } /* Generic.Heading */
14
+ .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .go { color: #888888 } /* Generic.Output */
16
+ .gp { color: #555555 } /* Generic.Prompt */
17
+ .gs { font-weight: bold } /* Generic.Strong */
18
+ .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .kc { color: #000080; font-weight: bold } /* Keyword.Constant */
21
+ .kd { color: #000080; font-weight: bold } /* Keyword.Declaration */
22
+ .kn { color: #000080; font-weight: bold } /* Keyword.Namespace */
23
+ .kp { color: #000080; font-weight: bold } /* Keyword.Pseudo */
24
+ .kr { color: #000080; font-weight: bold } /* Keyword.Reserved */
25
+ .kt { color: #000080; font-weight: bold } /* Keyword.Type */
26
+ .m { color: #0000FF } /* Literal.Number */
27
+ .s { color: #0000FF } /* Literal.String */
28
+ .na { color: #FF0000 } /* Name.Attribute */
29
+ .nt { color: #000080; font-weight: bold } /* Name.Tag */
30
+ .ow { font-weight: bold } /* Operator.Word */
31
+ .w { color: #bbbbbb } /* Text.Whitespace */
32
+ .mf { color: #0000FF } /* Literal.Number.Float */
33
+ .mh { color: #0000FF } /* Literal.Number.Hex */
34
+ .mi { color: #0000FF } /* Literal.Number.Integer */
35
+ .mo { color: #0000FF } /* Literal.Number.Oct */
36
+ .sb { color: #0000FF } /* Literal.String.Backtick */
37
+ .sc { color: #800080 } /* Literal.String.Char */
38
+ .sd { color: #0000FF } /* Literal.String.Doc */
39
+ .s2 { color: #0000FF } /* Literal.String.Double */
40
+ .se { color: #0000FF } /* Literal.String.Escape */
41
+ .sh { color: #0000FF } /* Literal.String.Heredoc */
42
+ .si { color: #0000FF } /* Literal.String.Interpol */
43
+ .sx { color: #0000FF } /* Literal.String.Other */
44
+ .sr { color: #0000FF } /* Literal.String.Regex */
45
+ .s1 { color: #0000FF } /* Literal.String.Single */
46
+ .ss { color: #0000FF } /* Literal.String.Symbol */
47
+ .il { color: #0000FF } /* Literal.Number.Integer.Long */
48
+ }
@@ -0,0 +1,36 @@
1
+ .highlight.bw {
2
+ .hll { background-color: #ffffcc }
3
+ .c { font-style: italic } /* Comment */
4
+ .err { border: 1px solid #FF0000 } /* Error */
5
+ .k { font-weight: bold } /* Keyword */
6
+ .cm { font-style: italic } /* Comment.Multiline */
7
+ .c1 { font-style: italic } /* Comment.Single */
8
+ .cs { font-style: italic } /* Comment.Special */
9
+ .ge { font-style: italic } /* Generic.Emph */
10
+ .gh { font-weight: bold } /* Generic.Heading */
11
+ .gp { font-weight: bold } /* Generic.Prompt */
12
+ .gs { font-weight: bold } /* Generic.Strong */
13
+ .gu { font-weight: bold } /* Generic.Subheading */
14
+ .kc { font-weight: bold } /* Keyword.Constant */
15
+ .kd { font-weight: bold } /* Keyword.Declaration */
16
+ .kn { font-weight: bold } /* Keyword.Namespace */
17
+ .kr { font-weight: bold } /* Keyword.Reserved */
18
+ .s { font-style: italic } /* Literal.String */
19
+ .nc { font-weight: bold } /* Name.Class */
20
+ .ni { font-weight: bold } /* Name.Entity */
21
+ .ne { font-weight: bold } /* Name.Exception */
22
+ .nn { font-weight: bold } /* Name.Namespace */
23
+ .nt { font-weight: bold } /* Name.Tag */
24
+ .ow { font-weight: bold } /* Operator.Word */
25
+ .sb { font-style: italic } /* Literal.String.Backtick */
26
+ .sc { font-style: italic } /* Literal.String.Char */
27
+ .sd { font-style: italic } /* Literal.String.Doc */
28
+ .s2 { font-style: italic } /* Literal.String.Double */
29
+ .se { font-weight: bold; font-style: italic } /* Literal.String.Escape */
30
+ .sh { font-style: italic } /* Literal.String.Heredoc */
31
+ .si { font-weight: bold; font-style: italic } /* Literal.String.Interpol */
32
+ .sx { font-style: italic } /* Literal.String.Other */
33
+ .sr { font-style: italic } /* Literal.String.Regex */
34
+ .s1 { font-style: italic } /* Literal.String.Single */
35
+ .ss { font-style: italic } /* Literal.String.Symbol */
36
+ }
@@ -0,0 +1,63 @@
1
+ .highlight.colorful {
2
+ .hll { background-color: #ffffcc }
3
+ .c { color: #808080 } /* Comment */
4
+ .err { color: #F00000; background-color: #F0A0A0 } /* Error */
5
+ .k { color: #008000; font-weight: bold } /* Keyword */
6
+ .o { color: #303030 } /* Operator */
7
+ .cm { color: #808080 } /* Comment.Multiline */
8
+ .cp { color: #507090 } /* Comment.Preproc */
9
+ .c1 { color: #808080 } /* Comment.Single */
10
+ .cs { color: #cc0000; font-weight: bold } /* Comment.Special */
11
+ .gd { color: #A00000 } /* Generic.Deleted */
12
+ .ge { font-style: italic } /* Generic.Emph */
13
+ .gr { color: #FF0000 } /* Generic.Error */
14
+ .gh { color: #000080; font-weight: bold } /* Generic.Heading */
15
+ .gi { color: #00A000 } /* Generic.Inserted */
16
+ .go { color: #808080 } /* Generic.Output */
17
+ .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
18
+ .gs { font-weight: bold } /* Generic.Strong */
19
+ .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20
+ .gt { color: #0040D0 } /* Generic.Traceback */
21
+ .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
22
+ .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
23
+ .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
24
+ .kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */
25
+ .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
26
+ .kt { color: #303090; font-weight: bold } /* Keyword.Type */
27
+ .m { color: #6000E0; font-weight: bold } /* Literal.Number */
28
+ .s { background-color: #fff0f0 } /* Literal.String */
29
+ .na { color: #0000C0 } /* Name.Attribute */
30
+ .nb { color: #007020 } /* Name.Builtin */
31
+ .nc { color: #B00060; font-weight: bold } /* Name.Class */
32
+ .no { color: #003060; font-weight: bold } /* Name.Constant */
33
+ .nd { color: #505050; font-weight: bold } /* Name.Decorator */
34
+ .ni { color: #800000; font-weight: bold } /* Name.Entity */
35
+ .ne { color: #F00000; font-weight: bold } /* Name.Exception */
36
+ .nf { color: #0060B0; font-weight: bold } /* Name.Function */
37
+ .nl { color: #907000; font-weight: bold } /* Name.Label */
38
+ .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
39
+ .nt { color: #007000 } /* Name.Tag */
40
+ .nv { color: #906030 } /* Name.Variable */
41
+ .ow { color: #000000; font-weight: bold } /* Operator.Word */
42
+ .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */
44
+ .mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */
45
+ .mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */
46
+ .mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */
47
+ .sb { background-color: #fff0f0 } /* Literal.String.Backtick */
48
+ .sc { color: #0040D0 } /* Literal.String.Char */
49
+ .sd { color: #D04020 } /* Literal.String.Doc */
50
+ .s2 { background-color: #fff0f0 } /* Literal.String.Double */
51
+ .se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */
52
+ .sh { background-color: #fff0f0 } /* Literal.String.Heredoc */
53
+ .si { background-color: #e0e0e0 } /* Literal.String.Interpol */
54
+ .sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */
55
+ .sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */
56
+ .s1 { background-color: #fff0f0 } /* Literal.String.Single */
57
+ .ss { color: #A06000 } /* Literal.String.Symbol */
58
+ .bp { color: #007020 } /* Name.Builtin.Pseudo */
59
+ .vc { color: #306090 } /* Name.Variable.Class */
60
+ .vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */
61
+ .vi { color: #3030B0 } /* Name.Variable.Instance */
62
+ .il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */
63
+ }
@@ -0,0 +1,22 @@
1
+ @import "autumn";
2
+ @import "borland";
3
+ @import "bw";
4
+ @import "colorful";
5
+ @import "default";
6
+ @import "emacs";
7
+ @import "friendly";
8
+ @import "fruity";
9
+ @import "github";
10
+ @import "manni";
11
+ @import "monokai";
12
+ @import "murphy";
13
+ @import "native";
14
+ @import "pastie";
15
+ @import "perldoc";
16
+ @import "solarized-dark";
17
+ @import "solarized-light";
18
+ @import "tango";
19
+ @import "trac";
20
+ @import "vim";
21
+ @import "vs";
22
+ @import "zenburn";
@@ -0,0 +1,64 @@
1
+ .highlight.default {
2
+ background: #f8f8f8;
3
+ .hll { background-color: #ffffcc }
4
+ .c { color: #408080; font-style: italic } /* Comment */
5
+ .err { border: 1px solid #FF0000 } /* Error */
6
+ .k { color: #008000; font-weight: bold } /* Keyword */
7
+ .o { color: #666666 } /* Operator */
8
+ .cm { color: #408080; font-style: italic } /* Comment.Multiline */
9
+ .cp { color: #BC7A00 } /* Comment.Preproc */
10
+ .c1 { color: #408080; font-style: italic } /* Comment.Single */
11
+ .cs { color: #408080; font-style: italic } /* Comment.Special */
12
+ .gd { color: #A00000 } /* Generic.Deleted */
13
+ .ge { font-style: italic } /* Generic.Emph */
14
+ .gr { color: #FF0000 } /* Generic.Error */
15
+ .gh { color: #000080; font-weight: bold } /* Generic.Heading */
16
+ .gi { color: #00A000 } /* Generic.Inserted */
17
+ .go { color: #808080 } /* Generic.Output */
18
+ .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
19
+ .gs { font-weight: bold } /* Generic.Strong */
20
+ .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
21
+ .gt { color: #0040D0 } /* Generic.Traceback */
22
+ .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
23
+ .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
24
+ .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
25
+ .kp { color: #008000 } /* Keyword.Pseudo */
26
+ .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
27
+ .kt { color: #B00040 } /* Keyword.Type */
28
+ .m { color: #666666 } /* Literal.Number */
29
+ .s { color: #BA2121 } /* Literal.String */
30
+ .na { color: #7D9029 } /* Name.Attribute */
31
+ .nb { color: #008000 } /* Name.Builtin */
32
+ .nc { color: #0000FF; font-weight: bold } /* Name.Class */
33
+ .no { color: #880000 } /* Name.Constant */
34
+ .nd { color: #AA22FF } /* Name.Decorator */
35
+ .ni { color: #999999; font-weight: bold } /* Name.Entity */
36
+ .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
37
+ .nf { color: #0000FF } /* Name.Function */
38
+ .nl { color: #A0A000 } /* Name.Label */
39
+ .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
40
+ .nt { color: #008000; font-weight: bold } /* Name.Tag */
41
+ .nv { color: #19177C } /* Name.Variable */
42
+ .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
43
+ .w { color: #bbbbbb } /* Text.Whitespace */
44
+ .mf { color: #666666 } /* Literal.Number.Float */
45
+ .mh { color: #666666 } /* Literal.Number.Hex */
46
+ .mi { color: #666666 } /* Literal.Number.Integer */
47
+ .mo { color: #666666 } /* Literal.Number.Oct */
48
+ .sb { color: #BA2121 } /* Literal.String.Backtick */
49
+ .sc { color: #BA2121 } /* Literal.String.Char */
50
+ .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
51
+ .s2 { color: #BA2121 } /* Literal.String.Double */
52
+ .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
53
+ .sh { color: #BA2121 } /* Literal.String.Heredoc */
54
+ .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
55
+ .sx { color: #008000 } /* Literal.String.Other */
56
+ .sr { color: #BB6688 } /* Literal.String.Regex */
57
+ .s1 { color: #BA2121 } /* Literal.String.Single */
58
+ .ss { color: #19177C } /* Literal.String.Symbol */
59
+ .bp { color: #008000 } /* Name.Builtin.Pseudo */
60
+ .vc { color: #19177C } /* Name.Variable.Class */
61
+ .vg { color: #19177C } /* Name.Variable.Global */
62
+ .vi { color: #19177C } /* Name.Variable.Instance */
63
+ .il { color: #666666 } /* Literal.Number.Integer.Long */
64
+ }
@@ -0,0 +1,63 @@
1
+ .highlight.emacs {
2
+ .hll { background-color: #ffffcc }
3
+ .c { color: #008800; font-style: italic } /* Comment */
4
+ .err { border: 1px solid #FF0000 } /* Error */
5
+ .k { color: #AA22FF; font-weight: bold } /* Keyword */
6
+ .o { color: #666666 } /* Operator */
7
+ .cm { color: #008800; font-style: italic } /* Comment.Multiline */
8
+ .cp { color: #008800 } /* Comment.Preproc */
9
+ .c1 { color: #008800; font-style: italic } /* Comment.Single */
10
+ .cs { color: #008800; font-weight: bold } /* Comment.Special */
11
+ .gd { color: #A00000 } /* Generic.Deleted */
12
+ .ge { font-style: italic } /* Generic.Emph */
13
+ .gr { color: #FF0000 } /* Generic.Error */
14
+ .gh { color: #000080; font-weight: bold } /* Generic.Heading */
15
+ .gi { color: #00A000 } /* Generic.Inserted */
16
+ .go { color: #808080 } /* Generic.Output */
17
+ .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
18
+ .gs { font-weight: bold } /* Generic.Strong */
19
+ .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20
+ .gt { color: #0040D0 } /* Generic.Traceback */
21
+ .kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
22
+ .kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
23
+ .kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
24
+ .kp { color: #AA22FF } /* Keyword.Pseudo */
25
+ .kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
26
+ .kt { color: #00BB00; font-weight: bold } /* Keyword.Type */
27
+ .m { color: #666666 } /* Literal.Number */
28
+ .s { color: #BB4444 } /* Literal.String */
29
+ .na { color: #BB4444 } /* Name.Attribute */
30
+ .nb { color: #AA22FF } /* Name.Builtin */
31
+ .nc { color: #0000FF } /* Name.Class */
32
+ .no { color: #880000 } /* Name.Constant */
33
+ .nd { color: #AA22FF } /* Name.Decorator */
34
+ .ni { color: #999999; font-weight: bold } /* Name.Entity */
35
+ .ne { color: #D2413A; font-weight: bold } /* Name.Exception */
36
+ .nf { color: #00A000 } /* Name.Function */
37
+ .nl { color: #A0A000 } /* Name.Label */
38
+ .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
39
+ .nt { color: #008000; font-weight: bold } /* Name.Tag */
40
+ .nv { color: #B8860B } /* Name.Variable */
41
+ .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
42
+ .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .mf { color: #666666 } /* Literal.Number.Float */
44
+ .mh { color: #666666 } /* Literal.Number.Hex */
45
+ .mi { color: #666666 } /* Literal.Number.Integer */
46
+ .mo { color: #666666 } /* Literal.Number.Oct */
47
+ .sb { color: #BB4444 } /* Literal.String.Backtick */
48
+ .sc { color: #BB4444 } /* Literal.String.Char */
49
+ .sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
50
+ .s2 { color: #BB4444 } /* Literal.String.Double */
51
+ .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
52
+ .sh { color: #BB4444 } /* Literal.String.Heredoc */
53
+ .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
54
+ .sx { color: #008000 } /* Literal.String.Other */
55
+ .sr { color: #BB6688 } /* Literal.String.Regex */
56
+ .s1 { color: #BB4444 } /* Literal.String.Single */
57
+ .ss { color: #B8860B } /* Literal.String.Symbol */
58
+ .bp { color: #AA22FF } /* Name.Builtin.Pseudo */
59
+ .vc { color: #B8860B } /* Name.Variable.Class */
60
+ .vg { color: #B8860B } /* Name.Variable.Global */
61
+ .vi { color: #B8860B } /* Name.Variable.Instance */
62
+ .il { color: #666666 } /* Literal.Number.Integer.Long */
63
+ }
@@ -0,0 +1,63 @@
1
+ .highlight.friendly {
2
+ .hll { background-color: #ffffcc }
3
+ .c { color: #60a0b0; font-style: italic } /* Comment */
4
+ .err { border: 1px solid #FF0000 } /* Error */
5
+ .k { color: #007020; font-weight: bold } /* Keyword */
6
+ .o { color: #666666 } /* Operator */
7
+ .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
8
+ .cp { color: #007020 } /* Comment.Preproc */
9
+ .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
10
+ .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
11
+ .gd { color: #A00000 } /* Generic.Deleted */
12
+ .ge { font-style: italic } /* Generic.Emph */
13
+ .gr { color: #FF0000 } /* Generic.Error */
14
+ .gh { color: #000080; font-weight: bold } /* Generic.Heading */
15
+ .gi { color: #00A000 } /* Generic.Inserted */
16
+ .go { color: #808080 } /* Generic.Output */
17
+ .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
18
+ .gs { font-weight: bold } /* Generic.Strong */
19
+ .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
20
+ .gt { color: #0040D0 } /* Generic.Traceback */
21
+ .kc { color: #007020; font-weight: bold } /* Keyword.Constant */
22
+ .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
23
+ .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */
24
+ .kp { color: #007020 } /* Keyword.Pseudo */
25
+ .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
26
+ .kt { color: #902000 } /* Keyword.Type */
27
+ .m { color: #40a070 } /* Literal.Number */
28
+ .s { color: #4070a0 } /* Literal.String */
29
+ .na { color: #4070a0 } /* Name.Attribute */
30
+ .nb { color: #007020 } /* Name.Builtin */
31
+ .nc { color: #0e84b5; font-weight: bold } /* Name.Class */
32
+ .no { color: #60add5 } /* Name.Constant */
33
+ .nd { color: #555555; font-weight: bold } /* Name.Decorator */
34
+ .ni { color: #d55537; font-weight: bold } /* Name.Entity */
35
+ .ne { color: #007020 } /* Name.Exception */
36
+ .nf { color: #06287e } /* Name.Function */
37
+ .nl { color: #002070; font-weight: bold } /* Name.Label */
38
+ .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
39
+ .nt { color: #062873; font-weight: bold } /* Name.Tag */
40
+ .nv { color: #bb60d5 } /* Name.Variable */
41
+ .ow { color: #007020; font-weight: bold } /* Operator.Word */
42
+ .w { color: #bbbbbb } /* Text.Whitespace */
43
+ .mf { color: #40a070 } /* Literal.Number.Float */
44
+ .mh { color: #40a070 } /* Literal.Number.Hex */
45
+ .mi { color: #40a070 } /* Literal.Number.Integer */
46
+ .mo { color: #40a070 } /* Literal.Number.Oct */
47
+ .sb { color: #4070a0 } /* Literal.String.Backtick */
48
+ .sc { color: #4070a0 } /* Literal.String.Char */
49
+ .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
50
+ .s2 { color: #4070a0 } /* Literal.String.Double */
51
+ .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
52
+ .sh { color: #4070a0 } /* Literal.String.Heredoc */
53
+ .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
54
+ .sx { color: #c65d09 } /* Literal.String.Other */
55
+ .sr { color: #235388 } /* Literal.String.Regex */
56
+ .s1 { color: #4070a0 } /* Literal.String.Single */
57
+ .ss { color: #517918 } /* Literal.String.Symbol */
58
+ .bp { color: #007020 } /* Name.Builtin.Pseudo */
59
+ .vc { color: #bb60d5 } /* Name.Variable.Class */
60
+ .vg { color: #bb60d5 } /* Name.Variable.Global */
61
+ .vi { color: #bb60d5 } /* Name.Variable.Instance */
62
+ .il { color: #40a070 } /* Literal.Number.Integer.Long */
63
+ }
@@ -0,0 +1,71 @@
1
+ .highlight.fruity {
2
+ .hll { background-color: #333333 }
3
+ .c { color: #008800; font-style: italic; background-color: #0f140f } /* Comment */
4
+ .err { color: #ffffff } /* Error */
5
+ .g { color: #ffffff } /* Generic */
6
+ .k { color: #fb660a; font-weight: bold } /* Keyword */
7
+ .l { color: #ffffff } /* Literal */
8
+ .n { color: #ffffff } /* Name */
9
+ .o { color: #ffffff } /* Operator */
10
+ .x { color: #ffffff } /* Other */
11
+ .p { color: #ffffff } /* Punctuation */
12
+ .cm { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Multiline */
13
+ .cp { color: #ff0007; font-weight: bold; font-style: italic; background-color: #0f140f } /* Comment.Preproc */
14
+ .c1 { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Single */
15
+ .cs { color: #008800; font-style: italic; background-color: #0f140f } /* Comment.Special */
16
+ .gd { color: #ffffff } /* Generic.Deleted */
17
+ .ge { color: #ffffff } /* Generic.Emph */
18
+ .gr { color: #ffffff } /* Generic.Error */
19
+ .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
20
+ .gi { color: #ffffff } /* Generic.Inserted */
21
+ .go { color: #444444; background-color: #222222 } /* Generic.Output */
22
+ .gp { color: #ffffff } /* Generic.Prompt */
23
+ .gs { color: #ffffff } /* Generic.Strong */
24
+ .gu { color: #ffffff; font-weight: bold } /* Generic.Subheading */
25
+ .gt { color: #ffffff } /* Generic.Traceback */
26
+ .kc { color: #fb660a; font-weight: bold } /* Keyword.Constant */
27
+ .kd { color: #fb660a; font-weight: bold } /* Keyword.Declaration */
28
+ .kn { color: #fb660a; font-weight: bold } /* Keyword.Namespace */
29
+ .kp { color: #fb660a } /* Keyword.Pseudo */
30
+ .kr { color: #fb660a; font-weight: bold } /* Keyword.Reserved */
31
+ .kt { color: #cdcaa9; font-weight: bold } /* Keyword.Type */
32
+ .ld { color: #ffffff } /* Literal.Date */
33
+ .m { color: #0086f7; font-weight: bold } /* Literal.Number */
34
+ .s { color: #0086d2 } /* Literal.String */
35
+ .na { color: #ff0086; font-weight: bold } /* Name.Attribute */
36
+ .nb { color: #ffffff } /* Name.Builtin */
37
+ .nc { color: #ffffff } /* Name.Class */
38
+ .no { color: #0086d2 } /* Name.Constant */
39
+ .nd { color: #ffffff } /* Name.Decorator */
40
+ .ni { color: #ffffff } /* Name.Entity */
41
+ .ne { color: #ffffff } /* Name.Exception */
42
+ .nf { color: #ff0086; font-weight: bold } /* Name.Function */
43
+ .nl { color: #ffffff } /* Name.Label */
44
+ .nn { color: #ffffff } /* Name.Namespace */
45
+ .nx { color: #ffffff } /* Name.Other */
46
+ .py { color: #ffffff } /* Name.Property */
47
+ .nt { color: #fb660a; font-weight: bold } /* Name.Tag */
48
+ .nv { color: #fb660a } /* Name.Variable */
49
+ .ow { color: #ffffff } /* Operator.Word */
50
+ .w { color: #888888 } /* Text.Whitespace */
51
+ .mf { color: #0086f7; font-weight: bold } /* Literal.Number.Float */
52
+ .mh { color: #0086f7; font-weight: bold } /* Literal.Number.Hex */
53
+ .mi { color: #0086f7; font-weight: bold } /* Literal.Number.Integer */
54
+ .mo { color: #0086f7; font-weight: bold } /* Literal.Number.Oct */
55
+ .sb { color: #0086d2 } /* Literal.String.Backtick */
56
+ .sc { color: #0086d2 } /* Literal.String.Char */
57
+ .sd { color: #0086d2 } /* Literal.String.Doc */
58
+ .s2 { color: #0086d2 } /* Literal.String.Double */
59
+ .se { color: #0086d2 } /* Literal.String.Escape */
60
+ .sh { color: #0086d2 } /* Literal.String.Heredoc */
61
+ .si { color: #0086d2 } /* Literal.String.Interpol */
62
+ .sx { color: #0086d2 } /* Literal.String.Other */
63
+ .sr { color: #0086d2 } /* Literal.String.Regex */
64
+ .s1 { color: #0086d2 } /* Literal.String.Single */
65
+ .ss { color: #0086d2 } /* Literal.String.Symbol */
66
+ .bp { color: #ffffff } /* Name.Builtin.Pseudo */
67
+ .vc { color: #fb660a } /* Name.Variable.Class */
68
+ .vg { color: #fb660a } /* Name.Variable.Global */
69
+ .vi { color: #fb660a } /* Name.Variable.Instance */
70
+ .il { color: #0086f7; font-weight: bold } /* Literal.Number.Integer.Long */
71
+ }