add role update (#11217)
## Context This PR introduces the new Create and Edit role components, behind the PERMISSIONS_ENABLED_V2 feature flag.
This commit is contained in:
@ -100,12 +100,10 @@ const StyledInput = styled.input<InputProps>`
|
||||
& + label:before {
|
||||
--size: ${({ checkboxSize }) =>
|
||||
checkboxSize === CheckboxSize.Large ? '18px' : '12px'};
|
||||
background: ${({ theme, indeterminate, isChecked, disabled }) =>
|
||||
disabled && isChecked
|
||||
? theme.adaptiveColors.blue3
|
||||
: indeterminate || isChecked
|
||||
? theme.color.blue
|
||||
: 'transparent'};
|
||||
background: ${({ theme, indeterminate, isChecked, disabled }) => {
|
||||
if (!(indeterminate || isChecked)) return 'transparent';
|
||||
return disabled ? theme.adaptiveColors.blue3 : theme.color.blue;
|
||||
}};
|
||||
border-color: ${({
|
||||
theme,
|
||||
indeterminate,
|
||||
|
||||
Reference in New Issue
Block a user