Avocado.js 900 B

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