feat: add edit, delete and image input

This commit is contained in:
José Oliveira 2021-10-27 23:54:50 +01:00
parent 421543f0c7
commit 3de7ae2fe9
12 changed files with 545 additions and 139 deletions

View file

@ -5,7 +5,12 @@ import {
subheaderColor,
subheaderDarkColor,
offColor,
offDarkColor
offDarkColor,
secondaryColor,
secondaryColorDark,
secondaryColorDarker,
errorColor,
errorColorDarker
} from 'src/styling/variables'
const { p } = typographyStyles
@ -68,6 +73,42 @@ export default {
display: 'flex'
}
},
spring: {
extend: colors(secondaryColor, secondaryColorDark, secondaryColorDarker),
color: white,
'&:active': {
'& $actionButtonIcon': {
display: 'flex'
},
'& $actionButtonIconActive': {
display: 'none'
}
},
'& $actionButtonIcon': {
display: 'none'
},
'& $actionButtonIconActive': {
display: 'flex'
}
},
tomato: {
extend: colors(errorColor, errorColorDarker, errorColor),
color: white,
'&:active': {
'& $actionButtonIcon': {
display: 'flex'
},
'& $actionButtonIconActive': {
display: 'none'
}
},
'& $actionButtonIcon': {
display: 'none'
},
'& $actionButtonIconActive': {
display: 'flex'
}
},
actionButtonIcon: {
display: 'flex',
paddingRight: 7,