jekyll-theme-adobe-hyde 0.2.1

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 (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +201 -0
  3. data/README.md +59 -0
  4. data/_includes/associated_classes.html +4 -0
  5. data/_includes/associated_enumerations.html +4 -0
  6. data/_includes/associated_fields.html +24 -0
  7. data/_includes/associated_functions.html +4 -0
  8. data/_includes/associated_libraries.html +6 -0
  9. data/_includes/associated_methods.html +4 -0
  10. data/_includes/associated_typedefs.html +24 -0
  11. data/_includes/breadcrumb.html +32 -0
  12. data/_includes/defined_in_header.html +3 -0
  13. data/_includes/example_table.html +33 -0
  14. data/_includes/external_examples.html +32 -0
  15. data/_includes/figure.md +26 -0
  16. data/_includes/footer.html +20 -0
  17. data/_includes/head.html +22 -0
  18. data/_includes/header.html +26 -0
  19. data/_includes/icon-github.html +1 -0
  20. data/_includes/icon-github.svg +1 -0
  21. data/_includes/icon-twitter.html +1 -0
  22. data/_includes/icon-twitter.svg +1 -0
  23. data/_includes/overloads.html +49 -0
  24. data/_includes/theme.html +81 -0
  25. data/_includes/top-bar.html +11 -0
  26. data/_layouts/class.html +49 -0
  27. data/_layouts/default.html +27 -0
  28. data/_layouts/directory.html +5 -0
  29. data/_layouts/eng_index.html +13 -0
  30. data/_layouts/enumeration.html +35 -0
  31. data/_layouts/function.html +56 -0
  32. data/_layouts/library.html +26 -0
  33. data/_layouts/method.html +5 -0
  34. data/_layouts/page.html +31 -0
  35. data/_layouts/post.html +32 -0
  36. data/_sass/_base.scss +201 -0
  37. data/_sass/_layout.scss +762 -0
  38. data/_sass/_main.scss +38 -0
  39. data/_sass/_syntax-highlighting-base.scss +34 -0
  40. data/_sass/_syntax-highlighting-dark.scss +71 -0
  41. data/_sass/_syntax-highlighting-light.scss +71 -0
  42. data/_sass/_syntax-highlighting.scss +75 -0
  43. data/_sass/jekyll-theme-adobe-hyde.scss +474 -0
  44. data/_sass/rouge-github.scss +209 -0
  45. data/assets/css/main-dark.scss +60 -0
  46. data/assets/css/main-light.scss +65 -0
  47. data/assets/images/bg_hr.png +0 -0
  48. data/assets/images/blacktocat.png +0 -0
  49. data/assets/images/icon_download.png +0 -0
  50. data/assets/images/sprite_download.png +0 -0
  51. data/assets/scripts/indices.js +259 -0
  52. metadata +149 -0
@@ -0,0 +1,209 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight .cm {
4
+ color: #777772;
5
+ font-style: italic;
6
+ }
7
+ .highlight .cp {
8
+ color: #797676;
9
+ font-weight: bold;
10
+ }
11
+ .highlight .c1 {
12
+ color: #777772;
13
+ font-style: italic;
14
+ }
15
+ .highlight .cs {
16
+ color: #797676;
17
+ font-weight: bold;
18
+ font-style: italic;
19
+ }
20
+ .highlight .c, .highlight .cd {
21
+ color: #777772;
22
+ font-style: italic;
23
+ }
24
+ .highlight .err {
25
+ color: #a61717;
26
+ background-color: #e3d2d2;
27
+ }
28
+ .highlight .gd {
29
+ color: #000000;
30
+ background-color: #ffdddd;
31
+ }
32
+ .highlight .ge {
33
+ color: #000000;
34
+ font-style: italic;
35
+ }
36
+ .highlight .gr {
37
+ color: #aa0000;
38
+ }
39
+ .highlight .gh {
40
+ color: #797676;
41
+ }
42
+ .highlight .gi {
43
+ color: #000000;
44
+ background-color: #ddffdd;
45
+ }
46
+ .highlight .go {
47
+ color: #888888;
48
+ }
49
+ .highlight .gp {
50
+ color: #555555;
51
+ }
52
+ .highlight .gs {
53
+ font-weight: bold;
54
+ }
55
+ .highlight .gu {
56
+ color: #aaaaaa;
57
+ }
58
+ .highlight .gt {
59
+ color: #aa0000;
60
+ }
61
+ .highlight .kc {
62
+ color: #000000;
63
+ font-weight: bold;
64
+ }
65
+ .highlight .kd {
66
+ color: #000000;
67
+ font-weight: bold;
68
+ }
69
+ .highlight .kn {
70
+ color: #000000;
71
+ font-weight: bold;
72
+ }
73
+ .highlight .kp {
74
+ color: #000000;
75
+ font-weight: bold;
76
+ }
77
+ .highlight .kr {
78
+ color: #000000;
79
+ font-weight: bold;
80
+ }
81
+ .highlight .kt {
82
+ color: #445588;
83
+ font-weight: bold;
84
+ }
85
+ .highlight .k, .highlight .kv {
86
+ color: #000000;
87
+ font-weight: bold;
88
+ }
89
+ .highlight .mf {
90
+ color: #009999;
91
+ }
92
+ .highlight .mh {
93
+ color: #009999;
94
+ }
95
+ .highlight .il {
96
+ color: #009999;
97
+ }
98
+ .highlight .mi {
99
+ color: #009999;
100
+ }
101
+ .highlight .mo {
102
+ color: #009999;
103
+ }
104
+ .highlight .m, .highlight .mb, .highlight .mx {
105
+ color: #009999;
106
+ }
107
+ .highlight .sb {
108
+ color: #d14;
109
+ }
110
+ .highlight .sc {
111
+ color: #d14;
112
+ }
113
+ .highlight .sd {
114
+ color: #d14;
115
+ }
116
+ .highlight .s2 {
117
+ color: #d14;
118
+ }
119
+ .highlight .se {
120
+ color: #d14;
121
+ }
122
+ .highlight .sh {
123
+ color: #d14;
124
+ }
125
+ .highlight .si {
126
+ color: #d14;
127
+ }
128
+ .highlight .sx {
129
+ color: #d14;
130
+ }
131
+ .highlight .sr {
132
+ color: #009926;
133
+ }
134
+ .highlight .s1 {
135
+ color: #d14;
136
+ }
137
+ .highlight .ss {
138
+ color: #990073;
139
+ }
140
+ .highlight .s {
141
+ color: #d14;
142
+ }
143
+ .highlight .na {
144
+ color: #008080;
145
+ }
146
+ .highlight .bp {
147
+ color: #797676;
148
+ }
149
+ .highlight .nb {
150
+ color: #0086B3;
151
+ }
152
+ .highlight .nc {
153
+ color: #445588;
154
+ font-weight: bold;
155
+ }
156
+ .highlight .no {
157
+ color: #008080;
158
+ }
159
+ .highlight .nd {
160
+ color: #3c5d5d;
161
+ font-weight: bold;
162
+ }
163
+ .highlight .ni {
164
+ color: #800080;
165
+ }
166
+ .highlight .ne {
167
+ color: #990000;
168
+ font-weight: bold;
169
+ }
170
+ .highlight .nf {
171
+ color: #990000;
172
+ font-weight: bold;
173
+ }
174
+ .highlight .nl {
175
+ color: #990000;
176
+ font-weight: bold;
177
+ }
178
+ .highlight .nn {
179
+ color: #555555;
180
+ }
181
+ .highlight .nt {
182
+ color: #000080;
183
+ }
184
+ .highlight .vc {
185
+ color: #008080;
186
+ }
187
+ .highlight .vg {
188
+ color: #008080;
189
+ }
190
+ .highlight .vi {
191
+ color: #008080;
192
+ }
193
+ .highlight .nv {
194
+ color: #008080;
195
+ }
196
+ .highlight .ow {
197
+ color: #000000;
198
+ font-weight: bold;
199
+ }
200
+ .highlight .o {
201
+ color: #000000;
202
+ font-weight: bold;
203
+ }
204
+ .highlight .w {
205
+ color: #bbbbbb;
206
+ }
207
+ .highlight {
208
+ background-color: #f8f8f8;
209
+ }
@@ -0,0 +1,60 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ // Our variables
7
+ $hyde-primary: #006000;
8
+ $site-grey-color: #949597;
9
+ $text-color: #d4d4d4;
10
+ $background-color: #1e1e1e;
11
+ $link-color: #3690f8;
12
+
13
+ $site-menu-background-color: inherit;
14
+ $site-menu-border-color: transparent;
15
+ $site-menu-fill-color: $text-color;
16
+ $site-nav-link-color: $text-color;
17
+
18
+ {% if site.adobe_hyde.header_image %}
19
+ $header-image: url({{ site.adobe_hyde.header_image | prepend: site.baseurl }});
20
+ {% endif %}
21
+ $header-background-color: #292929;
22
+ $header-border-color: transparent;
23
+
24
+ $footer-background-color: #292929;
25
+ $footer-border-color: transparent;
26
+
27
+ $icon-fill-color: $site-grey-color;
28
+ $icon-primary-color: $site-grey-color;
29
+ $icon-text-color: $site-grey-color;
30
+ $icon-secondary-color: white;
31
+ $icon-border-color: transparent;
32
+ $icon-hover-primary-color: $hyde-primary;
33
+ $icon-hover-text-color: $hyde-primary;
34
+ $icon-hover-secondary-color: white;
35
+ $icon-hover-border-color: transparent;
36
+
37
+ $footer-text-color: $site-grey-color;
38
+ $footer-link-color: $site-grey-color;
39
+
40
+ $post-meta-text-color: $site-grey-color;
41
+
42
+ $table-separator-color: #505050;
43
+
44
+ $quote-accent-color: #3c3f46;
45
+ $quote-text-color: $text-color;
46
+ $quote-background-color: #292929;
47
+
48
+ $inline-code-accent-color: $background-color;
49
+ $inline-code-text-color: #d7ba7d;
50
+ $inline-code-background-color: $background-color;
51
+
52
+ $embedded-code-accent-color: inherit;
53
+ $embedded-code-text-color: $text-color;
54
+ $embedded-code-background-color: #161616;
55
+
56
+ // Import partials from `sass_dir` (defaults to `_sass`)
57
+ @import
58
+ "main",
59
+ "syntax-highlighting-dark"
60
+ ;
@@ -0,0 +1,65 @@
1
+ ---
2
+ # Only the main Sass file needs front matter (the dashes are enough)
3
+ ---
4
+ @charset "utf-8";
5
+
6
+ // Our variables
7
+ $hyde-primary: #006000;
8
+ $site-grey-color: #949597;
9
+ $site-grey-color-light: lighten($site-grey-color, 35%);
10
+ $site-grey-color-dark: darken($site-grey-color, 25%);
11
+ $text-color: #333;
12
+ $background-color: white;
13
+ $link-color: $hyde-primary;
14
+
15
+ $site-menu-background-color: inherit;
16
+ $site-menu-border-color: transparent;
17
+ $site-menu-fill-color: $site-grey-color-dark;
18
+ $site-nav-link-color: $hyde-primary;
19
+
20
+ {% if site.adobe_hyde.header_image %}
21
+ $header-image: url({{ site.adobe_hyde.header_image | prepend: site.baseurl }});
22
+ {% endif %}
23
+ $header-background-color: #e4e4e4;
24
+ $header-border-color: transparent;
25
+
26
+ $footer-background-color: #e4e4e4;
27
+ $footer-border-color: transparent;
28
+
29
+ $icon-fill-color: $hyde-primary;
30
+ $icon-primary-color: $hyde-primary;
31
+ $icon-text-color: $hyde-primary;
32
+ $icon-secondary-color: white;
33
+ $icon-border-color: $site-grey-color;
34
+ $icon-hover-primary-color: $site-grey-color;
35
+ $icon-hover-text-color: $site-grey-color;
36
+ $icon-hover-secondary-color: white;
37
+ $icon-hover-border-color: $site-grey-color;
38
+
39
+ $footer-text-color: $site-grey-color;
40
+ $footer-link-color: $site-grey-color;
41
+
42
+ $post-meta-text-color: $site-grey-color;
43
+
44
+ $table-separator-color: $site-grey-color-light;
45
+
46
+ $highlight-background-color: #f0f0f0;
47
+ $highlight-accent-color: #dbdbdb;
48
+
49
+ $quote-accent-color: $highlight-accent-color;
50
+ $quote-text-color: $text-color;
51
+ $quote-background-color: $highlight-background-color;
52
+
53
+ $inline-code-accent-color: $highlight-background-color;
54
+ $inline-code-text-color: $text-color;
55
+ $inline-code-background-color: $highlight-background-color;
56
+
57
+ $embedded-code-accent-color: $highlight-background-color;
58
+ $embedded-code-text-color: $text-color;
59
+ $embedded-code-background-color: $highlight-background-color;
60
+
61
+ // Import partials from `sass_dir` (defaults to `_sass`)
62
+ @import
63
+ "main",
64
+ "syntax-highlighting-light"
65
+ ;
Binary file
@@ -0,0 +1,259 @@
1
+ ---
2
+ ---
3
+ /*
4
+ Copyright 2020 Adobe. All rights reserved.
5
+ This file is licensed to you under the Apache License, Version 2.0 (the "License");
6
+ you may not use this file except in compliance with the License. You may obtain a copy
7
+ of the License at http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software distributed under
10
+ the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
11
+ OF ANY KIND, either express or implied. See the License for the specific language
12
+ governing permissions and limitations under the License.
13
+ */
14
+
15
+ {% assign siblings = site.pages | group_by_exp: "e", "e.url | split: '/' | pop | join: '/' | append: '/'" | sort: "name" %}
16
+
17
+ window.hyde_index = {
18
+ {% for sibling in siblings %}
19
+ {% assign layouts = sibling.items | group_by: "layout" | sort: "name" %}
20
+ {{ sibling.name | jsonify }}: {
21
+ {% for layout in layouts %}
22
+ {% case layout.name %}
23
+ {% when "directory" %}
24
+ {% assign directories = layout.items | sort: "title" %}
25
+ "directory": `<h3>Directories</h3>
26
+ <table class='associated-table'>
27
+ {% for p in directories %}
28
+ <tr>
29
+ <td class='name'>
30
+ <div><a href="{{p.url}}"><code>{{ p.title | escape }}</code></a></div>
31
+ </td>
32
+ <td class='brief'>
33
+ {%- if p.brief -%}
34
+ {{ p.brief | markdownify }}
35
+ {%- elsif p.description -%}
36
+ {{ p.description | markdownify }}
37
+ {%- else -%}
38
+ {{ '_No details given_' | markdownify }}
39
+ {%- endif -%}
40
+ {%- if p.annotation -%}
41
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
42
+ {%- endif -%}
43
+ </td>
44
+ </tr>
45
+ {% endfor %}
46
+ </table>`,
47
+ {% when "library" %}
48
+ {% assign sub_libs = layout.items | group_by: "library-type" | sort: "name" %}
49
+ {% for sub_lib in sub_libs %}
50
+ {% case sub_lib.name %}
51
+ {% when "sourcefile" %}
52
+ {% assign sourcefiles = sub_lib.items | sort: "title" %}
53
+ "sourcefile": `<h3>Sources</h3>
54
+ <table class='associated-table'>
55
+ {% for p in sourcefiles %}
56
+ <tr>
57
+ <td class='name'>
58
+ <div><a href="{{p.url | relative_url}}"><code>{{ p.title | escape }}</code></a></div>
59
+ </td>
60
+ <td class='brief'>
61
+ {% if p.brief %}
62
+ {{ p.brief | markdownify }}
63
+ {% elsif p.description %}
64
+ {{ p.description | markdownify }}
65
+ {% else %}
66
+ {{ '_No details given_' | markdownify }}
67
+ {% endif %}
68
+ {% if p.annotation %}
69
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
70
+ {% endif %}
71
+ </td>
72
+ </tr>
73
+ {% endfor %}
74
+ </table>`,
75
+ {% when "library" %}
76
+ {% assign libraries = sub_lib.items | sort: "title" %}
77
+ "library": `<h3>Subcomponents</h3>
78
+ <table class='associated-table'>
79
+ {% for p in libraries %}
80
+ <tr>
81
+ <td class='name'>
82
+ <div><a href="{{p.url | relative_url}}">{{ p.title | escape }}</a></div>
83
+ </td>
84
+ <td class='brief'>
85
+ {% if p.brief %}
86
+ {{ p.brief | markdownify }}
87
+ {% elsif p.description %}
88
+ {{ p.description | markdownify }}
89
+ {% else %}
90
+ {{ '_No details given_' | markdownify }}
91
+ {% endif %}
92
+ {% if p.annotation %}
93
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
94
+ {% endif %}
95
+ </td>
96
+ </tr>
97
+ {% endfor %}
98
+ </table>`,
99
+ {% endcase %}
100
+ {% endfor %}
101
+ {% when "class" %}
102
+ {% assign classes = layout.items | sort: "title" %}
103
+ "class": `<h3>Classes</h3>
104
+ <table class='associated-table'>
105
+ {% for p in classes %}
106
+ <tr>
107
+ <td class='name'>
108
+ <div><a href="{{p.url | relative_url}}">{{ p.title | escape }}</a></div>
109
+ </td>
110
+ <td class='brief'>
111
+ {% if p.brief %}
112
+ {{ p.brief | markdownify }}
113
+ {% elsif p.description %}
114
+ {{ p.description | markdownify }}
115
+ {% else %}
116
+ {{ '_No details given_' | markdownify }}
117
+ {% endif %}
118
+ {% if p.annotation %}
119
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
120
+ {% endif %}
121
+ </td>
122
+ </tr>
123
+ {% endfor %}
124
+ </table>`,
125
+ {% when "function" %}
126
+ {% assign functions = layout.items | sort: "title" %}
127
+ "function": `<h3>Functions</h3>
128
+ <table class='associated-table'>
129
+ {% for p in functions %}
130
+ <tr>
131
+ <td class='name'>
132
+ <div><a href="{{p.url | relative_url}}">{{ p.title | escape }}</a></div>
133
+ </td>
134
+ <td class='brief'>
135
+ {% if p.brief %}
136
+ {{ p.brief | markdownify }}
137
+ {% elsif p.description %}
138
+ {{ p.description | markdownify }}
139
+ {% else %}
140
+ {{ '_No details given_' | markdownify }}
141
+ {% endif %}
142
+ {% if p.annotation %}
143
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
144
+ {% endif %}
145
+ </td>
146
+ </tr>
147
+ {% endfor %}
148
+ </table>`,
149
+ {% when "method" %}
150
+ {% assign methods = layout.items %}
151
+ "method": `<h3>Member Functions</h3>
152
+ <table class='definition-table'>
153
+
154
+ {% for p in methods %}
155
+ {% if p.is_ctor %}
156
+ <tr>
157
+ <td class='decl' colspan='2'><a href='{{p.url | relative_url}}'>(constructor)</a></td>
158
+ </tr>
159
+ {% endif %}
160
+ {% endfor %}
161
+
162
+ {% for p in methods %}
163
+ {% if p.is_dtor %}
164
+ <tr>
165
+ <td class='decl' colspan='2'><a href='{{p.url | relative_url}}'>(destructor)</a></td>
166
+ </tr>
167
+ {% endif %}
168
+ {% endfor %}
169
+
170
+ {% for p in methods %}
171
+ {% if p.is_ctor or p.is_dtor %}
172
+ {% continue %}
173
+ {% endif %}
174
+
175
+ <tr>
176
+ <td class='decl'>
177
+ <div><a href="{{p.url | relative_url}}">{{ p.title | escape }}</a></div>
178
+ </td>
179
+ <td class='defn'>
180
+ {% if p.brief %}
181
+ {{ p.brief | markdownify}}
182
+ {% elsif p.description %}
183
+ {{ p.description | markdownify}}
184
+ {% else %}
185
+ {{ '_No details given_' | markdownify}}
186
+ {% endif %}
187
+ {% if p.annotation %}
188
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
189
+ {% endif %}
190
+ </td>
191
+ </tr>
192
+ {% endfor %}
193
+ </table>`,
194
+ {% when "enumeration" %}
195
+ {% assign enums = layout.items %}
196
+ "enumeration": `<h3>Enumerations</h3>
197
+ <table class='associated-table'>
198
+ {% for p in enums %}
199
+ <tr>
200
+ <td class='name'>
201
+ <div><a href="{{p.url | relative_url}}">{{ p.title | escape }}</a></div>
202
+ </td>
203
+ <td class='brief'>
204
+ {% if p.brief %}
205
+ {{ p.brief | markdownify}}
206
+ {% elsif p.description %}
207
+ {{ p.description | markdownify}}
208
+ {% else %}
209
+ {{ '_No details given_' | markdownify}}
210
+ {% endif %}
211
+ {% if p.annotation %}
212
+ <span class='annotation'>({{p.annotation | join: ", "}})</span>
213
+ {% endif %}
214
+ </td>
215
+ </tr>
216
+ {% endfor %}
217
+ </table>`,
218
+ {% when "page" %}
219
+ {% assign pages = layout.items | sort: "title" %}
220
+ "page": `{% for p in pages %}
221
+ <tr>
222
+ <td>
223
+ <i class="fa fa-book"></i>
224
+ </td>
225
+ <td>
226
+ <a href="{{ BASE_PATH }}{{ p.url }}">{{ p.title | markdownify }}</a>
227
+ </td>
228
+ </tr>
229
+ {% endfor %}`
230
+ {% when "eng_index" %}
231
+ {% assign subdocs = layout.items | sort: "title" %}
232
+ "eng_index":`{% for p in subdocs %}
233
+ <tr>
234
+ <td>
235
+ <i class="fa fa-folder"></i>
236
+ </td>
237
+ <td>
238
+ <a href="{{ BASE_PATH }}{{ p.url }}">{{ p.title | markdownify }}</a>
239
+ </td>
240
+ </tr>
241
+ {% endfor %}`
242
+
243
+ {% endcase %}
244
+ {% endfor %}
245
+ },
246
+ {%endfor%}
247
+ };
248
+
249
+ window.hyde_tabs = `
250
+ {% assign tabbed = site.pages | where_exp:"p","p.tab" | sort:"tab"%}
251
+ {% for p in tabbed %}
252
+ <a class="page-link" href="{{ p.url | prepend: site.baseurl }}">{{ p.tab }}</a>
253
+ {% endfor %}`;
254
+
255
+ window.hyde_title_index = {
256
+ {% for p in site.pages %}
257
+ {{ p.url | jsonify }}: {{ p.title | jsonify }},
258
+ {% endfor %}
259
+ };