fbredius/storybook

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

Summary

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

export const H2 = styled.h2(withReset, headerCommon, ({ theme }) => ({
  fontSize: `${theme.typography.size.m2}px`,
  paddingBottom: 4,
  borderBottom: `1px solid ${theme.appBorderColor}`,
}));