Sunset.js 813 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* *
  2. *
  3. * (c) 2010-2020 Highsoft AS
  4. *
  5. * Author: Øystein Moseng
  6. *
  7. * License: www.highcharts.com/license
  8. *
  9. * Accessible high-contrast theme for Highcharts. Considers colorblindness and
  10. * monochrome rendering.
  11. *
  12. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  13. *
  14. * */
  15. import H from '../../Core/Globals.js';
  16. import U from '../../Core/Utilities.js';
  17. var setOptions = U.setOptions;
  18. H.theme = {
  19. colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
  20. colorAxis: {
  21. maxColor: '#60042E',
  22. minColor: '#FDD089'
  23. },
  24. plotOptions: {
  25. map: {
  26. nullColor: '#fefefc'
  27. }
  28. },
  29. navigator: {
  30. series: {
  31. color: '#FF7F79',
  32. lineColor: '#A0446E'
  33. }
  34. }
  35. };
  36. // Apply the theme
  37. setOptions(H.theme);