Files
drip/components/styles.js
T
2018-06-26 21:06:43 +02:00

63 lines
1013 B
JavaScript

import config from './config'
const styles = {
curve: {
stroke: '#ffc425',
strokeWidth: 2
},
curveExcluded: {
stroke: 'lightgrey',
strokeWidth: 2,
strokeDashArray: [4]
},
curveDots: {
fill: '#00aedb',
r: 6
},
curveDotsExcluded: {
fill: 'lightgrey',
r: 6
},
column: {
label: {
date: {
stroke: 'grey',
fontSize: 10,
x: 2
},
number: {
stroke: 'purple',
fontSize: 13,
x: config.columnMiddle - 1
}
},
rect: {
fill: '#f9f9f9',
strokeWidth: 1,
stroke: 'grey',
x: 0,
y: 0,
width: config.columnWidth,
height: config.chartHeight
}
},
bleedingIcon: {
fill: '#fb2e01',
scale: 0.6,
x: 7,
y: 3
},
yAxis: {
height: config.chartHeight,
width: config.columnWidth,
},
yAxisLabel: {
position: 'absolute',
right: 3,
color: 'grey',
fontSize: 12,
fontWeight: 'bold'
}
}
export default styles