fix: button new comet3 color, replace lodash with ramda

This commit is contained in:
José Oliveira 2021-11-17 14:22:46 +00:00
parent a35dd3e77e
commit e3b13a228b
4 changed files with 74 additions and 70 deletions

View file

@ -23,11 +23,8 @@ import { ReactComponent as EditReversedIcon } from 'src/styling/icons/action/edi
import { ReactComponent as AuthorizeIcon } from 'src/styling/icons/button/authorize/white.svg'
import { ReactComponent as BlockIcon } from 'src/styling/icons/button/block/white.svg'
import { ReactComponent as CancelReversedIcon } from 'src/styling/icons/button/cancel/white.svg'
import { ReactComponent as CancelIcon } from 'src/styling/icons/button/cancel/zodiac.svg'
import { ReactComponent as ReplaceReversedIcon } from 'src/styling/icons/button/replace/white.svg'
import { ReactComponent as ReplaceIcon } from 'src/styling/icons/button/replace/zodiac.svg'
import { ReactComponent as SaveReversedIcon } from 'src/styling/icons/circle buttons/save/white.svg'
import { ReactComponent as SaveIcon } from 'src/styling/icons/circle buttons/save/zodiac.svg'
import { comet } from 'src/styling/variables'
import styles from './EditableCard.styles.js'
@ -237,7 +234,7 @@ const EditableCard = ({
<ActionButton
color="secondary"
type="button"
Icon={ReplaceIcon}
Icon={ReplaceReversedIcon}
InverseIcon={ReplaceReversedIcon}
onClick={() => triggerInput()}>
{
@ -266,7 +263,7 @@ const EditableCard = ({
<div className={classes.button}>
<ActionButton
color="secondary"
Icon={SaveIcon}
Icon={SaveReversedIcon}
InverseIcon={SaveReversedIcon}
type="submit">
Save
@ -276,7 +273,7 @@ const EditableCard = ({
<div className={classes.button}>
<ActionButton
color="secondary"
Icon={CancelIcon}
Icon={CancelReversedIcon}
InverseIcon={CancelReversedIcon}
type="reset">
Cancel