HighContrastTheme.js 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. /* *
  2. *
  3. * (c) 2009-2021 Øystein Moseng
  4. *
  5. * Default theme for Windows High Contrast Mode.
  6. *
  7. * License: www.highcharts.com/license
  8. *
  9. * !!!!!!! SOURCE GETS TRANSPILED BY TYPESCRIPT. EDIT TS FILE ONLY. !!!!!!!
  10. *
  11. * */
  12. 'use strict';
  13. var theme = {
  14. chart: {
  15. backgroundColor: 'window'
  16. },
  17. title: {
  18. style: {
  19. color: 'windowText'
  20. }
  21. },
  22. subtitle: {
  23. style: {
  24. color: 'windowText'
  25. }
  26. },
  27. colorAxis: {
  28. minColor: 'windowText',
  29. maxColor: 'windowText',
  30. stops: []
  31. },
  32. colors: ['windowText'],
  33. xAxis: {
  34. gridLineColor: 'windowText',
  35. labels: {
  36. style: {
  37. color: 'windowText'
  38. }
  39. },
  40. lineColor: 'windowText',
  41. minorGridLineColor: 'windowText',
  42. tickColor: 'windowText',
  43. title: {
  44. style: {
  45. color: 'windowText'
  46. }
  47. }
  48. },
  49. yAxis: {
  50. gridLineColor: 'windowText',
  51. labels: {
  52. style: {
  53. color: 'windowText'
  54. }
  55. },
  56. lineColor: 'windowText',
  57. minorGridLineColor: 'windowText',
  58. tickColor: 'windowText',
  59. title: {
  60. style: {
  61. color: 'windowText'
  62. }
  63. }
  64. },
  65. tooltip: {
  66. backgroundColor: 'window',
  67. borderColor: 'windowText',
  68. style: {
  69. color: 'windowText'
  70. }
  71. },
  72. plotOptions: {
  73. series: {
  74. lineColor: 'windowText',
  75. fillColor: 'window',
  76. borderColor: 'windowText',
  77. edgeColor: 'windowText',
  78. borderWidth: 1,
  79. dataLabels: {
  80. connectorColor: 'windowText',
  81. color: 'windowText',
  82. style: {
  83. color: 'windowText',
  84. textOutline: 'none'
  85. }
  86. },
  87. marker: {
  88. lineColor: 'windowText',
  89. fillColor: 'windowText'
  90. }
  91. },
  92. pie: {
  93. color: 'window',
  94. colors: ['window'],
  95. borderColor: 'windowText',
  96. borderWidth: 1
  97. },
  98. boxplot: {
  99. fillColor: 'window'
  100. },
  101. candlestick: {
  102. lineColor: 'windowText',
  103. fillColor: 'window'
  104. },
  105. errorbar: {
  106. fillColor: 'window'
  107. }
  108. },
  109. legend: {
  110. backgroundColor: 'window',
  111. itemStyle: {
  112. color: 'windowText'
  113. },
  114. itemHoverStyle: {
  115. color: 'windowText'
  116. },
  117. itemHiddenStyle: {
  118. color: '#555'
  119. },
  120. title: {
  121. style: {
  122. color: 'windowText'
  123. }
  124. }
  125. },
  126. credits: {
  127. style: {
  128. color: 'windowText'
  129. }
  130. },
  131. labels: {
  132. style: {
  133. color: 'windowText'
  134. }
  135. },
  136. drilldown: {
  137. activeAxisLabelStyle: {
  138. color: 'windowText'
  139. },
  140. activeDataLabelStyle: {
  141. color: 'windowText'
  142. }
  143. },
  144. navigation: {
  145. buttonOptions: {
  146. symbolStroke: 'windowText',
  147. theme: {
  148. fill: 'window'
  149. }
  150. }
  151. },
  152. rangeSelector: {
  153. buttonTheme: {
  154. fill: 'window',
  155. stroke: 'windowText',
  156. style: {
  157. color: 'windowText'
  158. },
  159. states: {
  160. hover: {
  161. fill: 'window',
  162. stroke: 'windowText',
  163. style: {
  164. color: 'windowText'
  165. }
  166. },
  167. select: {
  168. fill: '#444',
  169. stroke: 'windowText',
  170. style: {
  171. color: 'windowText'
  172. }
  173. }
  174. }
  175. },
  176. inputBoxBorderColor: 'windowText',
  177. inputStyle: {
  178. backgroundColor: 'window',
  179. color: 'windowText'
  180. },
  181. labelStyle: {
  182. color: 'windowText'
  183. }
  184. },
  185. navigator: {
  186. handles: {
  187. backgroundColor: 'window',
  188. borderColor: 'windowText'
  189. },
  190. outlineColor: 'windowText',
  191. maskFill: 'transparent',
  192. series: {
  193. color: 'windowText',
  194. lineColor: 'windowText'
  195. },
  196. xAxis: {
  197. gridLineColor: 'windowText'
  198. }
  199. },
  200. scrollbar: {
  201. barBackgroundColor: '#444',
  202. barBorderColor: 'windowText',
  203. buttonArrowColor: 'windowText',
  204. buttonBackgroundColor: 'window',
  205. buttonBorderColor: 'windowText',
  206. rifleColor: 'windowText',
  207. trackBackgroundColor: 'window',
  208. trackBorderColor: 'windowText'
  209. }
  210. };
  211. export default theme;