const IconText = styled.span<{ color: string }>`
color: ${props => props.color};
font-family: ${props => props.theme.fonts.PRIMARY};
font-style: normal;
font-weight: 400;
@media (max-width: 767px) {
font-size: 20px;
}
@media (min-width: 768px) {
font-size: 15px;
}
line-height: 24px;
`;
<IconText
color={
activeRoute === iconParam.linkTo
? BOOKEM_THEME.colors.WHITE
: BOOKEM_THEME.colors.BOOKEM_BLACK
}>
{iconParam.text}
</IconText>
Tasks
ThemeProviderthat wraps the Layout. Refer to_app.tsxin bookem-user. Documentation is hereBook'em User Examples