apitome 0.0.8 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT.LICENSE +2 -2
- data/README.md +99 -40
- data/app/assets/javascripts/apitome/application.js +16 -0
- data/app/assets/stylesheets/apitome/application.css +10 -0
- data/app/controllers/apitome/docs_controller.rb +83 -45
- data/app/helpers/apitome/docs_helper.rb +19 -0
- data/app/views/apitome/docs/_all_examples.html.erb +6 -2
- data/app/views/apitome/docs/_body.html.erb +1 -1
- data/app/views/apitome/docs/_curl.html.erb +1 -1
- data/app/views/apitome/docs/_endpoint.html.erb +4 -0
- data/app/views/apitome/docs/_example.html.erb +10 -6
- data/app/views/apitome/docs/_explanation.html.erb +3 -3
- data/app/views/apitome/docs/_headers.html.erb +6 -4
- data/app/views/apitome/docs/_navigation.html.erb +14 -10
- data/app/views/apitome/docs/_params.html.erb +4 -4
- data/app/views/apitome/docs/_query.html.erb +1 -1
- data/app/views/apitome/docs/_resource_explanation.html.erb +3 -0
- data/app/views/apitome/docs/_response_fields.html.erb +1 -1
- data/app/views/apitome/docs/_route.html.erb +1 -1
- data/app/views/apitome/docs/_status.html.erb +1 -1
- data/app/views/apitome/docs/index.html.erb +11 -6
- data/app/views/apitome/docs/show.html.erb +2 -1
- data/app/views/layouts/apitome/application.html.erb +4 -4
- data/config/locales/en.yml +14 -11
- data/config/locales/es.yml +14 -10
- data/lib/apitome.rb +5 -5
- data/lib/apitome/configuration.rb +36 -15
- data/lib/apitome/engine.rb +13 -7
- data/lib/apitome/exceptions.rb +5 -1
- data/lib/apitome/version.rb +1 -1
- data/lib/generators/apitome/install/POST_INSTALL +1 -1
- data/lib/generators/apitome/install/install_generator.rb +7 -8
- data/lib/generators/apitome/install/templates/initializer.rb +35 -13
- data/vendor/assets/javascripts/apitome/highlight.min.js +2 -1
- data/vendor/assets/stylesheets/apitome/highlight_themes/agate.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/androidstudio.css +66 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/arduino-light.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/arta.css +41 -126
- data/vendor/assets/stylesheets/apitome/highlight_themes/ascetic.css +31 -36
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-dark.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-cave-light.css +85 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-dune-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-estuary-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-forest-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-heath-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-lakeside-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-plateau-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-savanna-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-seaside-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-dark.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/atelier-sulphurpool-light.css +69 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/brown-paper.css +64 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/{brown_papersq.png → brown-papersq.png} +0 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/codepen-embed.css +60 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/color-brewer.css +71 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/dark.css +41 -81
- data/vendor/assets/stylesheets/apitome/highlight_themes/darkula.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/default.css +74 -110
- data/vendor/assets/stylesheets/apitome/highlight_themes/docco.css +97 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/dracula.css +76 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/far.css +46 -86
- data/vendor/assets/stylesheets/apitome/highlight_themes/foundation.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/github-gist.css +71 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/github.css +53 -81
- data/vendor/assets/stylesheets/apitome/highlight_themes/googlecode.css +48 -103
- data/vendor/assets/stylesheets/apitome/highlight_themes/grayscale.css +101 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-dark.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/gruvbox-light.css +108 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/hopscotch.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/hybrid.css +102 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/idea.css +40 -64
- data/vendor/assets/stylesheets/apitome/highlight_themes/ir-black.css +73 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.dark.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/kimbie.light.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/magula.css +36 -87
- data/vendor/assets/stylesheets/apitome/highlight_themes/mono-blue.css +59 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/monokai-sublime.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/monokai.css +50 -94
- data/vendor/assets/stylesheets/apitome/highlight_themes/obsidian.css +88 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-dark.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/paraiso-light.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/pojoaque.css +45 -66
- data/vendor/assets/stylesheets/apitome/highlight_themes/purebasic.css +96 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_dark.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/qtcreator_light.css +83 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/railscasts.css +106 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/rainbow.css +48 -77
- data/vendor/assets/stylesheets/apitome/highlight_themes/school-book.css +72 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/{school_book.png → school-book.png} +0 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-dark.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized-light.css +84 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/sunburst.css +55 -111
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-blue.css +75 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-bright.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night-eighties.css +74 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow-night.css +75 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow.css +43 -20
- data/vendor/assets/stylesheets/apitome/highlight_themes/vs.css +50 -68
- data/vendor/assets/stylesheets/apitome/highlight_themes/xcode.css +55 -116
- data/vendor/assets/stylesheets/apitome/highlight_themes/xt256.css +92 -0
- data/vendor/assets/stylesheets/apitome/highlight_themes/zenburn.css +49 -84
- metadata +80 -65
- data/config/routes.rb +0 -4
- data/spec/apitome/configuration_spec.rb +0 -0
- data/spec/apitome/engine_spec.rb +0 -0
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/config.ru +0 -15
- data/spec/dummy/config/application.rb +0 -16
- data/spec/dummy/config/boot.rb +0 -7
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -27
- data/spec/dummy/config/environments/test.rb +0 -29
- data/spec/dummy/config/initializers/apitome.rb +0 -44
- data/spec/dummy/config/routes.rb +0 -2
- data/spec/dummy/doc/api.md +0 -20
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +0 -6
- data/vendor/assets/stylesheets/apitome/highlight_themes/brown_paper.css +0 -104
- data/vendor/assets/stylesheets/apitome/highlight_themes/ir_black.css +0 -104
- data/vendor/assets/stylesheets/apitome/highlight_themes/school_book.css +0 -111
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_dark.css +0 -88
- data/vendor/assets/stylesheets/apitome/highlight_themes/solarized_light.css +0 -88
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night.css +0 -52
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_blue.css +0 -52
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_bright.css +0 -51
- data/vendor/assets/stylesheets/apitome/highlight_themes/tomorrow_night_eighties.css +0 -51
@@ -1,50 +1,45 @@
|
|
1
|
-
|
1
|
+
/*
|
2
2
|
|
3
3
|
Original style from softwaremaniacs.org (c) Ivan Sagalaev <Maniac@SoftwareManiacs.Org>
|
4
4
|
|
5
5
|
*/
|
6
6
|
|
7
|
-
|
8
|
-
display: block;
|
9
|
-
|
7
|
+
.hljs {
|
8
|
+
display: block;
|
9
|
+
overflow-x: auto;
|
10
|
+
padding: 0.5em;
|
11
|
+
background: white;
|
12
|
+
color: black;
|
10
13
|
}
|
11
14
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
.hljs-string,
|
16
|
+
.hljs-variable,
|
17
|
+
.hljs-template-variable,
|
18
|
+
.hljs-symbol,
|
19
|
+
.hljs-bullet,
|
20
|
+
.hljs-section,
|
21
|
+
.hljs-addition,
|
22
|
+
.hljs-attribute,
|
23
|
+
.hljs-link {
|
21
24
|
color: #888;
|
22
25
|
}
|
23
26
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
pre .javadoc,
|
30
|
-
pre .deletion,
|
31
|
-
pre .apache .sqbracket {
|
32
|
-
color: #CCC;
|
27
|
+
.hljs-comment,
|
28
|
+
.hljs-quote,
|
29
|
+
.hljs-meta,
|
30
|
+
.hljs-deletion {
|
31
|
+
color: #ccc;
|
33
32
|
}
|
34
33
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
pre .nginx .title,
|
42
|
-
pre .css .tag,
|
43
|
-
pre .winutils,
|
44
|
-
pre .flow,
|
45
|
-
pre .apache .tag,
|
46
|
-
pre .tex .command,
|
47
|
-
pre .request,
|
48
|
-
pre .status {
|
34
|
+
.hljs-keyword,
|
35
|
+
.hljs-selector-tag,
|
36
|
+
.hljs-section,
|
37
|
+
.hljs-name,
|
38
|
+
.hljs-type,
|
39
|
+
.hljs-strong {
|
49
40
|
font-weight: bold;
|
50
41
|
}
|
42
|
+
|
43
|
+
.hljs-emphasis {
|
44
|
+
font-style: italic;
|
45
|
+
}
|
@@ -0,0 +1,83 @@
|
|
1
|
+
/* Base16 Atelier Cave Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
|
5
|
+
/* Atelier-Cave Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #7e7887;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Atelier-Cave Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-regexp,
|
16
|
+
.hljs-link,
|
17
|
+
.hljs-tag,
|
18
|
+
.hljs-name,
|
19
|
+
.hljs-selector-id,
|
20
|
+
.hljs-selector-class {
|
21
|
+
color: #be4678;
|
22
|
+
}
|
23
|
+
|
24
|
+
/* Atelier-Cave Orange */
|
25
|
+
.hljs-number,
|
26
|
+
.hljs-meta,
|
27
|
+
.hljs-built_in,
|
28
|
+
.hljs-builtin-name,
|
29
|
+
.hljs-literal,
|
30
|
+
.hljs-type,
|
31
|
+
.hljs-params {
|
32
|
+
color: #aa573c;
|
33
|
+
}
|
34
|
+
|
35
|
+
/* Atelier-Cave Green */
|
36
|
+
.hljs-string,
|
37
|
+
.hljs-symbol,
|
38
|
+
.hljs-bullet {
|
39
|
+
color: #2a9292;
|
40
|
+
}
|
41
|
+
|
42
|
+
/* Atelier-Cave Blue */
|
43
|
+
.hljs-title,
|
44
|
+
.hljs-section {
|
45
|
+
color: #576ddb;
|
46
|
+
}
|
47
|
+
|
48
|
+
/* Atelier-Cave Purple */
|
49
|
+
.hljs-keyword,
|
50
|
+
.hljs-selector-tag {
|
51
|
+
color: #955ae7;
|
52
|
+
}
|
53
|
+
|
54
|
+
.hljs-deletion,
|
55
|
+
.hljs-addition {
|
56
|
+
color: #19171c;
|
57
|
+
display: inline-block;
|
58
|
+
width: 100%;
|
59
|
+
}
|
60
|
+
|
61
|
+
.hljs-deletion {
|
62
|
+
background-color: #be4678;
|
63
|
+
}
|
64
|
+
|
65
|
+
.hljs-addition {
|
66
|
+
background-color: #2a9292;
|
67
|
+
}
|
68
|
+
|
69
|
+
.hljs {
|
70
|
+
display: block;
|
71
|
+
overflow-x: auto;
|
72
|
+
background: #19171c;
|
73
|
+
color: #8b8792;
|
74
|
+
padding: 0.5em;
|
75
|
+
}
|
76
|
+
|
77
|
+
.hljs-emphasis {
|
78
|
+
font-style: italic;
|
79
|
+
}
|
80
|
+
|
81
|
+
.hljs-strong {
|
82
|
+
font-weight: bold;
|
83
|
+
}
|
@@ -0,0 +1,85 @@
|
|
1
|
+
/* Base16 Atelier Cave Light - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/cave) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
|
5
|
+
/* Atelier-Cave Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #655f6d;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Atelier-Cave Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-name,
|
17
|
+
.hljs-regexp,
|
18
|
+
.hljs-link,
|
19
|
+
.hljs-name,
|
20
|
+
.hljs-name,
|
21
|
+
.hljs-selector-id,
|
22
|
+
.hljs-selector-class {
|
23
|
+
color: #be4678;
|
24
|
+
}
|
25
|
+
|
26
|
+
/* Atelier-Cave Orange */
|
27
|
+
.hljs-number,
|
28
|
+
.hljs-meta,
|
29
|
+
.hljs-built_in,
|
30
|
+
.hljs-builtin-name,
|
31
|
+
.hljs-literal,
|
32
|
+
.hljs-type,
|
33
|
+
.hljs-params {
|
34
|
+
color: #aa573c;
|
35
|
+
}
|
36
|
+
|
37
|
+
/* Atelier-Cave Green */
|
38
|
+
.hljs-string,
|
39
|
+
.hljs-symbol,
|
40
|
+
.hljs-bullet {
|
41
|
+
color: #2a9292;
|
42
|
+
}
|
43
|
+
|
44
|
+
/* Atelier-Cave Blue */
|
45
|
+
.hljs-title,
|
46
|
+
.hljs-section {
|
47
|
+
color: #576ddb;
|
48
|
+
}
|
49
|
+
|
50
|
+
/* Atelier-Cave Purple */
|
51
|
+
.hljs-keyword,
|
52
|
+
.hljs-selector-tag {
|
53
|
+
color: #955ae7;
|
54
|
+
}
|
55
|
+
|
56
|
+
.hljs-deletion,
|
57
|
+
.hljs-addition {
|
58
|
+
color: #19171c;
|
59
|
+
display: inline-block;
|
60
|
+
width: 100%;
|
61
|
+
}
|
62
|
+
|
63
|
+
.hljs-deletion {
|
64
|
+
background-color: #be4678;
|
65
|
+
}
|
66
|
+
|
67
|
+
.hljs-addition {
|
68
|
+
background-color: #2a9292;
|
69
|
+
}
|
70
|
+
|
71
|
+
.hljs {
|
72
|
+
display: block;
|
73
|
+
overflow-x: auto;
|
74
|
+
background: #efecf4;
|
75
|
+
color: #585260;
|
76
|
+
padding: 0.5em;
|
77
|
+
}
|
78
|
+
|
79
|
+
.hljs-emphasis {
|
80
|
+
font-style: italic;
|
81
|
+
}
|
82
|
+
|
83
|
+
.hljs-strong {
|
84
|
+
font-weight: bold;
|
85
|
+
}
|
@@ -0,0 +1,69 @@
|
|
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
|
+
|
5
|
+
/* Atelier-Dune Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #999580;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Atelier-Dune Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-name,
|
17
|
+
.hljs-regexp,
|
18
|
+
.hljs-link,
|
19
|
+
.hljs-name,
|
20
|
+
.hljs-selector-id,
|
21
|
+
.hljs-selector-class {
|
22
|
+
color: #d73737;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Atelier-Dune Orange */
|
26
|
+
.hljs-number,
|
27
|
+
.hljs-meta,
|
28
|
+
.hljs-built_in,
|
29
|
+
.hljs-builtin-name,
|
30
|
+
.hljs-literal,
|
31
|
+
.hljs-type,
|
32
|
+
.hljs-params {
|
33
|
+
color: #b65611;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Atelier-Dune Green */
|
37
|
+
.hljs-string,
|
38
|
+
.hljs-symbol,
|
39
|
+
.hljs-bullet {
|
40
|
+
color: #60ac39;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Atelier-Dune Blue */
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-section {
|
46
|
+
color: #6684e1;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Atelier-Dune Purple */
|
50
|
+
.hljs-keyword,
|
51
|
+
.hljs-selector-tag {
|
52
|
+
color: #b854d4;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs {
|
56
|
+
display: block;
|
57
|
+
overflow-x: auto;
|
58
|
+
background: #20201d;
|
59
|
+
color: #a6a28c;
|
60
|
+
padding: 0.5em;
|
61
|
+
}
|
62
|
+
|
63
|
+
.hljs-emphasis {
|
64
|
+
font-style: italic;
|
65
|
+
}
|
66
|
+
|
67
|
+
.hljs-strong {
|
68
|
+
font-weight: bold;
|
69
|
+
}
|
@@ -0,0 +1,69 @@
|
|
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
|
+
|
5
|
+
/* Atelier-Dune Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #7d7a68;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Atelier-Dune Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-name,
|
17
|
+
.hljs-regexp,
|
18
|
+
.hljs-link,
|
19
|
+
.hljs-name,
|
20
|
+
.hljs-selector-id,
|
21
|
+
.hljs-selector-class {
|
22
|
+
color: #d73737;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Atelier-Dune Orange */
|
26
|
+
.hljs-number,
|
27
|
+
.hljs-meta,
|
28
|
+
.hljs-built_in,
|
29
|
+
.hljs-builtin-name,
|
30
|
+
.hljs-literal,
|
31
|
+
.hljs-type,
|
32
|
+
.hljs-params {
|
33
|
+
color: #b65611;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Atelier-Dune Green */
|
37
|
+
.hljs-string,
|
38
|
+
.hljs-symbol,
|
39
|
+
.hljs-bullet {
|
40
|
+
color: #60ac39;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Atelier-Dune Blue */
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-section {
|
46
|
+
color: #6684e1;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Atelier-Dune Purple */
|
50
|
+
.hljs-keyword,
|
51
|
+
.hljs-selector-tag {
|
52
|
+
color: #b854d4;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs {
|
56
|
+
display: block;
|
57
|
+
overflow-x: auto;
|
58
|
+
background: #fefbec;
|
59
|
+
color: #6e6b5e;
|
60
|
+
padding: 0.5em;
|
61
|
+
}
|
62
|
+
|
63
|
+
.hljs-emphasis {
|
64
|
+
font-style: italic;
|
65
|
+
}
|
66
|
+
|
67
|
+
.hljs-strong {
|
68
|
+
font-weight: bold;
|
69
|
+
}
|
@@ -0,0 +1,84 @@
|
|
1
|
+
/* Base16 Atelier Estuary Dark - Theme */
|
2
|
+
/* by Bram de Haan (http://atelierbram.github.io/syntax-highlighting/atelier-schemes/estuary) */
|
3
|
+
/* Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16) */
|
4
|
+
|
5
|
+
/* Atelier-Estuary Comment */
|
6
|
+
.hljs-comment,
|
7
|
+
.hljs-quote {
|
8
|
+
color: #878573;
|
9
|
+
}
|
10
|
+
|
11
|
+
/* Atelier-Estuary Red */
|
12
|
+
.hljs-variable,
|
13
|
+
.hljs-template-variable,
|
14
|
+
.hljs-attribute,
|
15
|
+
.hljs-tag,
|
16
|
+
.hljs-name,
|
17
|
+
.hljs-regexp,
|
18
|
+
.hljs-link,
|
19
|
+
.hljs-name,
|
20
|
+
.hljs-selector-id,
|
21
|
+
.hljs-selector-class {
|
22
|
+
color: #ba6236;
|
23
|
+
}
|
24
|
+
|
25
|
+
/* Atelier-Estuary Orange */
|
26
|
+
.hljs-number,
|
27
|
+
.hljs-meta,
|
28
|
+
.hljs-built_in,
|
29
|
+
.hljs-builtin-name,
|
30
|
+
.hljs-literal,
|
31
|
+
.hljs-type,
|
32
|
+
.hljs-params {
|
33
|
+
color: #ae7313;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Atelier-Estuary Green */
|
37
|
+
.hljs-string,
|
38
|
+
.hljs-symbol,
|
39
|
+
.hljs-bullet {
|
40
|
+
color: #7d9726;
|
41
|
+
}
|
42
|
+
|
43
|
+
/* Atelier-Estuary Blue */
|
44
|
+
.hljs-title,
|
45
|
+
.hljs-section {
|
46
|
+
color: #36a166;
|
47
|
+
}
|
48
|
+
|
49
|
+
/* Atelier-Estuary Purple */
|
50
|
+
.hljs-keyword,
|
51
|
+
.hljs-selector-tag {
|
52
|
+
color: #5f9182;
|
53
|
+
}
|
54
|
+
|
55
|
+
.hljs-deletion,
|
56
|
+
.hljs-addition {
|
57
|
+
color: #22221b;
|
58
|
+
display: inline-block;
|
59
|
+
width: 100%;
|
60
|
+
}
|
61
|
+
|
62
|
+
.hljs-deletion {
|
63
|
+
background-color: #ba6236;
|
64
|
+
}
|
65
|
+
|
66
|
+
.hljs-addition {
|
67
|
+
background-color: #7d9726;
|
68
|
+
}
|
69
|
+
|
70
|
+
.hljs {
|
71
|
+
display: block;
|
72
|
+
overflow-x: auto;
|
73
|
+
background: #22221b;
|
74
|
+
color: #929181;
|
75
|
+
padding: 0.5em;
|
76
|
+
}
|
77
|
+
|
78
|
+
.hljs-emphasis {
|
79
|
+
font-style: italic;
|
80
|
+
}
|
81
|
+
|
82
|
+
.hljs-strong {
|
83
|
+
font-weight: bold;
|
84
|
+
}
|