Sunset.js 827 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* *
  2. *
  3. * (c) 2010-2021 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. 'use strict';
  16. import H from '../../Core/Globals.js';
  17. import U from '../../Core/Utilities.js';
  18. var setOptions = U.setOptions;
  19. H.theme = {
  20. colors: ['#FDD089', '#FF7F79', '#A0446E', '#251535'],
  21. colorAxis: {
  22. maxColor: '#60042E',
  23. minColor: '#FDD089'
  24. },
  25. plotOptions: {
  26. map: {
  27. nullColor: '#fefefc'
  28. }
  29. },
  30. navigator: {
  31. series: {
  32. color: '#FF7F79',
  33. lineColor: '#A0446E'
  34. }
  35. }
  36. };
  37. // Apply the theme
  38. setOptions(H.theme);