| @@ -177,18 +177,4 @@ | ||
| 177 | 177 | return 'DateFormat'; |
| 178 | 178 | } |
| 179 | 179 | return null; |
| 180 | 180 | }; |
| 181 | - | |
| 182 | -export const getColorCode = ( color ) => { | |
| 183 | - if ( -1 === color.indexOf( '#' ) ) { | |
| 184 | - let getCssVar = color.match( /\((.*)\)/ ).pop(); | |
| 185 | - if ( getCssVar ) { | |
| 186 | - let style = getComputedStyle( document.body ); | |
| 187 | - return style.getPropertyValue( getCssVar ); | |
| 188 | - } | |
| 189 | - } | |
| 190 | - return color; | |
| 191 | -}; | |
| 192 | - | |
| 193 | -// Google Chart Packages | |
| 194 | -export const googleChartPackages = [ 'corechart', 'geochart', 'gauge', 'table', 'timeline', 'controls' ]; | |