Files
twenty/front/src/modules/auth/components/ui/Title.tsx
Charles Bochet d6364a9fdd Apply new theme (#449)
* Apply new theme

* Fix storybook

* Fixes

* Fix regressions
2023-06-26 19:13:04 -07:00

17 lines
427 B
TypeScript

import React from 'react';
import styled from '@emotion/styled';
type OwnProps = {
children: React.ReactNode;
};
const StyledTitle = styled.div`
font-size: ${({ theme }) => theme.font.size.xl};
font-weight: ${({ theme }) => theme.font.weight.semiBold};
margin-top: ${({ theme }) => theme.spacing(10)};
`;
export function Title({ children }: OwnProps): JSX.Element {
return <StyledTitle>{children}</StyledTitle>;
}