bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/checkbox/styles.js

26 lines
619 B
JavaScript
Raw Normal View History

2022-12-15 04:03:23 +08:00
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';
2021-11-06 01:21:35 +08:00
2022-12-15 04:03:23 +08:00
const Checkbox = withStyles({
checked: {
color: `${colorSuccess} !important`,
},
})(BaseCheckbox);
2021-11-06 01:21:35 +08:00
2022-12-15 04:03:23 +08:00
const Label = withStyles({
label: {
fontFamily: 'inherit !important',
color: `${colorText} !important`,
},
disabled: {
cursor: 'not-allowed !important',
},
})(FormControlLabel);
2021-11-06 01:21:35 +08:00
export default {
2022-12-15 04:03:23 +08:00
Checkbox,
Label,
2021-11-06 01:21:35 +08:00
};