Minor cleanup

This commit is contained in:
Dominik Prokop
2019-02-06 17:05:43 +01:00
parent 1e4c6b4b52
commit dc6b27d123
2 changed files with 0 additions and 16 deletions
-2
View File
@@ -1,5 +1,3 @@
const defaultTheme = require('./default');
const tinycolor = require('tinycolor2');
@@ -1,14 +0,0 @@
import { select } from '@storybook/addon-knobs';
import { GrafanaTheme } from '../../types';
export const getThemeKnob = (defaultTheme: GrafanaTheme = GrafanaTheme.Dark) => {
return select(
'Theme',
{
Default: defaultTheme,
Light: GrafanaTheme.Light,
Dark: GrafanaTheme.Dark,
},
defaultTheme
);
};