fortitude 0.9.1-java → 0.9.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +28 -22
- data/CHANGES.md +50 -0
- data/CONTRIBUTORS.md +1 -0
- data/doc/.gitignore +18 -0
- data/doc/Gemfile +21 -0
- data/doc/config.rb +92 -0
- data/doc/source/images/background.png +0 -0
- data/doc/source/images/middleman.png +0 -0
- data/doc/source/images/why/icon_button.png +0 -0
- data/doc/source/images/why/icon_button@2x.png +0 -0
- data/doc/source/images/why/modal_dialog@2x.png +0 -0
- data/doc/source/index.html.pcss +96 -0
- data/doc/source/index.html.rb +66 -0
- data/doc/source/javascripts/all.js +1 -0
- data/doc/source/javascripts/highlight.pack.js +1 -0
- data/doc/source/layouts/layout.rb +55 -0
- data/doc/source/portable/fortitude-bootstrap.rb +53 -0
- data/doc/source/shared/base.pcss +62 -0
- data/doc/source/shared/base.rb +30 -0
- data/doc/source/shared/common.rb +55 -0
- data/doc/source/shared/standard_page.rb +40 -0
- data/doc/source/stylesheets/_shared_prefix.scss +25 -0
- data/doc/source/stylesheets/all.css.scss +7 -0
- data/doc/source/stylesheets/basics.css.scss +20 -0
- data/doc/source/stylesheets/bootstrap_importer.css.scss +1 -0
- data/doc/source/stylesheets/highlight/arta.css +140 -0
- data/doc/source/stylesheets/highlight/ascetic.css +52 -0
- data/doc/source/stylesheets/highlight/atelier-dune.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-dune.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-forest.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-forest.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-heath.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-heath.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-lakeside.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-lakeside.light.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-seaside.dark.css +95 -0
- data/doc/source/stylesheets/highlight/atelier-seaside.light.css +95 -0
- data/doc/source/stylesheets/highlight/brown_paper.css +104 -0
- data/doc/source/stylesheets/highlight/brown_papersq.png +0 -0
- data/doc/source/stylesheets/highlight/codepen-embed.css +108 -0
- data/doc/source/stylesheets/highlight/color-brewer.css +168 -0
- data/doc/source/stylesheets/highlight/dark.css +104 -0
- data/doc/source/stylesheets/highlight/default.css +152 -0
- data/doc/source/stylesheets/highlight/docco.css +135 -0
- data/doc/source/stylesheets/highlight/far.css +111 -0
- data/doc/source/stylesheets/highlight/foundation.css +136 -0
- data/doc/source/stylesheets/highlight/github.css +124 -0
- data/doc/source/stylesheets/highlight/googlecode.css +147 -0
- data/doc/source/stylesheets/highlight/hybrid.css +170 -0
- data/doc/source/stylesheets/highlight/idea.css +125 -0
- data/doc/source/stylesheets/highlight/ir_black.css +109 -0
- data/doc/source/stylesheets/highlight/kimbie.dark.css +96 -0
- data/doc/source/stylesheets/highlight/kimbie.light.css +96 -0
- data/doc/source/stylesheets/highlight/magula.css +121 -0
- data/doc/source/stylesheets/highlight/mono-blue.css +69 -0
- data/doc/source/stylesheets/highlight/monokai.css +127 -0
- data/doc/source/stylesheets/highlight/monokai_sublime.css +154 -0
- data/doc/source/stylesheets/highlight/obsidian.css +153 -0
- data/doc/source/stylesheets/highlight/paraiso.dark.css +95 -0
- data/doc/source/stylesheets/highlight/paraiso.light.css +95 -0
- data/doc/source/stylesheets/highlight/pojoaque.css +107 -0
- data/doc/source/stylesheets/highlight/pojoaque.jpg +0 -0
- data/doc/source/stylesheets/highlight/railscasts.css +187 -0
- data/doc/source/stylesheets/highlight/rainbow.css +108 -0
- data/doc/source/stylesheets/highlight/school_book.css +112 -0
- data/doc/source/stylesheets/highlight/school_book.png +0 -0
- data/doc/source/stylesheets/highlight/solarized_dark.css +108 -0
- data/doc/source/stylesheets/highlight/solarized_light.css +108 -0
- data/doc/source/stylesheets/highlight/sunburst.css +164 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-blue.css +95 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-bright.css +94 -0
- data/doc/source/stylesheets/highlight/tomorrow-night-eighties.css +94 -0
- data/doc/source/stylesheets/highlight/tomorrow-night.css +95 -0
- data/doc/source/stylesheets/highlight/tomorrow.css +92 -0
- data/doc/source/stylesheets/highlight/vs.css +93 -0
- data/doc/source/stylesheets/highlight/xcode.css +158 -0
- data/doc/source/stylesheets/highlight/zenburn.css +118 -0
- data/doc/source/why/a_larger_view.html.rb +774 -0
- data/doc/source/why/a_simple_helper.html.rb +332 -0
- data/doc/source/why/building_a_rich_modal_dialog.html.rb +156 -0
- data/doc/source/why/commonality_and_inheritance.html.rb +564 -0
- data/doc/source/why/example_list.rb +60 -0
- data/doc/source/why/example_page.rb +116 -0
- data/doc/source/why/index.html.rb +86 -0
- data/doc/source/why/other_benefits.html.rb +110 -0
- data/fortitude.gemspec +6 -1
- data/lib/fortitude/doctypes/html4_tags_strict.rb +1 -0
- data/lib/fortitude/doctypes/html5.rb +1 -0
- data/lib/fortitude/method_templates/tag_method_template.rb.smpl +27 -14
- data/lib/fortitude/rails/helpers.rb +2 -2
- data/lib/fortitude/rendering_context.rb +10 -1
- data/lib/fortitude/tags/tag.rb +3 -2
- data/lib/fortitude/tags/tag_support.rb +8 -3
- data/lib/fortitude/tilt/fortitude_template.rb +6 -2
- data/lib/fortitude/version.rb +1 -1
- data/lib/fortitude/widget.rb +2 -0
- data/lib/fortitude/widget/convenience.rb +30 -0
- data/lib/fortitude/widget/files.rb +22 -11
- data/lib/fortitude/widget/needs.rb +5 -3
- data/spec/helpers/system_helpers.rb +1 -0
- data/spec/rails/development_mode_system_spec.rb +0 -1
- data/spec/rails/rendering_system_spec.rb +20 -1
- data/spec/rails/templates/rendering_system_spec/app/controllers/rendering_system_spec_controller.rb +13 -0
- data/spec/rails/templates/rendering_system_spec/app/views/rendering_system_spec/render_hash_subclass.rb +18 -0
- data/spec/rails/templates/rendering_system_spec/lib/my_hash.rb +5 -0
- data/spec/system/convenience_methods_system_spec.rb +166 -0
- data/spec/system/formatting_system_spec.rb +25 -1
- data/spec/system/tag_rendering_system_spec.rb +73 -0
- data/spec/system/tilt_system_spec.rb +31 -0
- data/spec/system/widget_class_from_spec.rb +20 -4
- metadata +91 -4
@@ -0,0 +1,52 @@
|
|
1
|
+
/*
|
2
|
+
|
3
|
+
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
|
+
|
5
|
+
*/
|
6
|
+
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: white;
|
12
|
+
color: black;
|
13
|
+
-webkit-text-size-adjust: none;
|
14
|
+
}
|
15
|
+
|
16
|
+
.hljs-string,
|
17
|
+
.hljs-tag .hljs-value,
|
18
|
+
.hljs-filter .hljs-argument,
|
19
|
+
.hljs-addition,
|
20
|
+
.hljs-change,
|
21
|
+
.apache .hljs-tag,
|
22
|
+
.apache .hljs-cbracket,
|
23
|
+
.nginx .hljs-built_in,
|
24
|
+
.tex .hljs-formula {
|
25
|
+
color: #888;
|
26
|
+
}
|
27
|
+
|
28
|
+
.hljs-comment,
|
29
|
+
.hljs-shebang,
|
30
|
+
.hljs-doctype,
|
31
|
+
.hljs-pi,
|
32
|
+
.hljs-javadoc,
|
33
|
+
.hljs-deletion,
|
34
|
+
.apache .hljs-sqbracket {
|
35
|
+
color: #ccc;
|
36
|
+
}
|
37
|
+
|
38
|
+
.hljs-keyword,
|
39
|
+
.hljs-tag .hljs-title,
|
40
|
+
.ini .hljs-title,
|
41
|
+
.lisp .hljs-title,
|
42
|
+
.http .hljs-title,
|
43
|
+
.nginx .hljs-title,
|
44
|
+
.css .hljs-tag,
|
45
|
+
.hljs-winutils,
|
46
|
+
.hljs-flow,
|
47
|
+
.apache .hljs-tag,
|
48
|
+
.tex .hljs-command,
|
49
|
+
.hljs-request,
|
50
|
+
.hljs-status {
|
51
|
+
font-weight: bold;
|
52
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Dune Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Dune Dark Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #999580;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Dune Dark 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: #d73737;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Dune Dark 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: #b65611;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Dune Dark Yellow */
|
40
|
+
.ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #cfb017;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Dune Dark Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #60ac39;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Dune Dark Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #1fad83;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Dune Dark 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: #6684e1;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Dune Dark Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #b854d4;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #292824;
|
82
|
+
color: #a6a28c;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Dune Light - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/dune) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Dune Light Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #7d7a68;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Dune Light 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: #d73737;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Dune Light 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: #b65611;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Dune Light Yellow */
|
40
|
+
.hljs-ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #cfb017;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Dune Light Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #60ac39;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Dune Light Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #1fad83;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Dune Light 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: #6684e1;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Dune Light Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #b854d4;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #fefbec;
|
82
|
+
color: #6e6b5e;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Forest Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Forest Dark Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #9c9491;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Forest Dark 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: #f22c40;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Forest Dark 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: #df5320;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Forest Dark Yellow */
|
40
|
+
.hljs-ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #d5911a;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Forest Dark Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #5ab738;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Forest Dark Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #00ad9c;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Forest Dark 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: #407ee7;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Forest Dark Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #6666ea;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #2c2421;
|
82
|
+
color: #a8a19f;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Forest Light - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/forest) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Forest Light Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #766e6b;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Forest Light 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: #f22c40;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Forest Light 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: #df5320;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Forest Light Yellow */
|
40
|
+
.hljs-ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #d5911a;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Forest Light Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #5ab738;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Forest Light Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #00ad9c;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Forest Light 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: #407ee7;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Forest Light Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #6666ea;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #f1efee;
|
82
|
+
color: #68615e;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|
@@ -0,0 +1,95 @@
|
|
1
|
+
/* Base16 Atelier Heath Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/heath) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
/* https://github.com/jmblog/color-themes-for-highlightjs */
|
5
|
+
|
6
|
+
/* Atelier Heath Dark Comment */
|
7
|
+
.hljs-comment,
|
8
|
+
.hljs-title {
|
9
|
+
color: #9e8f9e;
|
10
|
+
}
|
11
|
+
|
12
|
+
/* Atelier Heath Dark 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: #ca402b;
|
26
|
+
}
|
27
|
+
|
28
|
+
/* Atelier Heath Dark 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: #a65926;
|
37
|
+
}
|
38
|
+
|
39
|
+
/* Atelier Heath Dark Yellow */
|
40
|
+
.hljs-ruby .hljs-class .hljs-title,
|
41
|
+
.css .hljs-rules .hljs-attribute {
|
42
|
+
color: #bb8a35;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* Atelier Heath Dark Green */
|
46
|
+
.hljs-string,
|
47
|
+
.hljs-value,
|
48
|
+
.hljs-inheritance,
|
49
|
+
.hljs-header,
|
50
|
+
.ruby .hljs-symbol,
|
51
|
+
.xml .hljs-cdata {
|
52
|
+
color: #379a37;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Atelier Heath Dark Aqua */
|
56
|
+
.css .hljs-hexcolor {
|
57
|
+
color: #159393;
|
58
|
+
}
|
59
|
+
|
60
|
+
/* Atelier Heath Dark 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: #516aec;
|
70
|
+
}
|
71
|
+
|
72
|
+
/* Atelier Heath Dark Purple */
|
73
|
+
.hljs-keyword,
|
74
|
+
.javascript .hljs-function {
|
75
|
+
color: #7b59c0;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs {
|
79
|
+
display: block;
|
80
|
+
overflow-x: auto;
|
81
|
+
background: #292329;
|
82
|
+
color: #ab9bab;
|
83
|
+
padding: 0.5em;
|
84
|
+
-webkit-text-size-adjust: none;
|
85
|
+
}
|
86
|
+
|
87
|
+
.coffeescript .javascript,
|
88
|
+
.javascript .xml,
|
89
|
+
.tex .hljs-formula,
|
90
|
+
.xml .javascript,
|
91
|
+
.xml .vbscript,
|
92
|
+
.xml .css,
|
93
|
+
.xml .hljs-cdata {
|
94
|
+
opacity: 0.5;
|
95
|
+
}
|