* fix: More dark mode fixes This first commit increases contrast of the leftmenu text. * Fix own ballot position highlight in dark mode * Fix dark mode axis color in timeline diagrams * Enable highcharts dark mode * Fix template * Properly import our customized bs5 everywhere * Fix #6499 * Use bs5 color for border-left * Remove superfluous load
23 lines
639 B
JavaScript
23 lines
639 B
JavaScript
import Highcharts from "highcharts/highstock";
|
|
|
|
import Highcharts_Exporting from "highcharts/modules/exporting";
|
|
import Highcharts_Offline_Exporting from "highcharts/modules/offline-exporting";
|
|
import Highcharts_Export_Data from "highcharts/modules/export-data";
|
|
import Highcharts_Accessibility from"highcharts/modules/accessibility";
|
|
|
|
Highcharts_Exporting(Highcharts);
|
|
Highcharts_Offline_Exporting(Highcharts);
|
|
Highcharts_Export_Data(Highcharts);
|
|
Highcharts_Accessibility(Highcharts);
|
|
|
|
Highcharts.setOptions({
|
|
chart: {
|
|
styledMode: true,
|
|
},
|
|
credits: {
|
|
enabled: false
|
|
},
|
|
});
|
|
|
|
window.Highcharts = Highcharts;
|