use theme for fontweight

Signed-off-by: Ky <virginie.ky@gmail.com>
This commit is contained in:
Ky 2020-04-28 15:31:43 +02:00
parent 83f2022e20
commit 490d565c07

View File

@ -1,4 +1,5 @@
import styled from 'styled-components';
import { themePropTypes } from 'strapi-helper-plugin';
const Wrapper = styled.div`
min-height: 100%;
@ -9,8 +10,12 @@ const Header = styled.div`
margin-bottom: 1.1rem;
padding-top: 2.8rem;
font-size: 18px;
font-weight: 600;
font-weight: ${({ theme }) => theme.fontWeights.bold};
line-height: 3.6rem;
`;
Header.propTypes = {
...themePropTypes,
};
export { Header, Wrapper };