From 36ac89dafb9dea1cddc0c951b2c6cd39e02d3da9 Mon Sep 17 00:00:00 2001 From: Ajay S Date: Thu, 22 Sep 2022 13:07:25 +0530 Subject: [PATCH] added common font size in global scss and imported it in app module.scss --- src/App.module.scss | 4 +--- src/App.tsx | 2 +- src/common/styles/global.scss | 8 ++++++++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/App.module.scss b/src/App.module.scss index e994711..9a2e4b8 100644 --- a/src/App.module.scss +++ b/src/App.module.scss @@ -1,3 +1 @@ -.App { - text-align: center; -} \ No newline at end of file +@import './common/styles/global.scss'; \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index c1339df..0253a44 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -3,7 +3,7 @@ import styles from './App.module.scss'; function App() { return ( -
+
); diff --git a/src/common/styles/global.scss b/src/common/styles/global.scss index e69de29..7dc5bf8 100644 --- a/src/common/styles/global.scss +++ b/src/common/styles/global.scss @@ -0,0 +1,8 @@ +@import './colors.scss'; + +* { + padding: 0; + margin: 0; + box-sizing: border-box; + font-size: 62.5%; +} \ No newline at end of file