export default function Example() {
const Headline = styled("h1", {
fontFamily: theme.fonts.headline,
fontSize: theme.fontSizes["200"],
color: theme.colors.primary,
marginBlock: 0,
});
const Subhead = styled("h2", {
fontFamily: theme.fonts.subhead,
fontWeight: theme.fontWeights.light,
fontSize: theme.fontSizes["150"],
color: theme.colors.accessible,
marginBlock: 0,
});
const Body = styled("p", {
fontFamily: theme.fonts.body,
fontSize: theme.fontSizes["100"],
marginBlock: 0,
});
const Meta = styled("p", {
fontFamily: theme.fonts.meta,
fontSize: theme.fontSizes["075"],
color: theme.colors.accessible,
marginBlock: 0,
});
return (
<div>
<Headline>Headline</Headline>
<Subhead>Subheadline</Subhead>
<Body>Body text</Body>
<Meta>Meta text</Meta>
</div>
);
}