UNPKG

highcharts

Version:
145 lines (135 loc) 4.33 kB
// SPDX-License-Identifier: LicenseRef-Highcharts /** * @license Highcharts JS v13.0.1 (2026-08-17) * @module highcharts/themes/sunset * @requires highcharts * * (c) 2009-2026 Highsoft AS * * A commercial license may be required depending on use, * see www.highcharts.com/license */ import * as __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__ from "../highcharts.src.js"; /******/ // The require scope /******/ const __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ (() => { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = (module) => { /******/ const getter = module && module.__esModule ? /******/ () => (module['default']) : /******/ () => (module); /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ (() => { /******/ // define getter/value functions for harmony exports /******/ __webpack_require__.d = (exports, definition) => { /******/ if(Array.isArray(definition)) { /******/ var i = 0; /******/ while(i < definition.length) { /******/ var key = definition[i++]; /******/ var binding = definition[i++]; /******/ if(!__webpack_require__.o(exports, key)) { /******/ if(binding === 0) { /******/ Object.defineProperty(exports, key, { enumerable: true, value: definition[i++] }); /******/ } else { /******/ Object.defineProperty(exports, key, { enumerable: true, get: binding }); /******/ } /******/ } else if(binding === 0) { i++; } /******/ } /******/ } else { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ } /******/ }; /******/ })(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ (() => { /******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) /******/ })(); /******/ /************************************************************************/ ;// external ["../highcharts.src.js","default"] const external_highcharts_src_js_default_namespaceObject = __WEBPACK_EXTERNAL_MODULE__highcharts_src_js_8202131d__["default"]; var external_highcharts_src_js_default_default = /*#__PURE__*/__webpack_require__.n(external_highcharts_src_js_default_namespaceObject); ;// ./code/es-modules/Extensions/Themes/Sunset.js /* * * * (c) 2010-2026 Highsoft AS * * Author: Øystein Moseng * * Integration of this software requires a license. * - For commercial use, see www.highcharts.com/license * - For non-commercial, see www.highcharts.com/license-eula * * Accessible high-contrast theme for Highcharts. Considers colorblindness and * monochrome rendering. * * * */ const { setOptions } = (external_highcharts_src_js_default_default()); /* * * * Theme * * */ var SunsetTheme; (function (SunsetTheme) { /* * * * Constants * * */ SunsetTheme.options = { colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'], colorAxis: { maxColor: '#60042E', minColor: '#FDD089' }, plotOptions: { map: { nullColor: '#fefefc' } }, navigator: { series: { color: '#FF7F79', lineColor: '#A0446E' } } }; /* * * * Functions * * */ /** * Apply the theme. */ function apply() { setOptions(SunsetTheme.options); } SunsetTheme.apply = apply; })(SunsetTheme || (SunsetTheme = {})); /* * * * Default Export * * */ /* harmony default export */ const Sunset = (SunsetTheme); ;// ./code/es-modules/masters/themes/sunset.src.js (external_highcharts_src_js_default_default()).theme = Sunset.options; Sunset.apply(); /* harmony default export */ const sunset_src = ((external_highcharts_src_js_default_default())); export { sunset_src as default };