mirror of
				https://github.com/Unleash/unleash.git
				synced 2025-10-27 11:02:16 +01:00 
			
		
		
		
	Fix PR commments
This commit is contained in:
		
							parent
							
								
									672d948d24
								
							
						
					
					
						commit
						e8a77d4928
					
				| @ -6,10 +6,10 @@ interface IContextBannerProps { | |||||||
|     context: SdkContextSchema; |     context: SdkContextSchema; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const StyledContextFieldList = styled('ul')(() => ({ | const StyledContextFieldList = styled('ul')(({theme}) => ({ | ||||||
|     color: colors.black, |     color: colors.black, | ||||||
|     listStyleType: 'none', |     listStyleType: 'none', | ||||||
|     paddingInlineStart: 16, |     paddingInlineStart: theme.spacing(16), | ||||||
| })); | })); | ||||||
| 
 | 
 | ||||||
| export const ContextBanner = ({ context }: IContextBannerProps) => { | export const ContextBanner = ({ context }: IContextBannerProps) => { | ||||||
|  | |||||||
| @ -10,29 +10,29 @@ interface IFeatureStatusCellProps { | |||||||
|     enabled: boolean; |     enabled: boolean; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| const StyledFalseChip = styled(Chip)(() => ({ | const StyledFalseChip = styled(Chip)(({theme}) => ({ | ||||||
|     width: 80, |     width: 80, | ||||||
|     borderRadius: '5px', |     borderRadius: '5px', | ||||||
|     border: `1px solid ${colors.red['700']}`, |     border: `1px solid ${theme.palette.error.main}`, | ||||||
|     backgroundColor: colors.red['200'], |     backgroundColor: colors.red['200'], | ||||||
|     ['& .MuiChip-label']: { |     ['& .MuiChip-label']: { | ||||||
|         color: colors.red['700'], |         color: theme.palette.error.main, | ||||||
|     }, |     }, | ||||||
|     ['& .MuiChip-icon']: { |     ['& .MuiChip-icon']: { | ||||||
|         color: colors.red['700'], |         color: theme.palette.error.main, | ||||||
|     }, |     }, | ||||||
| })); | })); | ||||||
| 
 | 
 | ||||||
| const StyledTrueChip = styled(Chip)(() => ({ | const StyledTrueChip = styled(Chip)(({theme}) => ({ | ||||||
|     width: 80, |     width: 80, | ||||||
|     borderRadius: '5px', |     borderRadius: '5px', | ||||||
|     border: `1px solid ${colors.green['700']}`, |     border: `1px solid ${theme.palette.success.main}`, | ||||||
|     backgroundColor: colors.green['100'], |     backgroundColor: colors.green['100'], | ||||||
|     ['& .MuiChip-label']: { |     ['& .MuiChip-label']: { | ||||||
|         color: colors.green['700'], |         color: theme.palette.success.main, | ||||||
|     }, |     }, | ||||||
|     ['& .MuiChip-icon']: { |     ['& .MuiChip-icon']: { | ||||||
|         color: colors.green['700'], |         color: theme.palette.success.main, | ||||||
|     }, |     }, | ||||||
| })); | })); | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user