Norbert de Langen 068f2ff862
cleanup
2022-07-06 17:01:23 +02:00

18 lines
500 B
TypeScript

import { styled, Theme } from '@storybook/theming';
import { withReset } from '@storybook/components';
const breakpoint = 600;
export const Title = styled.h1(withReset, ({ theme }: { theme: Theme }) => ({
color: theme.color.defaultText,
fontSize: theme.typography.size.m3,
fontWeight: theme.typography.weight.black,
lineHeight: '32px',
[`@media (min-width: ${breakpoint}px)`]: {
fontSize: theme.typography.size.l1,
lineHeight: '36px',
marginBottom: '.5rem', // 8px
},
}));