Skip to content

Commit 5b15506

Browse files
authored
Merge pull request #1907 from dxc-technology/jialecl/accordion-icon
Applying token correctly to the accordion
2 parents 67cbe3c + 86bdc70 commit 5b15506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/accordion/Accordion.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ const IconContainer = styled.span<{ disabled: AccordionPropsType["disabled"] }>`
179179
margin-left: ${(props) => props.theme.iconMarginLeft};
180180
margin-right: ${(props) => props.theme.iconMarginRight};
181181
color: ${(props) => (props.disabled ? props.theme.disabledIconColor : props.theme.iconColor)};
182-
font-size: 24px;
182+
font-size: ${(props) => props.theme.iconSize};
183183
184184
svg {
185185
height: ${(props) => props.theme.iconSize};

0 commit comments

Comments
 (0)