@openneuro/app 4.20.6-alpha.8 → 4.21.0-alpha.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 (42) hide show
  1. package/package.json +4 -4
  2. package/src/scripts/app.tsx +16 -10
  3. package/src/scripts/components/__tests__/agreement.spec.tsx +24 -0
  4. package/src/scripts/components/agreement.tsx +76 -0
  5. package/src/scripts/dataset/__tests__/__snapshots__/snapshot-container.spec.tsx.snap +10 -330
  6. package/src/scripts/dataset/components/BrainLifeButton.tsx +38 -0
  7. package/src/scripts/dataset/components/CloneDropdown.tsx +31 -0
  8. package/src/scripts/dataset/components/DatasetAlert.tsx +25 -0
  9. package/src/scripts/dataset/components/DatasetGitAccess.tsx +82 -0
  10. package/src/scripts/dataset/components/DatasetHeader.tsx +43 -0
  11. package/src/scripts/dataset/components/DatasetHeaderMeta.tsx +22 -0
  12. package/src/scripts/dataset/components/DatasetToolButton.tsx +52 -0
  13. package/src/scripts/dataset/components/DatasetTools.tsx +149 -0
  14. package/src/scripts/dataset/components/MetaDataBlock.tsx +24 -0
  15. package/src/scripts/dataset/components/MetaDataListBlock.tsx +23 -0
  16. package/src/scripts/dataset/components/ModalitiesMetaDataBlock.tsx +32 -0
  17. package/src/scripts/dataset/components/NemarButton.tsx +34 -0
  18. package/src/scripts/dataset/components/ValidationBlock.tsx +11 -0
  19. package/src/scripts/dataset/components/VersionList.tsx +115 -0
  20. package/src/scripts/dataset/components/__tests__/DatasetAlert.spec.tsx +25 -0
  21. package/src/scripts/dataset/components/__tests__/DatasetHeaders.spec.tsx +18 -0
  22. package/src/scripts/dataset/components/__tests__/DatasetTools.spec.tsx +133 -0
  23. package/src/scripts/dataset/draft-container.tsx +9 -11
  24. package/src/scripts/dataset/files/__tests__/file.spec.jsx +13 -4
  25. package/src/scripts/dataset/files/file.tsx +27 -21
  26. package/src/scripts/dataset/fragments/dataset-alert-draft.tsx +1 -1
  27. package/src/scripts/dataset/fragments/dataset-alert-version.tsx +1 -1
  28. package/src/scripts/dataset/routes/dataset-default.tsx +1 -1
  29. package/src/scripts/dataset/routes/download-dataset.tsx +7 -1
  30. package/src/scripts/dataset/routes/snapshot-default.tsx +1 -1
  31. package/src/scripts/dataset/snapshot-container.tsx +10 -12
  32. package/src/scripts/scss/README.md +3 -0
  33. package/src/scripts/scss/dataset/comments.scss +152 -0
  34. package/src/scripts/scss/dataset/dataset-page.scss +397 -0
  35. package/src/scripts/scss/dataset/dataset-tool.scss +281 -0
  36. package/src/scripts/scss/dataset/dropdown.scss +29 -0
  37. package/src/scripts/scss/dataset/validation.scss +392 -0
  38. package/src/scripts/scss/dataset/version-dropdown.scss +121 -0
  39. package/src/scripts/scss/index.scss +6 -0
  40. package/src/scripts/scss/variables.scss +205 -0
  41. package/src/scripts/utils/__tests__/local-storage.spec.tsx +32 -0
  42. package/src/scripts/utils/local-storage.tsx +53 -0
@@ -0,0 +1,392 @@
1
+ $white: #fff;
2
+ $black: #000;
3
+ $mine-shaft: #222;
4
+ $stanford-red: #8c1515;
5
+ $coral: #eb472c;
6
+ $salmon: #ec7764;
7
+
8
+ $rock: #5f574f;
9
+ $stone: #928b81;
10
+ $driftwood: #b6b1a9;
11
+ $misty: #dad7cb;
12
+
13
+ $fuchsia: #9169a7;
14
+
15
+ $ocean: #00505c;
16
+ $algae: #175e54;
17
+ $sky: rgb(0, 124, 146);
18
+ $turquoise: #009b76;
19
+ $persian-green: #00b489;
20
+ $night: #012a30;
21
+ $jungle-mist: #b5cbd3;
22
+ $dodger-blue: #5890ff;
23
+
24
+ $yellow: #ffd820;
25
+ $honey: #fffcee;
26
+
27
+ $success: #04ab3f;
28
+ $info: #24c8c8;
29
+ $warning: #f7ba4b;
30
+ $danger: #c82424;
31
+
32
+ $notification-green: #77e6a3;
33
+
34
+ $warning-orange-cream: #ffefdb;
35
+ $warning-orange: #df7600;
36
+
37
+ .validation-wrap.on-accordion-wrapper {
38
+ margin-bottom: 0;
39
+ margin: 0;
40
+
41
+ .accordion {
42
+ background: #f4f4f4;
43
+ z-index: 1200;
44
+ position: relative;
45
+
46
+ .accordion-content {
47
+ padding: 0;
48
+ border-top: 0;
49
+ }
50
+ }
51
+
52
+ .warning-wrap,
53
+ .error-wrap {
54
+ margin: 0;
55
+ position: relative;
56
+ box-shadow: none;
57
+ border: 0;
58
+ background: none;
59
+ border-radius: 0;
60
+
61
+ > .accordion-title {
62
+ z-index: 1400;
63
+ margin-top: 0;
64
+ border: 0;
65
+ padding: 0;
66
+ padding: 10px;
67
+ display: block;
68
+ background: lighten($salmon, 25%);
69
+ color: $danger;
70
+ text-align: center;
71
+ text-transform: uppercase;
72
+ font-weight: 700;
73
+ margin: 0;
74
+
75
+ // &::after {
76
+ // font-family: FontAwesome;
77
+ // font-size: 10px;
78
+ // margin-left: 10px;
79
+ // content: '\f077';
80
+ // position: relative;
81
+ // top: -2px;
82
+ // }
83
+
84
+ // &.collapsed::after {
85
+ // content: '\f078';
86
+ // }
87
+ }
88
+
89
+ .accordion-content {
90
+ border-top: 0;
91
+ }
92
+ .accordion {
93
+ margin-bottom: 0;
94
+ }
95
+ }
96
+
97
+ .warning-wrap {
98
+ .accordion-title {
99
+ background: $warning-orange-cream;
100
+ color: $warning-orange;
101
+ a {
102
+ background: $warning-orange-cream;
103
+ color: $warning-orange;
104
+ }
105
+ }
106
+ }
107
+ }
108
+
109
+ //Error body and meta
110
+ .validation-error {
111
+ border-radius: 0;
112
+ margin: 0;
113
+ border: 0;
114
+
115
+ .accordion-title {
116
+ padding: 0;
117
+ &::after {
118
+ display: none;
119
+ }
120
+ > span {
121
+ display: block;
122
+ padding: 10px;
123
+ font-size: 12px;
124
+ background-color: #eee;
125
+ color: #333;
126
+ border-bottom: 1px solid #bbb;
127
+ border-top: 1px solid transparent;
128
+ text-decoration: none;
129
+ text-align: left;
130
+ text-transform: initial;
131
+ width: 100%;
132
+ &::after {
133
+ content: '';
134
+ }
135
+
136
+ h4 {
137
+ color: $coral;
138
+ margin-top: 0;
139
+ display: flex;
140
+ justify-content: space-between;
141
+ }
142
+
143
+ .file-issue-count {
144
+ font-size: 10px;
145
+ text-transform: uppercase;
146
+ margin-top: 3px;
147
+ color: #333;
148
+
149
+ &::before {
150
+ color: $coral;
151
+ content: 'View\00a0';
152
+ margin-right: 0;
153
+ position: relative;
154
+ }
155
+ }
156
+
157
+ &:hover {
158
+ text-decoration: none;
159
+ background-color: #eee;
160
+
161
+ h4 {
162
+ color: darken($coral, 10%);
163
+ }
164
+
165
+ .pull-right::before {
166
+ color: darken($coral, 10%);
167
+ }
168
+
169
+ i::after {
170
+ color: $coral;
171
+ }
172
+ }
173
+ }
174
+ &.open > span {
175
+ background-color: #f4f4f4;
176
+ .file-issue-count {
177
+ //color: $coral;
178
+ &::before {
179
+ content: 'Hide\00a0';
180
+ }
181
+ }
182
+ }
183
+ }
184
+ .accordion-content {
185
+ border: 0;
186
+ border-top: 1px solid transparent;
187
+ border-bottom: 1px solid #bbb;
188
+ background-color: #f4f4f4;
189
+ .em-head {
190
+ display: block;
191
+ margin: 0;
192
+ padding: 10px 10px 0;
193
+
194
+ .em-header {
195
+ font-size: 12px;
196
+ text-transform: uppercase;
197
+ font-weight: 700;
198
+ color: $rock;
199
+ margin-bottom: 2px;
200
+ }
201
+
202
+ .e-meta {
203
+ color: $rock;
204
+ font-size: 10px;
205
+ word-break: break-word;
206
+ display: block;
207
+ }
208
+ }
209
+
210
+ // .file-path {
211
+ // border-bottom: 1px solid #ddd;
212
+ // margin: 0;
213
+ // padding: 0 10px 10px;
214
+ // color: $rock;
215
+ // font-size: 10px;
216
+ // word-break: break-word;
217
+ // display: block;
218
+ // }
219
+
220
+ .em-body {
221
+ border-bottom: 1px solid #ddd;
222
+ margin: 0;
223
+ padding: 10px;
224
+
225
+ .em-header {
226
+ color: #333;
227
+ margin: 0;
228
+ padding: 3px 0 5px;
229
+ font-size: 14px;
230
+ font-weight: 600;
231
+
232
+ .pull-right {
233
+ font-weight: 400;
234
+ font-size: 10px;
235
+ }
236
+ }
237
+
238
+ .e-meta {
239
+ label {
240
+ color: #000;
241
+ font-size: 12px;
242
+ text-transform: uppercase;
243
+ font-weight: 600;
244
+ }
245
+
246
+ p {
247
+ color: #333;
248
+ font-size: 12px;
249
+ }
250
+ }
251
+ }
252
+
253
+ .em-body:last-child {
254
+ border: 0;
255
+ }
256
+ }
257
+ }
258
+
259
+ .validation-wrap {
260
+ padding: 0;
261
+ background: none;
262
+
263
+ .message {
264
+ text-align: center;
265
+ width: 100%;
266
+ font-size: 15px;
267
+ font-weight: 600;
268
+ color: $rock;
269
+ max-width: 430px;
270
+ margin: 0 auto;
271
+ display: block;
272
+ padding: 20px;
273
+
274
+ &.error strong {
275
+ color: $coral;
276
+ }
277
+ }
278
+
279
+ > span > .accordion-title,
280
+ > article > .accordion-title {
281
+ display: flex;
282
+ align-items: center;
283
+ justify-content: space-between;
284
+ border: 1px solid #ddd;
285
+ background-color: #fff;
286
+ &:after {
287
+ position: absolute;
288
+ left: 180px;
289
+ @media (max-width: 480px) {
290
+ left: auto;
291
+ right: 10px;
292
+ top: 10px;
293
+ }
294
+ }
295
+ &.valid {
296
+ cursor: default;
297
+ &:after {
298
+ display: none;
299
+ }
300
+ }
301
+ > div {
302
+ display: flex;
303
+ justify-content: space-between;
304
+ align-items: center;
305
+ flex-grow: 1;
306
+ flex-wrap: wrap;
307
+
308
+ @media (max-width: 480px) {
309
+ flex-direction: column;
310
+ }
311
+
312
+ h3 {
313
+ margin: 0;
314
+ flex-grow: 1;
315
+ padding: 9px 11px;
316
+ }
317
+ .dataset-status {
318
+ min-height: 100%;
319
+ background: none;
320
+ color: #333;
321
+ padding: 9px;
322
+ display: flex;
323
+ justify-content: space-between;
324
+ align-items: center;
325
+ i {
326
+ margin-right: 10px;
327
+ font-size: 20px;
328
+ }
329
+
330
+ &.ds-success {
331
+ color: $success;
332
+ }
333
+
334
+ &.ds-info {
335
+ color: $info;
336
+ }
337
+
338
+ &.ds-warning {
339
+ color: $warning;
340
+ }
341
+
342
+ &.ds-danger {
343
+ color: $danger;
344
+ }
345
+ }
346
+
347
+ .label {
348
+ text-transform: uppercase;
349
+ margin: 0 20px;
350
+ font-size: 14px;
351
+
352
+ &.text-warning {
353
+ color: darken($warning, 10%);
354
+ }
355
+ }
356
+ }
357
+
358
+ strong {
359
+ color: #666;
360
+ }
361
+
362
+ .meta,
363
+ .badge {
364
+ background: none;
365
+ color: #c9c9c9;
366
+ font-size: 12px;
367
+ }
368
+
369
+ .meta label {
370
+ text-transform: none;
371
+ }
372
+
373
+ &.super-valid {
374
+ a {
375
+ cursor: default;
376
+ }
377
+ }
378
+ }
379
+
380
+ > span > .accordion-item > .accordion-content {
381
+ border: 1px solid #ddd;
382
+ border-top: 0;
383
+ }
384
+
385
+ .finished .badge {
386
+ color: $success;
387
+ }
388
+
389
+ .ds-validation-pending-message {
390
+ padding: 0 20px;
391
+ }
392
+ }
@@ -0,0 +1,121 @@
1
+ @import '../variables.scss';
2
+
3
+ .version-dropdown {
4
+ .toggle {
5
+ .fas {
6
+ margin-left: 5px;
7
+ }
8
+ .fa-chevron-up {
9
+ display: none;
10
+ }
11
+ .fa-chevron-down {
12
+ display: inline;
13
+ }
14
+ &.active {
15
+ .fa-chevron-up {
16
+ display: inline;
17
+ }
18
+ .fa-chevron-down {
19
+ display: none;
20
+ }
21
+ }
22
+ }
23
+ }
24
+ .version-list-dropdown {
25
+ ul {
26
+ font-size: 14px;
27
+ margin: 0;
28
+ padding: 0;
29
+ list-style-type: none;
30
+ li a {
31
+ padding: 5px 10px;
32
+ display: flex;
33
+ justify-content: space-between;
34
+ align-items: center;
35
+ border-bottom: 1px solid $newspaper;
36
+ text-decoration: none;
37
+ &.selected {
38
+ background-color: #f4f4f4;
39
+ }
40
+ span {
41
+ .active {
42
+ color: $on-light-green;
43
+ margin-left: 5px;
44
+ }
45
+ .deprecated {
46
+ color: $on-light-red;
47
+ font-weight: 300;
48
+ padding-left: 15px;
49
+ }
50
+ }
51
+ }
52
+ }
53
+ .label {
54
+ font-weight: 600;
55
+ }
56
+ }
57
+
58
+ .version-block {
59
+ display: flex;
60
+ justify-content: space-between;
61
+ background-color: #eaeaea;
62
+ padding: 20px;
63
+ border-radius: $border-radius-default;
64
+ border: 1px solid $newspaper;
65
+ flex-wrap: wrap;
66
+ .active-version {
67
+ font-size: 14px;
68
+ @media (max-width: 320px) {
69
+ max-width: 100%;
70
+ margin-bottom: 10px;
71
+ }
72
+ div {
73
+ font-weight: bold;
74
+ font-size: 16px;
75
+ }
76
+ }
77
+ .dataset-tool {
78
+ font-weight: 600;
79
+ font-size: 14px;
80
+ margin: 0;
81
+ color: var(--current-theme-primary);
82
+ &:hover {
83
+ color: var(--current-theme-primary-hover);
84
+ }
85
+ }
86
+
87
+ .version-dropdown {
88
+ position: relative;
89
+ .menu .version-list-dropdown {
90
+ min-width: 290px;
91
+ border: 1px solid $newspaper;
92
+ border-radius: $border-radius-default;
93
+ @media (max-width: 350px) {
94
+ min-width: 100px;
95
+ }
96
+ }
97
+ .version-list-label {
98
+ font-size: 14px;
99
+ margin: 0 0 10px;
100
+ color: var(--current-theme-primary);
101
+ &:hover {
102
+ color: var(--current-theme-primary-hover);
103
+ }
104
+ }
105
+ @media (max-width: 435px) {
106
+ &.dropdown-wrapper .menu {
107
+ right: 0;
108
+ left: auto;
109
+ }
110
+ }
111
+ @media (max-width: 350px) {
112
+ &.dropdown-wrapper .menu {
113
+ width: 220px;
114
+ }
115
+ &.dropdown-wrapper {
116
+ width: 100%;
117
+ text-align: right;
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,6 @@
1
+ @import './dataset/comments.scss';
2
+ @import './dataset/dataset-page.scss';
3
+ @import './dataset/dataset-tool.scss';
4
+ @import './dataset/dropdown.scss';
5
+ @import './dataset/validation.scss';
6
+ @import './dataset/version-dropdown.scss';
@@ -0,0 +1,205 @@
1
+ $font-sans: 'Open Sans', sans-serif;
2
+
3
+ //old vars
4
+ $white: #fff;
5
+ $black: #000;
6
+ $mine-shaft: #222;
7
+ $stanford-red: #8c1515;
8
+ $coral: #eb472c;
9
+ $salmon: #ec7764;
10
+
11
+ $rock: #5f574f;
12
+ $stone: #928b81;
13
+ $driftwood: #b6b1a9;
14
+ $misty: #dad7cb;
15
+
16
+ $fuchsia: #9169a7;
17
+
18
+ $ocean: #00505c;
19
+ $algae: #175e54;
20
+ $sky: rgb(0, 124, 146);
21
+ $turquoise: #009b76;
22
+ $persian-green: #00b489;
23
+ $night: #012a30;
24
+ $jungle-mist: #b5cbd3;
25
+ $dodger-blue: #5890ff;
26
+
27
+ $yellow: #ffd820;
28
+ $honey: #fffcee;
29
+
30
+ $success: #24c85e;
31
+ $info: #24c8c8;
32
+ $warning: #f7ba4b;
33
+ $danger: #c82424;
34
+
35
+ $notification-green: #77e6a3;
36
+
37
+ $warning-orange-cream: #ffefdb;
38
+ $warning-orange: #df7600;
39
+
40
+ //end old vars
41
+
42
+ $charcoal: #333;
43
+ $newspaper: #dfdfdf;
44
+
45
+ /* SCSS RGB */
46
+ $on-light-aqua: rgb(55, 188, 210);
47
+ $on-dark-aqua: rgba(32, 78, 90, 1);
48
+ $on-secondary: #196583;
49
+ $on-dark-aqua-light: #e5f4f7;
50
+
51
+ $mri-theme: rgba(79, 51, 130, 1);
52
+ $mri-hover: adjust-color($mri-theme, $lightness: 10%);
53
+ $mri-dark: darken($mri-theme, 25%);
54
+ $mri-secondary: adjust-color($mri-theme, $lightness: 15%);
55
+ $mri-light: adjust-color($mri-theme, $lightness: 45%);
56
+
57
+ $eeg-theme: rgba(134, 31, 55, 1);
58
+ $eeg-hover: adjust-color($eeg-theme, $lightness: 10%);
59
+ $eeg-dark: darken($eeg-theme, 25%);
60
+ $eeg-secondary: adjust-color($eeg-theme, $lightness: 15%);
61
+ $eeg-light: adjust-color($eeg-theme, $lightness: 45%);
62
+
63
+ $pet-theme: rgba(0, 105, 192, 1);
64
+ $pet-hover: adjust-color($pet-theme, $lightness: 10%);
65
+ $pet-dark: darken($pet-theme, 25%);
66
+ $pet-secondary: adjust-color($pet-theme, $lightness: 15%);
67
+ $pet-light: adjust-color($pet-theme, $lightness: 45%);
68
+
69
+ $ieeg-theme: rgba(18, 109, 62, 1);
70
+ $ieeg-hover: adjust-color($ieeg-theme, $lightness: 10%);
71
+ $ieeg-dark: darken($ieeg-theme, 25%);
72
+ $ieeg-secondary: adjust-color($ieeg-theme, $lightness: 15%);
73
+ $ieeg-light: rgb(200, 212, 153);
74
+
75
+ $meg-theme: rgba(156, 57, 0, 1);
76
+ $meg-hover: adjust-color($meg-theme, $lightness: 10%);
77
+ $meg-dark: darken($meg-theme, 25%);
78
+ $meg-secondary: adjust-color($meg-theme, $lightness: 15%);
79
+ $meg-light: adjust-color($meg-theme, $lightness: 45%);
80
+
81
+ $on-light-green: #00eeb5;
82
+ $on-light-red: #c00342;
83
+ $on-light-orange: rgb(255, 110, 43);
84
+
85
+ $primary: $on-dark-aqua;
86
+
87
+ $chiclet-color: #a2059e;
88
+
89
+ /* CSS HEX */
90
+ :root {
91
+ --mri-theme: #{$mri-theme};
92
+ --eeg-theme: #{$eeg-theme};
93
+ --pet-theme: #{$pet-theme};
94
+ --ieeg-theme: #{$ieeg-theme};
95
+ --meg-theme: #{$meg-theme};
96
+
97
+ --on-light-aqua: #{$on-light-aqua};
98
+ --on-dark-aqua: #{$on-dark-aqua};
99
+ --on-light-green: #{on-light-green};
100
+
101
+ --current-theme-primary: #{$on-dark-aqua};
102
+ --current-theme-primary-hover: #{$on-light-aqua};
103
+ --current-theme-secondary: #{$on-secondary};
104
+ --current-theme-primary-dark: #{$on-dark-aqua};
105
+ --current-theme-primary-light: #{$on-dark-aqua-light};
106
+ --current-theme-header: #333;
107
+ --current-theme-header-dark: #333;
108
+ }
109
+
110
+ .mri-theme {
111
+ background-color: $mri-theme;
112
+ }
113
+ .eeg-theme {
114
+ background-color: $eeg-theme;
115
+ }
116
+
117
+ .pet-theme {
118
+ background-color: $pet-theme;
119
+ }
120
+ .ieeg-theme {
121
+ background-color: $ieeg-theme;
122
+ }
123
+
124
+ .on-light-aqua {
125
+ background-color: $on-light-aqua;
126
+ }
127
+ .on-light-green {
128
+ background-color: $on-light-green;
129
+ }
130
+ .on-dark-aqua {
131
+ background-color: $on-dark-aqua;
132
+ }
133
+
134
+ .meg-theme {
135
+ background-color: $meg-theme;
136
+ }
137
+
138
+ .gray-bg {
139
+ background: #f3f3f3;
140
+ }
141
+
142
+ //Base unit used for spacing gutters
143
+ $base-unit: 20px;
144
+
145
+ //Screen Sizes
146
+ $screen-sm: 480px;
147
+ $screen-md: 767px;
148
+ $screen-lg: 989px;
149
+
150
+ $border-radius-default: 4px;
151
+
152
+ .search-page-mri,
153
+ .dataset-page-mri {
154
+ --current-theme-primary: #{$mri-theme};
155
+ --current-theme-primary-hover: #{$mri-hover};
156
+ --current-theme-primary-dark: #{$mri-dark};
157
+ --current-theme-secondary: #{$mri-secondary};
158
+ --current-theme-primary-light: #{$mri-light};
159
+ --current-theme-header: #{$mri-theme};
160
+ --current-theme-header-dark: #{$mri-dark};
161
+ }
162
+
163
+ .search-page-eeg,
164
+ .dataset-page-eeg {
165
+ --current-theme-primary: #{$eeg-theme};
166
+ --current-theme-primary-hover: #{$eeg-hover};
167
+ --current-theme-primary-dark: #{$eeg-dark};
168
+ --current-theme-secondary: #{$eeg-secondary};
169
+ --current-theme-primary-light: #{$eeg-light};
170
+ --current-theme-header: #{$eeg-theme};
171
+ --current-theme-header-dark: #{$eeg-dark};
172
+ }
173
+
174
+ .search-page-pet,
175
+ .dataset-page-pet {
176
+ --current-theme-primary: #{$pet-theme};
177
+ --current-theme-primary-hover: #{$pet-hover};
178
+ --current-theme-primary-dark: #{$pet-dark};
179
+ --current-theme-secondary: #{$pet-secondary};
180
+ --current-theme-primary-light: #{$pet-light};
181
+ --current-theme-header: #{$pet-theme};
182
+ --current-theme-header-dark: #{$pet-dark};
183
+ }
184
+
185
+ .search-page-ieeg,
186
+ .dataset-page-ieeg {
187
+ --current-theme-primary: #{$ieeg-theme};
188
+ --current-theme-primary-hover: #{$ieeg-hover};
189
+ --current-theme-primary-dark: #{$ieeg-dark};
190
+ --current-theme-secondary: #{$ieeg-secondary};
191
+ --current-theme-primary-light: #{$ieeg-light};
192
+ --current-theme-header: #{$ieeg-theme};
193
+ --current-theme-header-dark: #{$ieeg-dark};
194
+ }
195
+
196
+ .search-page-meg,
197
+ .dataset-page-meg {
198
+ --current-theme-primary: #{$meg-theme};
199
+ --current-theme-primary-hover: #{$meg-hover};
200
+ --current-theme-primary-dark: #{$meg-dark};
201
+ --current-theme-secondary: #{$meg-secondary};
202
+ --current-theme-primary-light: #{$meg-light};
203
+ --current-theme-header: #{$meg-theme};
204
+ --current-theme-header-dark: #{$meg-dark};
205
+ }