Skip to content

Commit

Permalink
Feat :: global추가 #1
Browse files Browse the repository at this point in the history
  • Loading branch information
kyumin7487 committed Jul 17, 2024
1 parent 1d83503 commit 5ca0cae
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
1 change: 1 addition & 0 deletions baobao/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"react-scripts": "5.0.1",
"scss": "^0.2.4",
"styled-components": "^6.1.11",
"styled-reset": "^4.5.2",
"typescript": "^4.9.5",
"web-vitals": "^2.1.4"
},
Expand Down
13 changes: 13 additions & 0 deletions baobao/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions baobao/src/styles/global.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { createGlobalStyle } from 'styled-components';
import reset from "styled-reset";
import "./font.css";

const GlobalStyle = createGlobalStyle`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Pretendard-Regular, sans-serif;
}
a {
text-decoration: none;
}
button {
border: 0;
background-color: transparent;
}
${reset}
`

export default GlobalStyle

0 comments on commit 5ca0cae

Please sign in to comment.