sunset.js
718 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
38
39
40
41
/* *
*
* (c) 2010-2019 Highsoft AS
*
* Author: Øystein Moseng
*
* License: www.highcharts.com/license
*
* Accessible high-contrast theme for Highcharts. Considers colorblindness and
* monochrome rendering.
*
* */
'use strict';
import Highcharts from '../parts/Globals.js';
Highcharts.theme = {
colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
colorAxis: {
maxColor: '#60042E',
minColor: '#FDD089'
},
plotOptions: {
map: {
nullColor: '#fefefc'
}
},
navigator: {
series: {
color: '#FF7F79',
lineColor: '#A0446E'
}
}
};
// Apply the theme
Highcharts.setOptions(Highcharts.theme);