high-contrast-light.js 862 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /* *
  2. *
  3. * (c) 2010-2019 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 '../parts/Globals.js';
  18. Highcharts.theme = {
  19. colors: [
  20. '#5f98cf',
  21. '#434348',
  22. '#49a65e',
  23. '#f45b5b',
  24. '#708090',
  25. '#b68c51',
  26. '#397550',
  27. '#c0493d',
  28. '#4f4a7a',
  29. '#b381b3'
  30. ],
  31. navigator: {
  32. series: {
  33. color: '#5f98cf',
  34. lineColor: '#5f98cf'
  35. }
  36. }
  37. };
  38. // Apply the theme
  39. Highcharts.setOptions(Highcharts.theme);