theme.d.ts 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. export default Theme;
  2. declare namespace Theme {
  3. export const fontFamily: string;
  4. export const pixelRatio: number;
  5. export const padding: number[];
  6. export { chart };
  7. export const colors: string[];
  8. export namespace shapes {
  9. const line: string[];
  10. const point: string[];
  11. const area: string[];
  12. const interval: string[];
  13. }
  14. export const sizes: string[];
  15. export namespace shape {
  16. export namespace line_1 {
  17. namespace _default {
  18. const lineWidth: string;
  19. const lineJoin: string;
  20. const lineCap: string;
  21. }
  22. export { _default as default };
  23. export namespace smooth {
  24. const smooth_1: boolean;
  25. export { smooth_1 as smooth };
  26. }
  27. export namespace dash {
  28. const lineDash: string[];
  29. }
  30. }
  31. export { line_1 as line };
  32. export namespace point_1 {
  33. namespace _default_1 {
  34. const size: string;
  35. }
  36. export { _default_1 as default };
  37. export namespace hollowCircle {
  38. const lineWidth_1: string;
  39. export { lineWidth_1 as lineWidth };
  40. }
  41. }
  42. export { point_1 as point };
  43. export namespace area_1 {
  44. namespace _default_2 {
  45. const fillOpacity: number;
  46. }
  47. export { _default_2 as default };
  48. }
  49. export { area_1 as area };
  50. export namespace interval_1 {
  51. const _default_3: {};
  52. export { _default_3 as default };
  53. }
  54. export { interval_1 as interval };
  55. }
  56. export { axis };
  57. export { guide };
  58. }
  59. declare namespace chart {
  60. const padding_1: string[];
  61. export { padding_1 as padding };
  62. }
  63. declare namespace axis {
  64. export const labelOffset: string;
  65. export namespace line_2 {
  66. export const stroke: string;
  67. const lineWidth_2: string;
  68. export { lineWidth_2 as lineWidth };
  69. }
  70. export { line_2 as line };
  71. export namespace label {
  72. const fill: string;
  73. const fontSize: string;
  74. }
  75. export namespace grid {
  76. const stroke_1: string;
  77. export { stroke_1 as stroke };
  78. const lineWidth_3: string;
  79. export { lineWidth_3 as lineWidth };
  80. const lineDash_1: string[];
  81. export { lineDash_1 as lineDash };
  82. }
  83. }
  84. declare namespace guide {
  85. export namespace line_3 {
  86. namespace style {
  87. const stroke_2: string;
  88. export { stroke_2 as stroke };
  89. const lineWidth_4: number;
  90. export { lineWidth_4 as lineWidth };
  91. }
  92. const offsetX: number;
  93. const offsetY: number;
  94. }
  95. export { line_3 as line };
  96. export namespace text {
  97. export namespace style_1 {
  98. const fill_1: string;
  99. export { fill_1 as fill };
  100. export const textBaseline: string;
  101. }
  102. export { style_1 as style };
  103. const offsetX_1: number;
  104. export { offsetX_1 as offsetX };
  105. const offsetY_1: number;
  106. export { offsetY_1 as offsetY };
  107. }
  108. export namespace rect {
  109. export namespace style_2 {
  110. const fill_2: string;
  111. export { fill_2 as fill };
  112. }
  113. export { style_2 as style };
  114. }
  115. export namespace arc {
  116. export namespace style_3 {
  117. const stroke_3: string;
  118. export { stroke_3 as stroke };
  119. }
  120. export { style_3 as style };
  121. }
  122. export namespace html {
  123. const offsetX_2: number;
  124. export { offsetX_2 as offsetX };
  125. const offsetY_2: number;
  126. export { offsetY_2 as offsetY };
  127. export const alignX: string;
  128. export const alignY: string;
  129. }
  130. export namespace tag {
  131. const offsetX_3: number;
  132. export { offsetX_3 as offsetX };
  133. const offsetY_3: number;
  134. export { offsetY_3 as offsetY };
  135. export const side: number;
  136. export namespace background {
  137. const padding_2: number;
  138. export { padding_2 as padding };
  139. export const radius: number;
  140. const fill_3: string;
  141. export { fill_3 as fill };
  142. }
  143. export namespace textStyle {
  144. const fontSize_1: number;
  145. export { fontSize_1 as fontSize };
  146. const fill_4: string;
  147. export { fill_4 as fill };
  148. export const textAlign: string;
  149. const textBaseline_1: string;
  150. export { textBaseline_1 as textBaseline };
  151. }
  152. }
  153. export namespace point_2 {
  154. const offsetX_4: number;
  155. export { offsetX_4 as offsetX };
  156. const offsetY_4: number;
  157. export { offsetY_4 as offsetY };
  158. export namespace style_4 {
  159. const fill_5: string;
  160. export { fill_5 as fill };
  161. export const r: number;
  162. const lineWidth_5: number;
  163. export { lineWidth_5 as lineWidth };
  164. const stroke_4: string;
  165. export { stroke_4 as stroke };
  166. }
  167. export { style_4 as style };
  168. }
  169. export { point_2 as point };
  170. }