Avocado.js 859 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. import H from '../../Core/Globals.js';
  16. import U from '../../Core/Utilities.js';
  17. var setOptions = U.setOptions;
  18. H.theme = {
  19. colors: ['#F3E796', '#95C471', '#35729E', '#251735'],
  20. colorAxis: {
  21. maxColor: '#05426E',
  22. minColor: '#F3E796'
  23. },
  24. plotOptions: {
  25. map: {
  26. nullColor: '#FCFEFE'
  27. }
  28. },
  29. navigator: {
  30. maskFill: 'rgba(170, 205, 170, 0.5)',
  31. series: {
  32. color: '#95C471',
  33. lineColor: '#35729E'
  34. }
  35. }
  36. };
  37. // Apply the theme
  38. setOptions(H.theme);