high-contrast-light.src.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /**
  2. * @license Highcharts JS v8.0.0 (2019-12-10)
  3. *
  4. * (c) 2009-2019 Highsoft AS
  5. *
  6. * License: www.highcharts.com/license
  7. */
  8. 'use strict';
  9. (function (factory) {
  10. if (typeof module === 'object' && module.exports) {
  11. factory['default'] = factory;
  12. module.exports = factory;
  13. } else if (typeof define === 'function' && define.amd) {
  14. define('highcharts/themes/high-contrast-light', ['highcharts'], function (Highcharts) {
  15. factory(Highcharts);
  16. factory.Highcharts = Highcharts;
  17. return factory;
  18. });
  19. } else {
  20. factory(typeof Highcharts !== 'undefined' ? Highcharts : undefined);
  21. }
  22. }(function (Highcharts) {
  23. var _modules = Highcharts ? Highcharts._modules : {};
  24. function _registerModule(obj, path, args, fn) {
  25. if (!obj.hasOwnProperty(path)) {
  26. obj[path] = fn.apply(null, args);
  27. }
  28. }
  29. _registerModule(_modules, 'themes/high-contrast-light.js', [_modules['parts/Globals.js']], function (Highcharts) {
  30. /* *
  31. *
  32. * (c) 2010-2019 Highsoft AS
  33. *
  34. * Author: Øystein Moseng
  35. *
  36. * License: www.highcharts.com/license
  37. *
  38. * Accessible high-contrast theme for Highcharts. Specifically tailored
  39. * towards 3:1 contrast against white/off-white backgrounds. Neighboring
  40. * colors are tested for color blindness.
  41. *
  42. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  43. *
  44. * */
  45. Highcharts.theme = {
  46. colors: [
  47. '#5f98cf',
  48. '#434348',
  49. '#49a65e',
  50. '#f45b5b',
  51. '#708090',
  52. '#b68c51',
  53. '#397550',
  54. '#c0493d',
  55. '#4f4a7a',
  56. '#b381b3'
  57. ],
  58. navigator: {
  59. series: {
  60. color: '#5f98cf',
  61. lineColor: '#5f98cf'
  62. }
  63. }
  64. };
  65. // Apply the theme
  66. Highcharts.setOptions(Highcharts.theme);
  67. });
  68. _registerModule(_modules, 'masters/themes/high-contrast-light.src.js', [], function () {
  69. });
  70. }));