Web: fixed text styles

This commit is contained in:
Nikita Gopienko 2021-05-24 14:30:11 +03:00
parent 7e7a8302d5
commit 7e19a25b0c
3 changed files with 6 additions and 4 deletions

View File

@ -51,7 +51,7 @@ const Base = {
color: black,
backgroundColor: white,
fontFamily: "Open Sans, sans-serif, Arial",
fontSize: "30px",
fontSize: "13px",
text: {
color: black,

View File

@ -52,6 +52,7 @@ const Dark = {
color: whiteSolitude,
backgroundColor: blueCharcoal,
fontFamily: "Open Sans, sans-serif, Arial",
fontSize: "13px",
text: {
color: white,

View File

@ -4,9 +4,10 @@ const GlobalStyle = createGlobalStyle`
html, body {
margin: 0;
background-color: ${props => props.theme.backgroundColor};
color: ${props => props.theme.color};
font-family: ${props => props.theme.fontFamily};
background-color: ${(props) => props.theme.backgroundColor};
color: ${(props) => props.theme.color};
font-family: ${(props) => props.theme.fontFamily};
font-size: ${(props) => props.theme.fontSize};
}
`;