update compile button color

This commit is contained in:
Mario
2020-12-08 20:06:51 +01:00
parent 3cf7f10d34
commit f53baf2536
3 changed files with 13 additions and 10 deletions
+4 -4
View File
@@ -15,15 +15,15 @@ import IconButton from '@material-ui/core/IconButton';
import Tooltip from '@material-ui/core/Tooltip';
import Button from '@material-ui/core/Button';
import { faPlay } from "@fortawesome/free-solid-svg-icons";
import { faClipboardCheck } from "@fortawesome/free-solid-svg-icons";
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
const styles = (theme) => ({
compile: {
backgroundColor: theme.palette.primary.main,
backgroundColor: theme.palette.button.compile,
color: theme.palette.primary.contrastText,
'&:hover': {
backgroundColor: theme.palette.primary.main,
backgroundColor: theme.palette.button.compile,
color: theme.palette.primary.contrastText,
}
}
@@ -63,7 +63,7 @@ class SolutionCheck extends Component {
style={{ width: '40px', height: '40px', marginRight: '5px' }}
onClick={() => this.check()}
>
<FontAwesomeIcon icon={faPlay} size="xs" />
<FontAwesomeIcon icon={faClipboardCheck} size="l" />
</IconButton>
</Tooltip>