Commit dc9b8303 by Hugo Häggmark

Removed default export for colors

parent 6f2bbb73
......@@ -2,5 +2,4 @@ export * from './components';
export * from './visualizations';
export * from './types';
export * from './utils';
export { default } from './utils';
export * from './forms';
......@@ -10,7 +10,7 @@ export const NO_DATA_COLOR = 'rgba(150, 150, 150, 1)';
export const PENDING_COLOR = 'rgba(247, 149, 32, 1)';
export const REGION_FILL_ALPHA = 0.09;
const colors = [
export const colors = [
'#7EB26D', // 0: pale green
'#EAB839', // 1: mustard
'#6ED0E0', // 2: light blue
......@@ -91,4 +91,3 @@ function hslToHex(color: any) {
}
export let sortedColors = sortColorsByHue(colors);
export default colors;
export * from './processTimeSeries';
export * from './colors';
export { default } from './colors';
......@@ -16,6 +16,7 @@ import './utils/outline';
import './components/colorpicker/spectrum_picker';
import './services/search_srv';
import './services/ng_react';
import { colors } from '@grafana/ui/';
import { searchDirective } from './components/search/search';
import { infoPopover } from './components/info_popover';
......@@ -34,7 +35,6 @@ import 'app/core/services/all';
import './filters/filters';
import coreModule from './core_module';
import appEvents from './app_events';
import colors from '@grafana/ui/';
import { assignModelProperties } from './utils/model_utils';
import { contextSrv } from './services/context_srv';
import { KeybindingSrv } from './services/keybindingSrv';
......
import _ from 'lodash';
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
import { TimeSeries } from 'app/core/core';
import { getThemeColor } from 'app/core/utils/colors';
......
import _ from 'lodash';
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
import { renderUrl } from 'app/core/utils/url';
import kbn from 'app/core/utils/kbn';
......
import _ from 'lodash';
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
import TimeSeries from 'app/core/time_series2';
......
// Libraries
import _ from 'lodash';
import React, { PureComponent } from 'react';
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
// Components & Types
import { Graph, PanelProps, NullValueMode, processTimeSeries } from '@grafana/ui';
......
......@@ -2,7 +2,7 @@ import config from 'app/core/config';
import _ from 'lodash';
import $ from 'jquery';
import Drop from 'tether-drop';
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
import coreModule from 'app/core/core_module';
import { profiler } from 'app/core/profiler';
......
......@@ -2,7 +2,7 @@
import _ from 'lodash';
// Utils
import colors from '@grafana/ui';
import { colors } from '@grafana/ui';
// Types
import { TimeSeries, TimeSeriesVMs, NullValueMode } from '@grafana/ui';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment