Settings Icon CSS update (#8934)
Current :  Expected : <img width="594" alt="Screenshot 2024-12-06 at 17 01 45" src="https://github.com/user-attachments/assets/a26a5415-ecd2-4111-a093-ae049b734925"> Design Request from @Bonapara 😸
This commit is contained in:
@ -11,7 +11,7 @@ export const StyledSettingsOptionCardContent = styled(
|
||||
)<StyledCardContentProps>`
|
||||
align-items: center;
|
||||
display: flex;
|
||||
gap: ${({ theme }) => theme.spacing(4)};
|
||||
gap: ${({ theme }) => theme.spacing(3)};
|
||||
`;
|
||||
export const StyledSettingsOptionCardIcon = styled.div`
|
||||
align-items: center;
|
||||
@ -19,9 +19,9 @@ export const StyledSettingsOptionCardIcon = styled.div`
|
||||
border-radius: ${({ theme }) => theme.border.radius.sm};
|
||||
background-color: ${({ theme }) => theme.background.primary};
|
||||
display: flex;
|
||||
height: ${({ theme }) => theme.spacing(8)};
|
||||
height: ${({ theme }) => theme.spacing(7)};
|
||||
justify-content: center;
|
||||
width: ${({ theme }) => theme.spacing(8)};
|
||||
width: ${({ theme }) => theme.spacing(7)};
|
||||
min-width: ${({ theme }) => theme.icon.size.md};
|
||||
`;
|
||||
|
||||
|
||||
@ -82,6 +82,7 @@ export const SettingsOptionCardContentToggle = ({
|
||||
value={checked}
|
||||
onChange={onChange}
|
||||
disabled={disabled}
|
||||
toggleSize="small"
|
||||
color={advancedMode ? theme.color.yellow : theme.color.blue}
|
||||
/>
|
||||
</StyledSettingsOptionCardToggleContent>
|
||||
|
||||
@ -24,7 +24,7 @@ export const SettingsOptionIconCustomizer = ({
|
||||
return (
|
||||
<StyledIconCustomizer zoom={zoom} rotate={rotate}>
|
||||
<Icon
|
||||
size={theme.icon.size.xl}
|
||||
size={theme.icon.size.lg}
|
||||
color={theme.IllustrationIcon.color.grey}
|
||||
stroke={theme.icon.stroke.md}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user