bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/common/checkbox/styles.js
2023-05-10 00:09:54 +00:00

26 lines
643 B
JavaScript

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