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

15 lines
365 B
JavaScript

import { createGlobalStyle } from "styled-components";
const GlobalStyle = createGlobalStyle`
html, body {
margin: 0;
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;