use stroke color for icons

This commit is contained in:
Abhinav 2022-06-22 10:56:46 +05:30
parent 13fbc92fad
commit 4d3a24e7d6
3 changed files with 5 additions and 3 deletions

View file

@ -36,7 +36,7 @@ export const ValueContainerWithIcon: SelectComponents<
>['ValueContainer'] = (props) => (
<ValueContainer {...props}>
<FlexWrapper>
<Box className="icon" mr={'12px'} color="rgba(255, 255, 255, 0.24)">
<Box className="icon" mr={'12px'} color="stroke.secondary">
{getIconByType(props.getValue()[0]?.type)}
</Box>
{props.children}

View file

@ -12,7 +12,10 @@ export default function HeaderSection({ closeSidebar }: IProps) {
return (
<SpaceBetweenFlex>
<EnteLogo />
<IconButton aria-label="close" onClick={closeSidebar}>
<IconButton
aria-label="close"
onClick={closeSidebar}
sx={{ color: 'stroke.secondary' }}>
<CloseIcon fontSize="small" />
</IconButton>
</SpaceBetweenFlex>

View file

@ -12,7 +12,6 @@ export const SelectStyles = {
':hover': {
borderColor: '#1dba54',
cursor: 'text',
'&>.icon': { color: '#1dba54' },
},
}),
input: (style) => ({