mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
use theme for fontweight
Signed-off-by: Ky <virginie.ky@gmail.com>
This commit is contained in:
parent
83f2022e20
commit
490d565c07
@ -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 };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user