Extract styles and config

This commit is contained in:
Julia Friesel
2018-06-25 14:06:31 +02:00
parent 9938cc48c8
commit 7f88262435
3 changed files with 74 additions and 51 deletions
+36
View File
@@ -0,0 +1,36 @@
import config from './config'
const styles = {
curve: {
stroke: 'lightseagreen',
strokeWidth: 2
},
curveDots: {
fill: 'darkblue',
r: 4
},
column: {
label: {
stroke: 'grey',
fontSize: 10,
x: 0
},
rect: {
fill: 'lightgrey',
strokeWidth: 1,
stroke: 'grey',
x: 0,
y: 0,
width: config.columnWidth,
height: config.chartLength
}
},
bleedingIcon: {
cx: config.columnMiddle,
cy: 50,
r: 7,
fill: 'red'
}
}
export default styles