@@ -2,7 +2,7 @@ import MuiDialog, { DialogProps as MuiDialogProps } from "@material-ui/core/Dial
2
2
import MuiDialogTitle from "@material-ui/core/DialogTitle"
3
3
import InputAdornment from "@material-ui/core/InputAdornment"
4
4
import OutlinedInput , { OutlinedInputProps } from "@material-ui/core/OutlinedInput"
5
- import { darken , fade , makeStyles } from "@material-ui/core/styles"
5
+ import { darken , lighten , fade , makeStyles } from "@material-ui/core/styles"
6
6
import SvgIcon from "@material-ui/core/SvgIcon"
7
7
import * as React from "react"
8
8
import { combineClasses } from "../../util/combineClasses"
@@ -200,10 +200,10 @@ const useButtonStyles = makeStyles((theme) => ({
200
200
} ,
201
201
errorButton : {
202
202
"&.MuiButton-contained" : {
203
- backgroundColor : theme . palette . error . main ,
203
+ backgroundColor : lighten ( theme . palette . error . dark , 0.15 ) ,
204
204
color : theme . palette . error . contrastText ,
205
205
"&:hover" : {
206
- backgroundColor : darken ( theme . palette . error . main , 0.3 ) ,
206
+ backgroundColor : theme . palette . error . dark ,
207
207
"@media (hover: none)" : {
208
208
backgroundColor : "transparent" ,
209
209
} ,
0 commit comments