just-the-docs-peter 0.1.0 → 0.1.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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1508 -0
  3. data/LICENSE.txt +21 -0
  4. data/README.md +110 -0
  5. data/Rakefile +1 -0
  6. data/_includes/components/aux_nav.html +15 -0
  7. data/_includes/components/breadcrumbs.html +43 -0
  8. data/_includes/components/children_nav.html +33 -0
  9. data/_includes/components/footer.html +34 -0
  10. data/_includes/components/header.html +11 -0
  11. data/_includes/components/mermaid.html +45 -0
  12. data/_includes/components/search_footer.html +7 -0
  13. data/_includes/components/search_header.html +9 -0
  14. data/_includes/components/sidebar.html +71 -0
  15. data/_includes/css/callouts.scss.liquid +93 -0
  16. data/_includes/css/custom.scss.liquid +1 -0
  17. data/_includes/css/just-the-docs.scss.liquid +12 -0
  18. data/_includes/fix_linenos.html +65 -0
  19. data/_includes/footer_custom.html +3 -0
  20. data/_includes/head.html +42 -0
  21. data/_includes/head_custom.html +0 -0
  22. data/_includes/header_custom.html +0 -0
  23. data/_includes/icons/code_copy.html +15 -0
  24. data/_includes/icons/document.html +6 -0
  25. data/_includes/icons/expand.html +6 -0
  26. data/_includes/icons/external_link.html +5 -0
  27. data/_includes/icons/icons.html +13 -0
  28. data/_includes/icons/link.html +6 -0
  29. data/_includes/icons/menu.html +6 -0
  30. data/_includes/icons/search.html +6 -0
  31. data/_includes/js/custom.js +0 -0
  32. data/_includes/lunr/custom-data.json +0 -0
  33. data/_includes/lunr/custom-index.js +0 -0
  34. data/_includes/mermaid_config.js +1 -0
  35. data/_includes/nav.html +106 -0
  36. data/_includes/nav_footer_custom.html +0 -0
  37. data/_includes/search_placeholder_custom.html +1 -0
  38. data/_includes/sorted_pages.html +95 -0
  39. data/_includes/title.html +5 -0
  40. data/_includes/toc_heading_custom.html +1 -0
  41. data/_includes/vendor/anchor_headings.html +172 -0
  42. data/_layouts/about.html +5 -0
  43. data/_layouts/default.html +41 -0
  44. data/_layouts/home.html +5 -0
  45. data/_layouts/minimal.html +34 -0
  46. data/_layouts/page.html +5 -0
  47. data/_layouts/post.html +5 -0
  48. data/_layouts/table_wrappers.html +7 -0
  49. data/_layouts/vendor/compress.html +10 -0
  50. data/_sass/base.scss +109 -0
  51. data/_sass/buttons.scss +123 -0
  52. data/_sass/code.scss +246 -0
  53. data/_sass/color_schemes/dark.scss +17 -0
  54. data/_sass/color_schemes/legacy_light.scss +208 -0
  55. data/_sass/color_schemes/light.scss +15 -0
  56. data/_sass/color_schemes/light_peter.scss +15 -0
  57. data/_sass/content.scss +239 -0
  58. data/_sass/custom/custom.scss +1 -0
  59. data/_sass/custom/setup.scss +1 -0
  60. data/_sass/labels.scss +33 -0
  61. data/_sass/layout.scss +209 -0
  62. data/_sass/modules.scss +17 -0
  63. data/_sass/navigation.scss +235 -0
  64. data/_sass/print.scss +40 -0
  65. data/_sass/search.scss +311 -0
  66. data/_sass/skiptomain.scss +30 -0
  67. data/_sass/support/_variables.scss +116 -0
  68. data/_sass/support/mixins/_buttons.scss +27 -0
  69. data/_sass/support/mixins/_layout.scss +33 -0
  70. data/_sass/support/mixins/_typography.scss +84 -0
  71. data/_sass/support/mixins/mixins.scss +3 -0
  72. data/_sass/support/support.scss +2 -0
  73. data/_sass/tables.scss +54 -0
  74. data/_sass/typography.scss +63 -0
  75. data/_sass/utilities/_colors.scss +237 -0
  76. data/_sass/utilities/_layout.scss +101 -0
  77. data/_sass/utilities/_lists.scss +15 -0
  78. data/_sass/utilities/_spacing.scss +162 -0
  79. data/_sass/utilities/_typography.scss +85 -0
  80. data/_sass/utilities/utilities.scss +5 -0
  81. data/_sass/vendor/OneDarkJekyll/LICENSE +21 -0
  82. data/_sass/vendor/OneDarkJekyll/syntax.scss +202 -0
  83. data/_sass/vendor/OneLightJekyll/LICENSE +65 -0
  84. data/_sass/vendor/OneLightJekyll/syntax.scss +208 -0
  85. data/_sass/vendor/normalize.scss/README.md +7 -0
  86. data/_sass/vendor/normalize.scss/normalize.scss +351 -0
  87. data/assets/css/just-the-docs-dark.scss +3 -0
  88. data/assets/css/just-the-docs-default.scss +8 -0
  89. data/assets/css/just-the-docs-light.scss +3 -0
  90. data/assets/js/just-the-docs.js +535 -0
  91. data/assets/js/vendor/lunr.min.js +61 -0
  92. data/assets/js/zzzz-search-data.json +74 -0
  93. data/bin/just-the-docs +16 -0
  94. data/favicon.ico +0 -0
  95. data/lib/tasks/search.rake +88 -0
  96. metadata +152 -11
@@ -0,0 +1,235 @@
1
+ // Main nav, breadcrumb, etc...
2
+ // stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type, selector-max-specificity
3
+
4
+ .nav-list {
5
+ padding: 0;
6
+ margin-top: 0;
7
+ margin-bottom: 0;
8
+ list-style: none;
9
+
10
+ .nav-list-item {
11
+ @include fs-4;
12
+
13
+ position: relative;
14
+ margin: 0;
15
+
16
+ @include mq(md) {
17
+ @include fs-3;
18
+ }
19
+
20
+ .nav-list-link {
21
+ display: block;
22
+ min-height: $nav-list-item-height-sm;
23
+ padding-top: $sp-1;
24
+ padding-bottom: $sp-1;
25
+ line-height: #{$nav-list-item-height-sm - 2 * $sp-1};
26
+ @if $nav-list-expander-right {
27
+ padding-right: $nav-list-item-height-sm;
28
+ padding-left: $gutter-spacing-sm;
29
+ } @else {
30
+ padding-right: $gutter-spacing-sm;
31
+ padding-left: $nav-list-item-height-sm;
32
+ }
33
+
34
+ @include mq(md) {
35
+ min-height: $nav-list-item-height;
36
+ line-height: #{$nav-list-item-height - 2 * $sp-1};
37
+ @if $nav-list-expander-right {
38
+ padding-right: $nav-list-item-height;
39
+ padding-left: $gutter-spacing;
40
+ } @else {
41
+ padding-right: $gutter-spacing;
42
+ padding-left: $nav-list-item-height;
43
+ }
44
+ }
45
+
46
+ &.external > svg {
47
+ width: $sp-4;
48
+ height: $sp-4;
49
+ vertical-align: text-bottom;
50
+ }
51
+
52
+ &.active {
53
+ font-weight: 600;
54
+ text-decoration: none;
55
+ }
56
+
57
+ &:hover,
58
+ &.active {
59
+ background-image: linear-gradient(
60
+ -90deg,
61
+ rgba($feedback-color, 1) 0%,
62
+ rgba($feedback-color, 0.8) 80%,
63
+ rgba($feedback-color, 0) 100%
64
+ );
65
+ }
66
+ }
67
+
68
+ .nav-list-expander {
69
+ position: absolute;
70
+ @if $nav-list-expander-right {
71
+ right: 0;
72
+ }
73
+
74
+ width: $nav-list-item-height-sm;
75
+ height: $nav-list-item-height-sm;
76
+ padding: #{$nav-list-item-height-sm * 0.25};
77
+ color: $link-color;
78
+
79
+ @include mq(md) {
80
+ width: $nav-list-item-height;
81
+ height: $nav-list-item-height;
82
+ padding: #{$nav-list-item-height * 0.25};
83
+ }
84
+
85
+ &:hover {
86
+ background-image: linear-gradient(
87
+ -90deg,
88
+ rgba($feedback-color, 1) 0%,
89
+ rgba($feedback-color, 0.8) 100%
90
+ );
91
+ }
92
+
93
+ @if $nav-list-expander-right {
94
+ svg {
95
+ transform: rotate(90deg);
96
+ }
97
+ }
98
+ }
99
+
100
+ > .nav-list {
101
+ display: none;
102
+ padding-left: $sp-3;
103
+ list-style: none;
104
+
105
+ .nav-list-item {
106
+ position: relative;
107
+
108
+ .nav-list-link {
109
+ color: $nav-child-link-color;
110
+ }
111
+
112
+ .nav-list-expander {
113
+ color: $nav-child-link-color;
114
+ }
115
+ }
116
+ }
117
+
118
+ &.active {
119
+ > .nav-list-expander svg {
120
+ @if $nav-list-expander-right {
121
+ transform: rotate(-90deg);
122
+ } @else {
123
+ transform: rotate(90deg);
124
+ }
125
+ }
126
+
127
+ > .nav-list {
128
+ display: block;
129
+ }
130
+ }
131
+ }
132
+ }
133
+
134
+ .nav-category {
135
+ padding: $sp-2 $gutter-spacing-sm;
136
+ font-weight: 600;
137
+ text-align: start;
138
+ text-transform: uppercase;
139
+ border-bottom: $border $border-color;
140
+ @include fs-2;
141
+
142
+ @include mq(md) {
143
+ padding: $sp-2 $gutter-spacing;
144
+ margin-top: $gutter-spacing-sm;
145
+ text-align: start;
146
+
147
+ &:first-child {
148
+ margin-top: 0;
149
+ }
150
+ }
151
+ }
152
+
153
+ .nav-list.nav-category-list {
154
+ > .nav-list-item {
155
+ margin: 0;
156
+
157
+ > .nav-list {
158
+ padding: 0;
159
+
160
+ > .nav-list-item {
161
+ > .nav-list-link {
162
+ color: $link-color;
163
+ }
164
+
165
+ > .nav-list-expander {
166
+ color: $link-color;
167
+ }
168
+ }
169
+ }
170
+ }
171
+ }
172
+
173
+ // Aux nav
174
+
175
+ .aux-nav {
176
+ height: 100%;
177
+ overflow-x: auto;
178
+ @include fs-2;
179
+
180
+ .aux-nav-list {
181
+ display: flex;
182
+ height: 100%;
183
+ padding: 0;
184
+ margin: 0;
185
+ list-style: none;
186
+ }
187
+
188
+ .aux-nav-list-item {
189
+ display: inline-block;
190
+ height: 100%;
191
+ padding: 0;
192
+ margin: 0;
193
+ }
194
+
195
+ @include mq(md) {
196
+ padding-right: $gutter-spacing-sm;
197
+ }
198
+ }
199
+
200
+ // Breadcrumb nav
201
+
202
+ .breadcrumb-nav {
203
+ @include mq(md) {
204
+ margin-top: -$sp-4;
205
+ }
206
+ }
207
+
208
+ .breadcrumb-nav-list {
209
+ padding-left: 0;
210
+ margin-bottom: $sp-3;
211
+ list-style: none;
212
+ }
213
+
214
+ .breadcrumb-nav-list-item {
215
+ display: table-cell;
216
+ @include fs-2;
217
+
218
+ &::before {
219
+ display: none;
220
+ }
221
+
222
+ &::after {
223
+ display: inline-block;
224
+ margin-right: $sp-2;
225
+ margin-left: $sp-2;
226
+ color: $grey-dk-000;
227
+ content: "/";
228
+ }
229
+
230
+ &:last-child {
231
+ &::after {
232
+ content: "";
233
+ }
234
+ }
235
+ }
data/_sass/print.scss ADDED
@@ -0,0 +1,40 @@
1
+ // stylelint-disable selector-max-specificity, selector-max-id, selector-max-type, selector-no-qualifying-type
2
+
3
+ @media print {
4
+ .site-footer,
5
+ .site-button,
6
+ #edit-this-page,
7
+ #back-to-top,
8
+ .site-nav,
9
+ .main-header {
10
+ display: none !important;
11
+ }
12
+
13
+ .side-bar {
14
+ width: 100%;
15
+ height: auto;
16
+ border-right: 0 !important;
17
+ }
18
+
19
+ .site-header {
20
+ border-bottom: 1px solid $border-color;
21
+ }
22
+
23
+ .site-title {
24
+ font-size: 1rem !important;
25
+ font-weight: 700 !important;
26
+ }
27
+
28
+ .text-small {
29
+ font-size: 8pt !important;
30
+ }
31
+
32
+ pre.highlight {
33
+ border: 1px solid $border-color;
34
+ }
35
+
36
+ .main {
37
+ max-width: none;
38
+ margin-left: 0;
39
+ }
40
+ }
data/_sass/search.scss ADDED
@@ -0,0 +1,311 @@
1
+ // Search input and autocomplete
2
+
3
+ .search {
4
+ position: relative;
5
+ z-index: 2;
6
+ flex-grow: 1;
7
+ height: $sp-10;
8
+ padding: $sp-2;
9
+ transition: padding linear #{$transition-duration * 0.5};
10
+
11
+ @include mq(md) {
12
+ position: relative !important;
13
+ width: auto !important;
14
+ height: 100% !important;
15
+ padding: 0;
16
+ transition: none;
17
+ }
18
+ }
19
+
20
+ .search-input-wrap {
21
+ position: relative;
22
+ z-index: 1;
23
+ height: $sp-8;
24
+ overflow: hidden;
25
+ border-radius: $border-radius;
26
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
27
+ transition: height linear #{$transition-duration * 0.5};
28
+
29
+ @include mq(md) {
30
+ position: absolute;
31
+ width: 100%;
32
+ max-width: $search-results-width;
33
+ height: 100% !important;
34
+ border-radius: 0;
35
+ box-shadow: none;
36
+ transition: width ease $transition-duration;
37
+ }
38
+ }
39
+
40
+ .search-input {
41
+ position: absolute;
42
+ width: 100%;
43
+ height: 100%;
44
+ padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing-sm + $sp-5};
45
+ font-size: 1rem;
46
+ color: $body-text-color;
47
+ background-color: $search-background-color;
48
+ border-top: 0;
49
+ border-right: 0;
50
+ border-bottom: 0;
51
+ border-left: 0;
52
+ border-radius: 0;
53
+
54
+ @include mq(md) {
55
+ padding: $sp-2 $gutter-spacing-sm $sp-2 #{$gutter-spacing + $sp-5};
56
+ font-size: 0.875rem;
57
+ background-color: $body-background-color;
58
+ transition: padding-left linear #{$transition-duration * 0.5};
59
+ }
60
+
61
+ &:focus {
62
+ outline: 0;
63
+
64
+ + .search-label .search-icon {
65
+ color: $link-color;
66
+ }
67
+ }
68
+ }
69
+
70
+ .search-label {
71
+ position: absolute;
72
+ display: flex;
73
+ height: 100%;
74
+ padding-left: $gutter-spacing-sm;
75
+
76
+ @include mq(md) {
77
+ padding-left: $gutter-spacing;
78
+ transition: padding-left linear #{$transition-duration * 0.5};
79
+ }
80
+
81
+ .search-icon {
82
+ width: #{$sp-4 * 1.2};
83
+ height: #{$sp-4 * 1.2};
84
+ align-self: center;
85
+ color: $grey-dk-000;
86
+ }
87
+ }
88
+
89
+ .search-results {
90
+ position: absolute;
91
+ left: 0;
92
+ display: none;
93
+ width: 100%;
94
+ max-height: calc(100% - #{$sp-10});
95
+ overflow-y: auto;
96
+ background-color: $search-background-color;
97
+ border-bottom-right-radius: $border-radius;
98
+ border-bottom-left-radius: $border-radius;
99
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
100
+
101
+ @include mq(md) {
102
+ top: 100%;
103
+ width: $search-results-width;
104
+ max-height: calc(100vh - 200%) !important;
105
+ }
106
+ }
107
+
108
+ .search-results-list {
109
+ padding-left: 0;
110
+ margin-bottom: $sp-1;
111
+ list-style: none;
112
+ @include fs-4;
113
+
114
+ @include mq(md) {
115
+ @include fs-3;
116
+ }
117
+ }
118
+
119
+ .search-results-list-item {
120
+ padding: 0;
121
+ margin: 0;
122
+ }
123
+
124
+ .search-result {
125
+ display: block;
126
+ padding: $sp-1 $sp-3;
127
+
128
+ &:hover,
129
+ &.active {
130
+ background-color: $feedback-color;
131
+ }
132
+ }
133
+
134
+ .search-result-title {
135
+ display: block;
136
+ padding-top: $sp-2;
137
+ padding-bottom: $sp-2;
138
+
139
+ @include mq(sm) {
140
+ display: inline-block;
141
+ width: 40%;
142
+ padding-right: $sp-2;
143
+ vertical-align: top;
144
+ }
145
+ }
146
+
147
+ .search-result-doc {
148
+ display: flex;
149
+ align-items: center;
150
+ word-wrap: break-word;
151
+
152
+ &.search-result-doc-parent {
153
+ opacity: 0.5;
154
+ @include fs-3;
155
+
156
+ @include mq(md) {
157
+ @include fs-2;
158
+ }
159
+ }
160
+
161
+ .search-result-icon {
162
+ width: $sp-4;
163
+ height: $sp-4;
164
+ margin-right: $sp-2;
165
+ color: $link-color;
166
+ flex-shrink: 0;
167
+ }
168
+
169
+ .search-result-doc-title {
170
+ overflow: auto;
171
+ }
172
+ }
173
+
174
+ .search-result-section {
175
+ margin-left: #{$sp-4 + $sp-2};
176
+ word-wrap: break-word;
177
+ }
178
+
179
+ .search-result-rel-url {
180
+ display: block;
181
+ margin-left: #{$sp-4 + $sp-2};
182
+ overflow: hidden;
183
+ color: $search-result-preview-color;
184
+ text-overflow: ellipsis;
185
+ white-space: nowrap;
186
+ @include fs-1;
187
+ }
188
+
189
+ .search-result-previews {
190
+ display: block;
191
+ padding-top: $sp-2;
192
+ padding-bottom: $sp-2;
193
+ padding-left: $sp-4;
194
+ margin-left: $sp-2;
195
+ color: $search-result-preview-color;
196
+ word-wrap: break-word;
197
+ border-left: $border;
198
+ border-left-color: $border-color;
199
+ @include fs-2;
200
+
201
+ @include mq(sm) {
202
+ display: inline-block;
203
+ width: 60%;
204
+ padding-left: $sp-2;
205
+ margin-left: 0;
206
+ vertical-align: top;
207
+ }
208
+ }
209
+
210
+ .search-result-preview + .search-result-preview {
211
+ margin-top: $sp-1;
212
+ }
213
+
214
+ .search-result-highlight {
215
+ font-weight: bold;
216
+ }
217
+
218
+ .search-no-result {
219
+ padding: $sp-2 $sp-3;
220
+ @include fs-3;
221
+ }
222
+
223
+ .search-button {
224
+ position: fixed;
225
+ right: $sp-4;
226
+ bottom: $sp-4;
227
+ display: flex;
228
+ width: $sp-9;
229
+ height: $sp-9;
230
+ background-color: $search-background-color;
231
+ border: 1px solid rgba($link-color, 0.3);
232
+ border-radius: #{$sp-9 * 0.5};
233
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
234
+ align-items: center;
235
+ justify-content: center;
236
+ }
237
+
238
+ .search-overlay {
239
+ position: fixed;
240
+ top: 0;
241
+ left: 0;
242
+ z-index: 1;
243
+ width: 0;
244
+ height: 0;
245
+ background-color: rgba(0, 0, 0, 0.3);
246
+ opacity: 0;
247
+ transition: opacity ease $transition-duration, width 0s $transition-duration,
248
+ height 0s $transition-duration;
249
+ }
250
+
251
+ .search-active {
252
+ .search {
253
+ position: fixed;
254
+ top: 0;
255
+ left: 0;
256
+ width: 100%;
257
+ height: 100%;
258
+ padding: 0;
259
+ }
260
+
261
+ .search-input-wrap {
262
+ height: $sp-10;
263
+ border-radius: 0;
264
+
265
+ @include mq(md) {
266
+ width: $search-results-width;
267
+ box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 3px 10px rgba(0, 0, 0, 0.08);
268
+ }
269
+ }
270
+
271
+ .search-input {
272
+ background-color: $search-background-color;
273
+
274
+ @include mq(md) {
275
+ padding-left: 2.3rem;
276
+ }
277
+ }
278
+
279
+ .search-label {
280
+ @include mq(md) {
281
+ padding-left: 0.6rem;
282
+ }
283
+ }
284
+
285
+ .search-results {
286
+ display: block;
287
+ }
288
+
289
+ .search-overlay {
290
+ width: 100%;
291
+ height: 100%;
292
+ opacity: 1;
293
+ transition: opacity ease $transition-duration, width 0s, height 0s;
294
+ }
295
+
296
+ @include mq(md) {
297
+ .main {
298
+ position: fixed;
299
+ right: 0;
300
+ left: 0;
301
+ }
302
+ }
303
+
304
+ .main-header {
305
+ padding-top: $sp-10;
306
+
307
+ @include mq(md) {
308
+ padding-top: 0;
309
+ }
310
+ }
311
+ }
@@ -0,0 +1,30 @@
1
+ // Skipnav
2
+ // Skip to main content
3
+
4
+ a.skip-to-main {
5
+ left: -999px;
6
+ position: absolute;
7
+ top: auto;
8
+ width: 1px;
9
+ height: 1px;
10
+ overflow: hidden;
11
+ z-index: -999;
12
+ }
13
+
14
+ a.skip-to-main:focus,
15
+ a.skip-to-main:active {
16
+ color: $link-color;
17
+ background-color: $body-background-color;
18
+ left: auto;
19
+ top: auto;
20
+ width: 30%;
21
+ height: auto;
22
+ overflow: auto;
23
+ margin: 10px 35%;
24
+ padding: 5px;
25
+ border-radius: 15px;
26
+ border: 4px solid $btn-primary-color;
27
+ text-align: center;
28
+ font-size: 1.2em;
29
+ z-index: 999;
30
+ }
@@ -0,0 +1,116 @@
1
+ // Typography
2
+
3
+ $body-font-family: system-ui, -apple-system, blinkmacsystemfont, "Segoe UI",
4
+ roboto, "Helvetica Neue", arial, sans-serif !default;
5
+ $mono-font-family: "SFMono-Regular", menlo, consolas, monospace !default;
6
+ $root-font-size: 16px !default; // DEPRECATED: previously base font-size for rems
7
+ $body-line-height: 1.4 !default;
8
+ $content-line-height: 1.6 !default;
9
+ $body-heading-line-height: 1.25 !default;
10
+
11
+ // Font size
12
+ // `-sm` suffix is the size at the small (and above) media query
13
+
14
+ $font-size-1: 0.5625rem !default;
15
+ $font-size-1-sm: 0.625rem !default;
16
+ $font-size-2: 0.6875rem !default; // h4 - uppercased!, h6 not uppercased, text-small
17
+ $font-size-3: 0.75rem !default; // h5
18
+ $font-size-4: 0.875rem !default;
19
+ $font-size-5: 1rem !default; // h3
20
+ $font-size-6: 1.125rem !default; // h2
21
+ $font-size-7: 1.5rem !default;
22
+ $font-size-8: 2rem !default; // h1
23
+ $font-size-9: 2.25rem !default;
24
+ $font-size-10: 2.625rem !default;
25
+ $font-size-10-sm: 3rem !default;
26
+
27
+ // Colors
28
+
29
+ $white: #fff !default;
30
+ $grey-dk-000: #959396 !default;
31
+ $grey-dk-100: #5c5962 !default;
32
+ $grey-dk-200: #44434d !default;
33
+ $grey-dk-250: #302d36 !default;
34
+ $grey-dk-300: #27262b !default;
35
+ $grey-lt-000: #f5f6fa !default;
36
+ $grey-lt-100: #eeebee !default;
37
+ $grey-lt-200: #ecebed !default;
38
+ $grey-lt-300: #e6e1e8 !default;
39
+ $purple-000: #7253ed !default;
40
+ $purple-100: #5e41d0 !default;
41
+ $purple-200: #4e26af !default;
42
+ $purple-300: #381885 !default;
43
+ $blue-000: #2c84fa !default;
44
+ $blue-100: #2869e6 !default;
45
+ $blue-200: #264caf !default;
46
+ $blue-300: #183385 !default;
47
+ $green-000: #41d693 !default;
48
+ $green-100: #11b584 !default;
49
+ $green-200: #009c7b !default;
50
+ $green-300: #026e57 !default;
51
+ $yellow-000: #ffeb82 !default;
52
+ $yellow-100: #fadf50 !default;
53
+ $yellow-200: #f7d12e !default;
54
+ $yellow-300: #e7af06 !default;
55
+ $red-000: #f77e7e !default;
56
+ $red-100: #f96e65 !default;
57
+ $red-200: #e94c4c !default;
58
+ $red-300: #dd2e2e !default;
59
+
60
+ // Spacing
61
+
62
+ $spacing-unit: 1rem; // 1rem == 16px
63
+
64
+ $spacers: (
65
+ sp-0: 0,
66
+ sp-1: $spacing-unit * 0.25,
67
+ sp-2: $spacing-unit * 0.5,
68
+ sp-3: $spacing-unit * 0.75,
69
+ sp-4: $spacing-unit,
70
+ sp-5: $spacing-unit * 1.5,
71
+ sp-6: $spacing-unit * 2,
72
+ sp-7: $spacing-unit * 2.5,
73
+ sp-8: $spacing-unit * 3,
74
+ sp-9: $spacing-unit * 3.5,
75
+ sp-10: $spacing-unit * 4,
76
+ ) !default;
77
+ $sp-1: map-get($spacers, sp-1) !default; // 0.25 rem == 4px
78
+ $sp-2: map-get($spacers, sp-2) !default; // 0.5 rem == 8px
79
+ $sp-3: map-get($spacers, sp-3) !default; // 0.75 rem == 12px
80
+ $sp-4: map-get($spacers, sp-4) !default; // 1 rem == 16px
81
+ $sp-5: map-get($spacers, sp-5) !default; // 1.5 rem == 24px
82
+ $sp-6: map-get($spacers, sp-6) !default; // 2 rem == 32px
83
+ $sp-7: map-get($spacers, sp-7) !default; // 2.5 rem == 40px
84
+ $sp-8: map-get($spacers, sp-8) !default; // 3 rem == 48px
85
+ $sp-9: map-get($spacers, sp-9) !default; // 3.5 rem == 56px
86
+ $sp-10: map-get($spacers, sp-10) !default; // 4 rem == 64px
87
+
88
+ // Borders
89
+
90
+ $border: 1px solid !default;
91
+ $border-radius: 4px !default;
92
+ $border-color: $grey-lt-100 !default;
93
+
94
+ // Grid system
95
+
96
+ $gutter-spacing: $sp-6 !default;
97
+ $gutter-spacing-sm: $sp-4 !default;
98
+ $nav-width: 16.5rem !default;
99
+ $nav-width-md: 15.5rem !default;
100
+ $nav-list-item-height: $sp-6 !default;
101
+ $nav-list-item-height-sm: $sp-8 !default;
102
+ $nav-list-expander-right: true;
103
+ $content-width: 50rem !default;
104
+ $header-height: 3.75rem !default;
105
+ $search-results-width: $content-width - $nav-width !default;
106
+ $transition-duration: 400ms;
107
+
108
+ // Media queries in pixels
109
+
110
+ $media-queries: (
111
+ xs: 20rem,
112
+ sm: 31.25rem,
113
+ md: $content-width,
114
+ lg: $content-width + $nav-width,
115
+ xl: 87.5rem,
116
+ ) !default;