Skip to content

Commit fadfb2e

Browse files
authored
chore: move gaugeStyles to appropriate folder (#818)
1 parent 30ac1ed commit fadfb2e

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

giraffe/src/components/Gauge/Gauge.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ import {get} from '../../utils/get'
66
// Utils
77
import {formatStatValue, MAX_DECIMAL_PLACES} from '../../utils/formatStatValue'
88

9+
// Styles
910
import {
1011
COLOR_TYPE_MIN,
1112
COLOR_TYPE_MAX,
1213
DEFAULT_VALUE_MIN,
1314
DEFAULT_VALUE_MAX,
1415
MIN_THRESHOLDS,
15-
} from '../../constants/gaugeStyles'
16+
} from '../../style/gaugeStyles'
1617

1718
// Types
1819
import {Color, DecimalPlaces, GaugeTheme} from '../../types'

giraffe/src/components/Gauge/GaugeLayer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import AutoSizer from 'react-virtualized-auto-sizer'
66
import {GaugeLayerConfig} from '../../types'
77
import {Gauge} from './Gauge'
88

9-
// Constants
10-
import {GAUGE_THEME_DARK} from '../../constants/gaugeStyles'
9+
// Styles
10+
import {GAUGE_THEME_DARK} from '../../style/gaugeStyles'
1111

1212
interface Props {
1313
value: number

giraffe/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export {lineTransform} from './transforms/line'
2626
// Constants
2727
export * from './constants/colorSchemes'
2828
export * from './constants/columnKeys'
29-
export * from './constants/gaugeStyles'
29+
export * from './style/gaugeStyles'
3030
export * from './constants/singleStatStyles'
3131
export {DEFAULT_TABLE_COLORS} from './constants/tableGraph'
3232

0 commit comments

Comments
 (0)