1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

Fix PR commments

This commit is contained in:
andreas-unleash 2022-07-13 09:40:39 +03:00
parent 672d948d24
commit e8a77d4928
2 changed files with 10 additions and 10 deletions

View File

@ -6,10 +6,10 @@ interface IContextBannerProps {
context: SdkContextSchema;
}
const StyledContextFieldList = styled('ul')(() => ({
const StyledContextFieldList = styled('ul')(({theme}) => ({
color: colors.black,
listStyleType: 'none',
paddingInlineStart: 16,
paddingInlineStart: theme.spacing(16),
}));
export const ContextBanner = ({ context }: IContextBannerProps) => {

View File

@ -10,29 +10,29 @@ interface IFeatureStatusCellProps {
enabled: boolean;
}
const StyledFalseChip = styled(Chip)(() => ({
const StyledFalseChip = styled(Chip)(({theme}) => ({
width: 80,
borderRadius: '5px',
border: `1px solid ${colors.red['700']}`,
border: `1px solid ${theme.palette.error.main}`,
backgroundColor: colors.red['200'],
['& .MuiChip-label']: {
color: colors.red['700'],
color: theme.palette.error.main,
},
['& .MuiChip-icon']: {
color: colors.red['700'],
color: theme.palette.error.main,
},
}));
const StyledTrueChip = styled(Chip)(() => ({
const StyledTrueChip = styled(Chip)(({theme}) => ({
width: 80,
borderRadius: '5px',
border: `1px solid ${colors.green['700']}`,
border: `1px solid ${theme.palette.success.main}`,
backgroundColor: colors.green['100'],
['& .MuiChip-label']: {
color: colors.green['700'],
color: theme.palette.success.main,
},
['& .MuiChip-icon']: {
color: colors.green['700'],
color: theme.palette.success.main,
},
}));