fix: get triggers up to spec

This commit is contained in:
Taranto 2020-08-08 12:05:52 +01:00 committed by Josh Harvey
parent b07c0e180a
commit 0b28e7f98a
22 changed files with 347 additions and 95 deletions

View file

@ -4,7 +4,7 @@ import CheckBoxIcon from '@material-ui/icons/CheckBox'
import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank'
import React from 'react'
import { secondaryColor } from '../../../styling/variables'
import { fontSize2, fontSize3, secondaryColor } from 'src/styling/variables'
const useStyles = makeStyles({
root: {
@ -30,9 +30,11 @@ const CheckboxInput = ({ name, onChange, value, label, ...props }) => {
value={value}
checked={value}
icon={
<CheckBoxOutlineBlankIcon style={{ marginLeft: 2, fontSize: 16 }} />
<CheckBoxOutlineBlankIcon
style={{ marginLeft: 2, fontSize: fontSize3 }}
/>
}
checkedIcon={<CheckBoxIcon style={{ fontSize: 20 }} />}
checkedIcon={<CheckBoxIcon style={{ fontSize: fontSize2 }} />}
disableRipple
{...props}
/>