avocado.js
745 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* (c) 2010-2017 Highsoft AS
*
* License: www.highcharts.com/license
*
* Accessible high-contrast theme for Highcharts. Considers colorblindness and
* monochrome rendering.
* @author Øystein Moseng
*/
'use strict';
import Highcharts from '../parts/Globals.js';
Highcharts.theme = {
colors: ['#F3E796', '#95C471', '#35729E', '#251735'],
colorAxis: {
maxColor: '#05426E',
minColor: '#F3E796'
},
plotOptions: {
map: {
nullColor: '#fcfefe'
}
},
navigator: {
maskFill: 'rgba(170, 205, 170, 0.5)',
series: {
color: '#95C471',
lineColor: '#35729E'
}
}
};
// Apply the theme
Highcharts.setOptions(Highcharts.theme);