fbredius/storybook

View on GitHub
lib/components/src/typography/elements/P.tsx

Summary

Maintainability
A
0 mins
Test Coverage
import { styled } from '@storybook/theming';
import { withReset, withMargin, codeCommon } from '../lib/common';

export const P = styled.p(withReset, withMargin, ({ theme }) => ({
  fontSize: theme.typography.size.s2,
  lineHeight: '24px',
  color: theme.color.defaultText,
  '& code': codeCommon({ theme }),
}));