Create components and lib folder

This commit is contained in:
Julia Friesel
2018-06-28 10:58:56 +02:00
parent 35f39291b8
commit 46040f1a77
12 changed files with 25 additions and 25 deletions
+68
View File
@@ -0,0 +1,68 @@
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,
fontWeight: '100'
},
number: {
stroke: '#00b159',
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'
},
horizontalGrid: {
stroke: 'lightgrey',
strokeWidth: 1
}
}
export default styles