c9ab86da37b3833915afd397eaf96e40872006c97bf773bfce4a686072cab9597b2c8ffe6bfaa1daa0364252c014698d383736e15c4c27fb4e65a683b44c7b 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. declare const theme: {
  2. darkMode: boolean;
  3. color: string[];
  4. backgroundColor: string;
  5. axisPointer: {
  6. lineStyle: {
  7. color: string;
  8. };
  9. crossStyle: {
  10. color: string;
  11. };
  12. label: {
  13. color: string;
  14. };
  15. };
  16. legend: {
  17. textStyle: {
  18. color: string;
  19. };
  20. };
  21. textStyle: {
  22. color: string;
  23. };
  24. title: {
  25. textStyle: {
  26. color: string;
  27. };
  28. subtextStyle: {
  29. color: string;
  30. };
  31. };
  32. toolbox: {
  33. iconStyle: {
  34. borderColor: string;
  35. };
  36. };
  37. dataZoom: {
  38. borderColor: string;
  39. textStyle: {
  40. color: string;
  41. };
  42. brushStyle: {
  43. color: string;
  44. };
  45. handleStyle: {
  46. color: string;
  47. borderColor: string;
  48. };
  49. moveHandleStyle: {
  50. color: string;
  51. opacity: number;
  52. };
  53. fillerColor: string;
  54. emphasis: {
  55. handleStyle: {
  56. borderColor: string;
  57. color: string;
  58. };
  59. moveHandleStyle: {
  60. color: string;
  61. opacity: number;
  62. };
  63. };
  64. dataBackground: {
  65. lineStyle: {
  66. color: string;
  67. width: number;
  68. };
  69. areaStyle: {
  70. color: string;
  71. };
  72. };
  73. selectedDataBackground: {
  74. lineStyle: {
  75. color: string;
  76. };
  77. areaStyle: {
  78. color: string;
  79. };
  80. };
  81. };
  82. visualMap: {
  83. textStyle: {
  84. color: string;
  85. };
  86. };
  87. timeline: {
  88. lineStyle: {
  89. color: string;
  90. };
  91. label: {
  92. color: string;
  93. };
  94. controlStyle: {
  95. color: string;
  96. borderColor: string;
  97. };
  98. };
  99. calendar: {
  100. itemStyle: {
  101. color: string;
  102. };
  103. dayLabel: {
  104. color: string;
  105. };
  106. monthLabel: {
  107. color: string;
  108. };
  109. yearLabel: {
  110. color: string;
  111. };
  112. };
  113. timeAxis: {
  114. axisLine: {
  115. lineStyle: {
  116. color: string;
  117. };
  118. };
  119. splitLine: {
  120. lineStyle: {
  121. color: string;
  122. };
  123. };
  124. splitArea: {
  125. areaStyle: {
  126. color: string[];
  127. };
  128. };
  129. minorSplitLine: {
  130. lineStyle: {
  131. color: string;
  132. };
  133. };
  134. };
  135. logAxis: {
  136. axisLine: {
  137. lineStyle: {
  138. color: string;
  139. };
  140. };
  141. splitLine: {
  142. lineStyle: {
  143. color: string;
  144. };
  145. };
  146. splitArea: {
  147. areaStyle: {
  148. color: string[];
  149. };
  150. };
  151. minorSplitLine: {
  152. lineStyle: {
  153. color: string;
  154. };
  155. };
  156. };
  157. valueAxis: {
  158. axisLine: {
  159. lineStyle: {
  160. color: string;
  161. };
  162. };
  163. splitLine: {
  164. lineStyle: {
  165. color: string;
  166. };
  167. };
  168. splitArea: {
  169. areaStyle: {
  170. color: string[];
  171. };
  172. };
  173. minorSplitLine: {
  174. lineStyle: {
  175. color: string;
  176. };
  177. };
  178. };
  179. categoryAxis: {
  180. axisLine: {
  181. lineStyle: {
  182. color: string;
  183. };
  184. };
  185. splitLine: {
  186. lineStyle: {
  187. color: string;
  188. };
  189. };
  190. splitArea: {
  191. areaStyle: {
  192. color: string[];
  193. };
  194. };
  195. minorSplitLine: {
  196. lineStyle: {
  197. color: string;
  198. };
  199. };
  200. };
  201. line: {
  202. symbol: string;
  203. };
  204. graph: {
  205. color: string[];
  206. };
  207. gauge: {
  208. title: {
  209. color: string;
  210. };
  211. axisLine: {
  212. lineStyle: {
  213. color: (string | number)[][];
  214. };
  215. };
  216. axisLabel: {
  217. color: string;
  218. };
  219. detail: {
  220. color: string;
  221. };
  222. };
  223. candlestick: {
  224. itemStyle: {
  225. color: string;
  226. color0: string;
  227. borderColor: string;
  228. borderColor0: string;
  229. };
  230. };
  231. };
  232. export default theme;