38 lines
837 B
JavaScript
38 lines
837 B
JavaScript
/* *
|
|
*
|
|
* (c) 2010-2020 Highsoft AS
|
|
*
|
|
* Author: Øystein Moseng
|
|
*
|
|
* License: www.highcharts.com/license
|
|
*
|
|
* Accessible high-contrast theme for Highcharts. Considers colorblindness and
|
|
* monochrome rendering.
|
|
*
|
|
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
|
*
|
|
* */
|
|
'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);
|