From 3e8500d466b641ef34c24f8b0de8163a44ba7a9e Mon Sep 17 00:00:00 2001 From: jackyzha0 Date: Fri, 5 Mar 2021 22:17:18 -0800 Subject: refactoring css --- frontend/src/theme/GlobalStyle.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/src/theme/GlobalStyle.js (limited to 'frontend/src/theme/GlobalStyle.js') diff --git a/frontend/src/theme/GlobalStyle.js b/frontend/src/theme/GlobalStyle.js new file mode 100644 index 0000000..9fe80a5 --- /dev/null +++ b/frontend/src/theme/GlobalStyle.js @@ -0,0 +1,11 @@ +import { createGlobalStyle } from 'styled-components' + +export default createGlobalStyle` + body { + margin: 0; + padding: 0; + background: ${(p) => p.theme.colors.background}; + font-family: 'JetBrains Mono', monospace; + color: ${(p) => p.theme.colors.text}; + } +` \ No newline at end of file -- cgit v1.2.3