sdk.ts 468 B

12345678910111213141516171819
  1. import {PanelCtrl} from 'app/features/panel/panel_ctrl';
  2. import {MetricsPanelCtrl} from 'app/features/panel/metrics_panel_ctrl';
  3. import {QueryCtrl} from 'app/features/panel/query_ctrl';
  4. import config from 'app/core/config';
  5. export function loadPluginCss(options) {
  6. if (config.bootData.user.lightTheme) {
  7. System.import(options.light + '!css');
  8. } else {
  9. System.import(options.dark + '!css');
  10. }
  11. }
  12. export {
  13. PanelCtrl,
  14. MetricsPanelCtrl,
  15. QueryCtrl,
  16. }