bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/checkbox/styles.js
2022-12-14 17:03:23 -03:00

26 lines
619 B
JavaScript

import { colorText, colorSuccess } from '/imports/ui/stylesheets/styled-components/palette';
import BaseCheckbox from '@material-ui/core/Checkbox';
import FormControlLabel from '@material-ui/core/FormControlLabel';
import { withStyles } from '@material-ui/core/styles';
const Checkbox = withStyles({
checked: {
color: `${colorSuccess} !important`,
},
})(BaseCheckbox);
const Label = withStyles({
label: {
fontFamily: 'inherit !important',
color: `${colorText} !important`,
},
disabled: {
cursor: 'not-allowed !important',
},
})(FormControlLabel);
export default {
Checkbox,
Label,
};