crosslanguagespotter 0.0.2-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/Gemfile +3 -0
  4. data/Rakefile +13 -0
  5. data/crosslanguagespotter.gemspec +36 -0
  6. data/examples/ex1.rb +13 -0
  7. data/examples/services_example.rb +13 -0
  8. data/lib/crosslanguagespotter/basic.rb +157 -0
  9. data/lib/crosslanguagespotter/context.rb +139 -0
  10. data/lib/crosslanguagespotter/figures_evaluator.rb +160 -0
  11. data/lib/crosslanguagespotter/jaccard.rb +114 -0
  12. data/lib/crosslanguagespotter/methods/context.rb +127 -0
  13. data/lib/crosslanguagespotter/methods/jaro.rb +118 -0
  14. data/lib/crosslanguagespotter/methods/tversky.rb +44 -0
  15. data/lib/crosslanguagespotter/model_loading.rb +333 -0
  16. data/lib/crosslanguagespotter/oracle.rb +261 -0
  17. data/lib/crosslanguagespotter/report.rb +88 -0
  18. data/lib/crosslanguagespotter/version.rb +5 -0
  19. data/lib/crosslanguagespotter/wekaintegration.rb +83 -0
  20. data/lib/crosslanguagespotter.rb +7 -0
  21. data/lib/jars/weka.jar +0 -0
  22. data/resources/css/bootstrap-theme.css +346 -0
  23. data/resources/css/bootstrap-theme.min.css +7 -0
  24. data/resources/css/bootstrap.css +5780 -0
  25. data/resources/css/bootstrap.min.css +7 -0
  26. data/resources/css/highlightstyles/arta.css +160 -0
  27. data/resources/css/highlightstyles/ascetic.css +50 -0
  28. data/resources/css/highlightstyles/atelier-dune.dark.css +93 -0
  29. data/resources/css/highlightstyles/atelier-dune.light.css +93 -0
  30. data/resources/css/highlightstyles/atelier-forest.dark.css +93 -0
  31. data/resources/css/highlightstyles/atelier-forest.light.css +93 -0
  32. data/resources/css/highlightstyles/atelier-heath.dark.css +93 -0
  33. data/resources/css/highlightstyles/atelier-heath.light.css +93 -0
  34. data/resources/css/highlightstyles/atelier-lakeside.dark.css +93 -0
  35. data/resources/css/highlightstyles/atelier-lakeside.light.css +93 -0
  36. data/resources/css/highlightstyles/atelier-seaside.dark.css +93 -0
  37. data/resources/css/highlightstyles/atelier-seaside.light.css +93 -0
  38. data/resources/css/highlightstyles/brown_paper.css +105 -0
  39. data/resources/css/highlightstyles/brown_papersq.png +0 -0
  40. data/resources/css/highlightstyles/dark.css +105 -0
  41. data/resources/css/highlightstyles/default.css +153 -0
  42. data/resources/css/highlightstyles/docco.css +132 -0
  43. data/resources/css/highlightstyles/far.css +113 -0
  44. data/resources/css/highlightstyles/foundation.css +133 -0
  45. data/resources/css/highlightstyles/github.css +125 -0
  46. data/resources/css/highlightstyles/googlecode.css +147 -0
  47. data/resources/css/highlightstyles/idea.css +122 -0
  48. data/resources/css/highlightstyles/ir_black.css +105 -0
  49. data/resources/css/highlightstyles/magula.css +123 -0
  50. data/resources/css/highlightstyles/mono-blue.css +62 -0
  51. data/resources/css/highlightstyles/monokai.css +127 -0
  52. data/resources/css/highlightstyles/monokai_sublime.css +149 -0
  53. data/resources/css/highlightstyles/obsidian.css +154 -0
  54. data/resources/css/highlightstyles/paraiso.dark.css +93 -0
  55. data/resources/css/highlightstyles/paraiso.light.css +93 -0
  56. data/resources/css/highlightstyles/pojoaque.css +106 -0
  57. data/resources/css/highlightstyles/pojoaque.jpg +0 -0
  58. data/resources/css/highlightstyles/railscasts.css +182 -0
  59. data/resources/css/highlightstyles/rainbow.css +112 -0
  60. data/resources/css/highlightstyles/school_book.css +113 -0
  61. data/resources/css/highlightstyles/school_book.png +0 -0
  62. data/resources/css/highlightstyles/solarized_dark.css +107 -0
  63. data/resources/css/highlightstyles/solarized_light.css +107 -0
  64. data/resources/css/highlightstyles/sunburst.css +160 -0
  65. data/resources/css/highlightstyles/tomorrow-night-blue.css +93 -0
  66. data/resources/css/highlightstyles/tomorrow-night-bright.css +92 -0
  67. data/resources/css/highlightstyles/tomorrow-night-eighties.css +92 -0
  68. data/resources/css/highlightstyles/tomorrow-night.css +93 -0
  69. data/resources/css/highlightstyles/tomorrow.css +90 -0
  70. data/resources/css/highlightstyles/vs.css +89 -0
  71. data/resources/css/highlightstyles/xcode.css +158 -0
  72. data/resources/css/highlightstyles/zenburn.css +117 -0
  73. data/resources/example.html +1501 -0
  74. data/resources/js/bootstrap.js +1943 -0
  75. data/resources/js/bootstrap.min.js +7 -0
  76. data/resources/js/highlight.pack.js +1 -0
  77. data/resources/services_example.html +141 -0
  78. data/resources/template.html +61 -0
  79. data/test/data/angular-puzzle.GS +111 -0
  80. data/test/data/angular_puzzle/app.js +66 -0
  81. data/test/data/angular_puzzle/index.html +67 -0
  82. data/test/data/angular_puzzle/slidingPuzzle.js +203 -0
  83. data/test/data/angular_puzzle/wordSearchPuzzle.js +270 -0
  84. data/test/data/example.html +5 -0
  85. data/test/data/example.js +4 -0
  86. data/test/data/services/index.html +33 -0
  87. data/test/data/services/script.js +15 -0
  88. data/test/test_helper.rb +9 -0
  89. data/test/test_parsing.rb +23 -0
  90. data/test/test_spotter.rb +42 -0
  91. data/test/test_wekaintegration.rb +43 -0
  92. metadata +328 -0
@@ -0,0 +1,107 @@
1
+ /*
2
+
3
+ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block;
9
+ padding: 0.5em;
10
+ background: #fdf6e3;
11
+ color: #657b83;
12
+ }
13
+
14
+ .hljs-comment,
15
+ .hljs-template_comment,
16
+ .diff .hljs-header,
17
+ .hljs-doctype,
18
+ .hljs-pi,
19
+ .lisp .hljs-string,
20
+ .hljs-javadoc {
21
+ color: #93a1a1;
22
+ }
23
+
24
+ /* Solarized Green */
25
+ .hljs-keyword,
26
+ .hljs-winutils,
27
+ .method,
28
+ .hljs-addition,
29
+ .css .hljs-tag,
30
+ .hljs-request,
31
+ .hljs-status,
32
+ .nginx .hljs-title {
33
+ color: #859900;
34
+ }
35
+
36
+ /* Solarized Cyan */
37
+ .hljs-number,
38
+ .hljs-command,
39
+ .hljs-string,
40
+ .hljs-tag .hljs-value,
41
+ .hljs-rules .hljs-value,
42
+ .hljs-phpdoc,
43
+ .tex .hljs-formula,
44
+ .hljs-regexp,
45
+ .hljs-hexcolor,
46
+ .hljs-link_url {
47
+ color: #2aa198;
48
+ }
49
+
50
+ /* Solarized Blue */
51
+ .hljs-title,
52
+ .hljs-localvars,
53
+ .hljs-chunk,
54
+ .hljs-decorator,
55
+ .hljs-built_in,
56
+ .hljs-identifier,
57
+ .vhdl .hljs-literal,
58
+ .hljs-id,
59
+ .css .hljs-function {
60
+ color: #268bd2;
61
+ }
62
+
63
+ /* Solarized Yellow */
64
+ .hljs-attribute,
65
+ .hljs-variable,
66
+ .lisp .hljs-body,
67
+ .smalltalk .hljs-number,
68
+ .hljs-constant,
69
+ .hljs-class .hljs-title,
70
+ .hljs-parent,
71
+ .haskell .hljs-type,
72
+ .hljs-link_reference {
73
+ color: #b58900;
74
+ }
75
+
76
+ /* Solarized Orange */
77
+ .hljs-preprocessor,
78
+ .hljs-preprocessor .hljs-keyword,
79
+ .hljs-pragma,
80
+ .hljs-shebang,
81
+ .hljs-symbol,
82
+ .hljs-symbol .hljs-string,
83
+ .diff .hljs-change,
84
+ .hljs-special,
85
+ .hljs-attr_selector,
86
+ .hljs-subst,
87
+ .hljs-cdata,
88
+ .clojure .hljs-title,
89
+ .css .hljs-pseudo,
90
+ .hljs-header {
91
+ color: #cb4b16;
92
+ }
93
+
94
+ /* Solarized Red */
95
+ .hljs-deletion,
96
+ .hljs-important {
97
+ color: #dc322f;
98
+ }
99
+
100
+ /* Solarized Violet */
101
+ .hljs-link_label {
102
+ color: #6c71c4;
103
+ }
104
+
105
+ .tex .hljs-formula {
106
+ background: #eee8d5;
107
+ }
@@ -0,0 +1,160 @@
1
+ /*
2
+
3
+ Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>
4
+
5
+ */
6
+
7
+ .hljs {
8
+ display: block; padding: 0.5em;
9
+ background: #000; color: #f8f8f8;
10
+ }
11
+
12
+ .hljs-comment,
13
+ .hljs-template_comment,
14
+ .hljs-javadoc {
15
+ color: #aeaeae;
16
+ font-style: italic;
17
+ }
18
+
19
+ .hljs-keyword,
20
+ .ruby .hljs-function .hljs-keyword,
21
+ .hljs-request,
22
+ .hljs-status,
23
+ .nginx .hljs-title {
24
+ color: #E28964;
25
+ }
26
+
27
+ .hljs-function .hljs-keyword,
28
+ .hljs-sub .hljs-keyword,
29
+ .method,
30
+ .hljs-list .hljs-title {
31
+ color: #99CF50;
32
+ }
33
+
34
+ .hljs-string,
35
+ .hljs-tag .hljs-value,
36
+ .hljs-cdata,
37
+ .hljs-filter .hljs-argument,
38
+ .hljs-attr_selector,
39
+ .apache .hljs-cbracket,
40
+ .hljs-date,
41
+ .tex .hljs-command,
42
+ .coffeescript .hljs-attribute {
43
+ color: #65B042;
44
+ }
45
+
46
+ .hljs-subst {
47
+ color: #DAEFA3;
48
+ }
49
+
50
+ .hljs-regexp {
51
+ color: #E9C062;
52
+ }
53
+
54
+ .hljs-title,
55
+ .hljs-sub .hljs-identifier,
56
+ .hljs-pi,
57
+ .hljs-tag,
58
+ .hljs-tag .hljs-keyword,
59
+ .hljs-decorator,
60
+ .hljs-shebang,
61
+ .hljs-prompt {
62
+ color: #89BDFF;
63
+ }
64
+
65
+ .hljs-class .hljs-title,
66
+ .haskell .hljs-type,
67
+ .smalltalk .hljs-class,
68
+ .hljs-javadoctag,
69
+ .hljs-yardoctag,
70
+ .hljs-phpdoc {
71
+ text-decoration: underline;
72
+ }
73
+
74
+ .hljs-symbol,
75
+ .ruby .hljs-symbol .hljs-string,
76
+ .hljs-number {
77
+ color: #3387CC;
78
+ }
79
+
80
+ .hljs-params,
81
+ .hljs-variable,
82
+ .clojure .hljs-attribute {
83
+ color: #3E87E3;
84
+ }
85
+
86
+ .css .hljs-tag,
87
+ .hljs-rules .hljs-property,
88
+ .hljs-pseudo,
89
+ .tex .hljs-special {
90
+ color: #CDA869;
91
+ }
92
+
93
+ .css .hljs-class {
94
+ color: #9B703F;
95
+ }
96
+
97
+ .hljs-rules .hljs-keyword {
98
+ color: #C5AF75;
99
+ }
100
+
101
+ .hljs-rules .hljs-value {
102
+ color: #CF6A4C;
103
+ }
104
+
105
+ .css .hljs-id {
106
+ color: #8B98AB;
107
+ }
108
+
109
+ .hljs-annotation,
110
+ .apache .hljs-sqbracket,
111
+ .nginx .hljs-built_in {
112
+ color: #9B859D;
113
+ }
114
+
115
+ .hljs-preprocessor,
116
+ .hljs-pragma {
117
+ color: #8996A8;
118
+ }
119
+
120
+ .hljs-hexcolor,
121
+ .css .hljs-value .hljs-number {
122
+ color: #DD7B3B;
123
+ }
124
+
125
+ .css .hljs-function {
126
+ color: #DAD085;
127
+ }
128
+
129
+ .diff .hljs-header,
130
+ .hljs-chunk,
131
+ .tex .hljs-formula {
132
+ background-color: #0E2231;
133
+ color: #F8F8F8;
134
+ font-style: italic;
135
+ }
136
+
137
+ .diff .hljs-change {
138
+ background-color: #4A410D;
139
+ color: #F8F8F8;
140
+ }
141
+
142
+ .hljs-addition {
143
+ background-color: #253B22;
144
+ color: #F8F8F8;
145
+ }
146
+
147
+ .hljs-deletion {
148
+ background-color: #420E09;
149
+ color: #F8F8F8;
150
+ }
151
+
152
+ .coffeescript .javascript,
153
+ .javascript .xml,
154
+ .tex .hljs-formula,
155
+ .xml .javascript,
156
+ .xml .vbscript,
157
+ .xml .css,
158
+ .xml .hljs-cdata {
159
+ opacity: 0.5;
160
+ }
@@ -0,0 +1,93 @@
1
+ /* Tomorrow Night Blue Theme */
2
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
3
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
4
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
5
+
6
+ /* Tomorrow Comment */
7
+ .hljs-comment,
8
+ .hljs-title {
9
+ color: #7285b7;
10
+ }
11
+
12
+ /* Tomorrow Red */
13
+ .hljs-variable,
14
+ .hljs-attribute,
15
+ .hljs-tag,
16
+ .hljs-regexp,
17
+ .ruby .hljs-constant,
18
+ .xml .hljs-tag .hljs-title,
19
+ .xml .hljs-pi,
20
+ .xml .hljs-doctype,
21
+ .html .hljs-doctype,
22
+ .css .hljs-id,
23
+ .css .hljs-class,
24
+ .css .hljs-pseudo {
25
+ color: #ff9da4;
26
+ }
27
+
28
+ /* Tomorrow Orange */
29
+ .hljs-number,
30
+ .hljs-preprocessor,
31
+ .hljs-pragma,
32
+ .hljs-built_in,
33
+ .hljs-literal,
34
+ .hljs-params,
35
+ .hljs-constant {
36
+ color: #ffc58f;
37
+ }
38
+
39
+ /* Tomorrow Yellow */
40
+ .ruby .hljs-class .hljs-title,
41
+ .css .hljs-rules .hljs-attribute {
42
+ color: #ffeead;
43
+ }
44
+
45
+ /* Tomorrow Green */
46
+ .hljs-string,
47
+ .hljs-value,
48
+ .hljs-inheritance,
49
+ .hljs-header,
50
+ .ruby .hljs-symbol,
51
+ .xml .hljs-cdata {
52
+ color: #d1f1a9;
53
+ }
54
+
55
+ /* Tomorrow Aqua */
56
+ .css .hljs-hexcolor {
57
+ color: #99ffff;
58
+ }
59
+
60
+ /* Tomorrow Blue */
61
+ .hljs-function,
62
+ .python .hljs-decorator,
63
+ .python .hljs-title,
64
+ .ruby .hljs-function .hljs-title,
65
+ .ruby .hljs-title .hljs-keyword,
66
+ .perl .hljs-sub,
67
+ .javascript .hljs-title,
68
+ .coffeescript .hljs-title {
69
+ color: #bbdaff;
70
+ }
71
+
72
+ /* Tomorrow Purple */
73
+ .hljs-keyword,
74
+ .javascript .hljs-function {
75
+ color: #ebbbff;
76
+ }
77
+
78
+ .hljs {
79
+ display: block;
80
+ background: #002451;
81
+ color: white;
82
+ padding: 0.5em;
83
+ }
84
+
85
+ .coffeescript .javascript,
86
+ .javascript .xml,
87
+ .tex .hljs-formula,
88
+ .xml .javascript,
89
+ .xml .vbscript,
90
+ .xml .css,
91
+ .xml .hljs-cdata {
92
+ opacity: 0.5;
93
+ }
@@ -0,0 +1,92 @@
1
+ /* Tomorrow Night Bright Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+
5
+ /* Tomorrow Comment */
6
+ .hljs-comment,
7
+ .hljs-title {
8
+ color: #969896;
9
+ }
10
+
11
+ /* Tomorrow Red */
12
+ .hljs-variable,
13
+ .hljs-attribute,
14
+ .hljs-tag,
15
+ .hljs-regexp,
16
+ .ruby .hljs-constant,
17
+ .xml .hljs-tag .hljs-title,
18
+ .xml .hljs-pi,
19
+ .xml .hljs-doctype,
20
+ .html .hljs-doctype,
21
+ .css .hljs-id,
22
+ .css .hljs-class,
23
+ .css .hljs-pseudo {
24
+ color: #d54e53;
25
+ }
26
+
27
+ /* Tomorrow Orange */
28
+ .hljs-number,
29
+ .hljs-preprocessor,
30
+ .hljs-pragma,
31
+ .hljs-built_in,
32
+ .hljs-literal,
33
+ .hljs-params,
34
+ .hljs-constant {
35
+ color: #e78c45;
36
+ }
37
+
38
+ /* Tomorrow Yellow */
39
+ .ruby .hljs-class .hljs-title,
40
+ .css .hljs-rules .hljs-attribute {
41
+ color: #e7c547;
42
+ }
43
+
44
+ /* Tomorrow Green */
45
+ .hljs-string,
46
+ .hljs-value,
47
+ .hljs-inheritance,
48
+ .hljs-header,
49
+ .ruby .hljs-symbol,
50
+ .xml .hljs-cdata {
51
+ color: #b9ca4a;
52
+ }
53
+
54
+ /* Tomorrow Aqua */
55
+ .css .hljs-hexcolor {
56
+ color: #70c0b1;
57
+ }
58
+
59
+ /* Tomorrow Blue */
60
+ .hljs-function,
61
+ .python .hljs-decorator,
62
+ .python .hljs-title,
63
+ .ruby .hljs-function .hljs-title,
64
+ .ruby .hljs-title .hljs-keyword,
65
+ .perl .hljs-sub,
66
+ .javascript .hljs-title,
67
+ .coffeescript .hljs-title {
68
+ color: #7aa6da;
69
+ }
70
+
71
+ /* Tomorrow Purple */
72
+ .hljs-keyword,
73
+ .javascript .hljs-function {
74
+ color: #c397d8;
75
+ }
76
+
77
+ .hljs {
78
+ display: block;
79
+ background: black;
80
+ color: #eaeaea;
81
+ padding: 0.5em;
82
+ }
83
+
84
+ .coffeescript .javascript,
85
+ .javascript .xml,
86
+ .tex .hljs-formula,
87
+ .xml .javascript,
88
+ .xml .vbscript,
89
+ .xml .css,
90
+ .xml .hljs-cdata {
91
+ opacity: 0.5;
92
+ }
@@ -0,0 +1,92 @@
1
+ /* Tomorrow Night Eighties Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+
5
+ /* Tomorrow Comment */
6
+ .hljs-comment,
7
+ .hljs-title {
8
+ color: #999999;
9
+ }
10
+
11
+ /* Tomorrow Red */
12
+ .hljs-variable,
13
+ .hljs-attribute,
14
+ .hljs-tag,
15
+ .hljs-regexp,
16
+ .ruby .hljs-constant,
17
+ .xml .hljs-tag .hljs-title,
18
+ .xml .hljs-pi,
19
+ .xml .hljs-doctype,
20
+ .html .hljs-doctype,
21
+ .css .hljs-id,
22
+ .css .hljs-class,
23
+ .css .hljs-pseudo {
24
+ color: #f2777a;
25
+ }
26
+
27
+ /* Tomorrow Orange */
28
+ .hljs-number,
29
+ .hljs-preprocessor,
30
+ .hljs-pragma,
31
+ .hljs-built_in,
32
+ .hljs-literal,
33
+ .hljs-params,
34
+ .hljs-constant {
35
+ color: #f99157;
36
+ }
37
+
38
+ /* Tomorrow Yellow */
39
+ .ruby .hljs-class .hljs-title,
40
+ .css .hljs-rules .hljs-attribute {
41
+ color: #ffcc66;
42
+ }
43
+
44
+ /* Tomorrow Green */
45
+ .hljs-string,
46
+ .hljs-value,
47
+ .hljs-inheritance,
48
+ .hljs-header,
49
+ .ruby .hljs-symbol,
50
+ .xml .hljs-cdata {
51
+ color: #99cc99;
52
+ }
53
+
54
+ /* Tomorrow Aqua */
55
+ .css .hljs-hexcolor {
56
+ color: #66cccc;
57
+ }
58
+
59
+ /* Tomorrow Blue */
60
+ .hljs-function,
61
+ .python .hljs-decorator,
62
+ .python .hljs-title,
63
+ .ruby .hljs-function .hljs-title,
64
+ .ruby .hljs-title .hljs-keyword,
65
+ .perl .hljs-sub,
66
+ .javascript .hljs-title,
67
+ .coffeescript .hljs-title {
68
+ color: #6699cc;
69
+ }
70
+
71
+ /* Tomorrow Purple */
72
+ .hljs-keyword,
73
+ .javascript .hljs-function {
74
+ color: #cc99cc;
75
+ }
76
+
77
+ .hljs {
78
+ display: block;
79
+ background: #2d2d2d;
80
+ color: #cccccc;
81
+ padding: 0.5em;
82
+ }
83
+
84
+ .coffeescript .javascript,
85
+ .javascript .xml,
86
+ .tex .hljs-formula,
87
+ .xml .javascript,
88
+ .xml .vbscript,
89
+ .xml .css,
90
+ .xml .hljs-cdata {
91
+ opacity: 0.5;
92
+ }
@@ -0,0 +1,93 @@
1
+ /* Tomorrow Night Theme */
2
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
3
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
4
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
5
+
6
+ /* Tomorrow Comment */
7
+ .hljs-comment,
8
+ .hljs-title {
9
+ color: #969896;
10
+ }
11
+
12
+ /* Tomorrow Red */
13
+ .hljs-variable,
14
+ .hljs-attribute,
15
+ .hljs-tag,
16
+ .hljs-regexp,
17
+ .ruby .hljs-constant,
18
+ .xml .hljs-tag .hljs-title,
19
+ .xml .hljs-pi,
20
+ .xml .hljs-doctype,
21
+ .html .hljs-doctype,
22
+ .css .hljs-id,
23
+ .css .hljs-class,
24
+ .css .hljs-pseudo {
25
+ color: #cc6666;
26
+ }
27
+
28
+ /* Tomorrow Orange */
29
+ .hljs-number,
30
+ .hljs-preprocessor,
31
+ .hljs-pragma,
32
+ .hljs-built_in,
33
+ .hljs-literal,
34
+ .hljs-params,
35
+ .hljs-constant {
36
+ color: #de935f;
37
+ }
38
+
39
+ /* Tomorrow Yellow */
40
+ .ruby .hljs-class .hljs-title,
41
+ .css .hljs-rules .hljs-attribute {
42
+ color: #f0c674;
43
+ }
44
+
45
+ /* Tomorrow Green */
46
+ .hljs-string,
47
+ .hljs-value,
48
+ .hljs-inheritance,
49
+ .hljs-header,
50
+ .ruby .hljs-symbol,
51
+ .xml .hljs-cdata {
52
+ color: #b5bd68;
53
+ }
54
+
55
+ /* Tomorrow Aqua */
56
+ .css .hljs-hexcolor {
57
+ color: #8abeb7;
58
+ }
59
+
60
+ /* Tomorrow Blue */
61
+ .hljs-function,
62
+ .python .hljs-decorator,
63
+ .python .hljs-title,
64
+ .ruby .hljs-function .hljs-title,
65
+ .ruby .hljs-title .hljs-keyword,
66
+ .perl .hljs-sub,
67
+ .javascript .hljs-title,
68
+ .coffeescript .hljs-title {
69
+ color: #81a2be;
70
+ }
71
+
72
+ /* Tomorrow Purple */
73
+ .hljs-keyword,
74
+ .javascript .hljs-function {
75
+ color: #b294bb;
76
+ }
77
+
78
+ .hljs {
79
+ display: block;
80
+ background: #1d1f21;
81
+ color: #c5c8c6;
82
+ padding: 0.5em;
83
+ }
84
+
85
+ .coffeescript .javascript,
86
+ .javascript .xml,
87
+ .tex .hljs-formula,
88
+ .xml .javascript,
89
+ .xml .vbscript,
90
+ .xml .css,
91
+ .xml .hljs-cdata {
92
+ opacity: 0.5;
93
+ }
@@ -0,0 +1,90 @@
1
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
2
+
3
+ /* Tomorrow Comment */
4
+ .hljs-comment,
5
+ .hljs-title {
6
+ color: #8e908c;
7
+ }
8
+
9
+ /* Tomorrow Red */
10
+ .hljs-variable,
11
+ .hljs-attribute,
12
+ .hljs-tag,
13
+ .hljs-regexp,
14
+ .ruby .hljs-constant,
15
+ .xml .hljs-tag .hljs-title,
16
+ .xml .hljs-pi,
17
+ .xml .hljs-doctype,
18
+ .html .hljs-doctype,
19
+ .css .hljs-id,
20
+ .css .hljs-class,
21
+ .css .hljs-pseudo {
22
+ color: #c82829;
23
+ }
24
+
25
+ /* Tomorrow Orange */
26
+ .hljs-number,
27
+ .hljs-preprocessor,
28
+ .hljs-pragma,
29
+ .hljs-built_in,
30
+ .hljs-literal,
31
+ .hljs-params,
32
+ .hljs-constant {
33
+ color: #f5871f;
34
+ }
35
+
36
+ /* Tomorrow Yellow */
37
+ .ruby .hljs-class .hljs-title,
38
+ .css .hljs-rules .hljs-attribute {
39
+ color: #eab700;
40
+ }
41
+
42
+ /* Tomorrow Green */
43
+ .hljs-string,
44
+ .hljs-value,
45
+ .hljs-inheritance,
46
+ .hljs-header,
47
+ .ruby .hljs-symbol,
48
+ .xml .hljs-cdata {
49
+ color: #718c00;
50
+ }
51
+
52
+ /* Tomorrow Aqua */
53
+ .css .hljs-hexcolor {
54
+ color: #3e999f;
55
+ }
56
+
57
+ /* Tomorrow Blue */
58
+ .hljs-function,
59
+ .python .hljs-decorator,
60
+ .python .hljs-title,
61
+ .ruby .hljs-function .hljs-title,
62
+ .ruby .hljs-title .hljs-keyword,
63
+ .perl .hljs-sub,
64
+ .javascript .hljs-title,
65
+ .coffeescript .hljs-title {
66
+ color: #4271ae;
67
+ }
68
+
69
+ /* Tomorrow Purple */
70
+ .hljs-keyword,
71
+ .javascript .hljs-function {
72
+ color: #8959a8;
73
+ }
74
+
75
+ .hljs {
76
+ display: block;
77
+ background: white;
78
+ color: #4d4d4c;
79
+ padding: 0.5em;
80
+ }
81
+
82
+ .coffeescript .javascript,
83
+ .javascript .xml,
84
+ .tex .hljs-formula,
85
+ .xml .javascript,
86
+ .xml .vbscript,
87
+ .xml .css,
88
+ .xml .hljs-cdata {
89
+ opacity: 0.5;
90
+ }