DocSpace-client/packages/components/utils/globalStyles.js

15 lines
365 B
JavaScript
Raw Normal View History

import { createGlobalStyle } from "styled-components";
const GlobalStyle = createGlobalStyle`
html, body {
margin: 0;
2021-05-24 11:30:11 +00:00
background-color: ${(props) => props.theme.backgroundColor};
color: ${(props) => props.theme.color};
font-family: ${(props) => props.theme.fontFamily};
font-size: ${(props) => props.theme.fontSize};
}
`;
export default GlobalStyle;