aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-tools-pages/ts/components/Typography.tsx
blob: de4b64457d5f6770516e92715119bba096855d78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import styled from 'styled-components';
import { media } from '../variables';

const Alpha = styled.h2`
    font-size: 1.75rem;
    line-height: 1;

    ${media.small`font-size: 1.5rem;`};
`;

const Beta = styled.h3`
    font-size: 1.25rem;
    line-height: 1.65;
`;

const Gamma = styled.h4`
    font-size: 1rem;

    ${media.small`font-size: 0.875rem;`};
`;

const Lead = styled.p`
    font-size: 1.25rem;

    ${media.small`font-size: 1rem;`};
`;

const Small = styled.p`
    font-size: 0.875rem;
`;

export { Alpha, Beta, Gamma, Lead, Small };