d6364a9fdd
* Apply new theme * Fix storybook * Fixes * Fix regressions
18 lines
481 B
TypeScript
18 lines
481 B
TypeScript
import { ReactNode } from 'react';
|
|
import styled from '@emotion/styled';
|
|
|
|
type OwnProps = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
const StyledMainSectionTitle = styled.h2`
|
|
color: ${({ theme }) => theme.font.color.primary};
|
|
font-size: ${({ theme }) => theme.font.size.xl};
|
|
font-weight: ${({ theme }) => theme.font.weight.semiBold};
|
|
line-height: 1.5;
|
|
`;
|
|
|
|
export function MainSectionTitle({ children }: OwnProps) {
|
|
return <StyledMainSectionTitle>{children}</StyledMainSectionTitle>;
|
|
}
|