import styled from 'styled-components' import { responsiveBreakpoints, space } from '../_utils/branding' import { normalizeHorizontally } from '../layout/layoutNormalizer' import { TextDisplay1 } from '../typography/display1' export const StyledTheVoice = styled(TextDisplay1)` /* @TODO: Align scale and spec /* 32px it's not part of current scale. 4 it could be calculated by the base unit space.s */ --space-bottom: 32px; /* 40px is an exception on font scale */ --font-size-desktop: 40px; margin: 0; padding: ${space.xl} 0 var(--space-bottom); ${normalizeHorizontally}; @media (${responsiveBreakpoints.isMediaLarge}) { text-align: center; font-size: var(--font-size-desktop); } `