Carga
Carga
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
/* *
|
||||
*
|
||||
* (c) 2010-2021 Highsoft AS
|
||||
*
|
||||
* Author: Øystein Moseng
|
||||
*
|
||||
* License: www.highcharts.com/license
|
||||
*
|
||||
* Accessible high-contrast theme for Highcharts. Specifically tailored
|
||||
* towards 3:1 contrast against white/off-white backgrounds. Neighboring
|
||||
* colors are tested for color blindness.
|
||||
*
|
||||
* !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
|
||||
*
|
||||
* */
|
||||
'use strict';
|
||||
import D from '../../Core/DefaultOptions.js';
|
||||
var setOptions = D.setOptions;
|
||||
/* *
|
||||
*
|
||||
* Theme
|
||||
*
|
||||
* */
|
||||
var HighContrastLightTheme;
|
||||
(function (HighContrastLightTheme) {
|
||||
/* *
|
||||
*
|
||||
* Constants
|
||||
*
|
||||
* */
|
||||
HighContrastLightTheme.options = {
|
||||
colors: [
|
||||
'#265FB5',
|
||||
'#222',
|
||||
'#698F01',
|
||||
'#F4693E',
|
||||
'#4C0684',
|
||||
'#0FA388',
|
||||
'#B7104A',
|
||||
'#AF9023',
|
||||
'#1A704C',
|
||||
'#B02FDD'
|
||||
],
|
||||
navigator: {
|
||||
series: {
|
||||
color: '#5f98cf',
|
||||
lineColor: '#5f98cf'
|
||||
}
|
||||
}
|
||||
};
|
||||
/* *
|
||||
*
|
||||
* Functions
|
||||
*
|
||||
* */
|
||||
/**
|
||||
* Apply the theme.
|
||||
*/
|
||||
function apply() {
|
||||
setOptions(HighContrastLightTheme.options);
|
||||
}
|
||||
HighContrastLightTheme.apply = apply;
|
||||
})(HighContrastLightTheme || (HighContrastLightTheme = {}));
|
||||
/* *
|
||||
*
|
||||
* Default Export
|
||||
*
|
||||
* */
|
||||
export default HighContrastLightTheme;
|
||||
Reference in New Issue
Block a user