HighContrastLight.js 925 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. Specifically tailored
  10. * towards 3:1 contrast against white/off-white backgrounds. Neighboring
  11. * colors are tested for color blindness.
  12. *
  13. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  14. *
  15. * */
  16. 'use strict';
  17. import Highcharts from '../../Core/Globals.js';
  18. import U from '../../Core/Utilities.js';
  19. var setOptions = U.setOptions;
  20. Highcharts.theme = {
  21. colors: [
  22. '#5f98cf',
  23. '#434348',
  24. '#49a65e',
  25. '#f45b5b',
  26. '#708090',
  27. '#b68c51',
  28. '#397550',
  29. '#c0493d',
  30. '#4f4a7a',
  31. '#b381b3'
  32. ],
  33. navigator: {
  34. series: {
  35. color: '#5f98cf',
  36. lineColor: '#5f98cf'
  37. }
  38. }
  39. };
  40. // Apply the theme
  41. setOptions(Highcharts.theme);