mirror of
https://github.com/grafana/grafana.git
synced 2025-01-27 00:37:04 -06:00
20 lines
468 B
TypeScript
20 lines
468 B
TypeScript
import {PanelCtrl} from 'app/features/panel/panel_ctrl';
|
|
import {MetricsPanelCtrl} from 'app/features/panel/metrics_panel_ctrl';
|
|
import {QueryCtrl} from 'app/features/panel/query_ctrl';
|
|
|
|
import config from 'app/core/config';
|
|
|
|
export function loadPluginCss(options) {
|
|
if (config.bootData.user.lightTheme) {
|
|
System.import(options.light + '!css');
|
|
} else {
|
|
System.import(options.dark + '!css');
|
|
}
|
|
}
|
|
|
|
export {
|
|
PanelCtrl,
|
|
MetricsPanelCtrl,
|
|
QueryCtrl,
|
|
}
|