-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from peauty/feature/PEAUTY-32
[PEAUTY-31] 글로벌 스타일 추가 적용
- Loading branch information
Showing
17 changed files
with
4,544 additions
and
6,403 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//index.styles.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//main indexedDB.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//index.styles.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
//index.tsx |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const colors = { | ||
white: '#ffffff', | ||
black: '#000000', | ||
|
||
black100: '#262626', | ||
|
||
gray100: '#f6f6f6', | ||
gray200: '#d9d9d9', | ||
gray300: '#aeaeae', | ||
|
||
blue100: 'rgba(87, 123, 254, 0.1)', | ||
blue200: '#577BFE', | ||
|
||
red100: '#ffd4d4', | ||
red200: '#ffb4b4', | ||
red300: '#fa2626', | ||
|
||
kakaoBackground: '#f6e24b', | ||
|
||
grayOpacity100: 'rgba(0, 0, 0, 0.1)', | ||
grayOpacity200: 'rgba(0, 0, 0, 0.2)', | ||
grayOpacity300: 'rgba(0, 0, 0, 0.6)', | ||
} as const; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@font-face { | ||
font-family: 'Pretendard'; | ||
font-weight: 600; | ||
font-display: swap; | ||
src: | ||
local('Pretendard SemiBold'), | ||
url('../assets/fonts/Pretendard-SemiBold.subset.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
font-weight: 500; | ||
font-display: swap; | ||
src: | ||
local('Pretendard Medium'), | ||
url('../assets/fonts/Pretendard-Medium.subset.woff') format('woff'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'Pretendard'; | ||
font-weight: 400; | ||
font-display: swap; | ||
src: | ||
local('Pretendard Regular'), | ||
url('../assets/fonts/Pretendard-Regular.subset.woff') format('woff'); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
import { createGlobalStyle } from "styled-components"; | ||
import theme from "./theme"; | ||
import "./normalize.css"; | ||
import "./fonts.css"; | ||
|
||
const GlobalStyle = createGlobalStyle` | ||
:root { | ||
font-family: 'Pretendard Variable', 'Pretendard', '-apple-system', 'BlinkMacSystemFont', | ||
'system-ui', 'Roboto', 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', | ||
'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'sans-serif'; | ||
color: ${theme.colors.black100}; | ||
background-color: ${theme.colors.gray100}; | ||
} | ||
* { | ||
box-sizing: border-box; | ||
scrollbar-width: none; | ||
-ms-overflow-style: none; | ||
font-family: inherit; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} | ||
*::before, | ||
*::after { | ||
box-sizing: border-box !important; | ||
} | ||
html{ | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
body { | ||
width: 100%; | ||
height: 100%; | ||
padding: 0 25px; | ||
overscroll-behavior: none; | ||
background-color: ${theme.colors.white}; | ||
max-width: ${theme.size.maxWidth}; | ||
min-width: ${theme.size.minWidth}; | ||
margin: 0; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
a { | ||
outline: none; | ||
color: inherit; | ||
text-decoration: none; | ||
cursor: pointer; | ||
} | ||
button { | ||
outline: none; | ||
border: none; | ||
cursor: pointer; | ||
background: none; | ||
padding-block: 0; | ||
padding-inline: 0; | ||
} | ||
textarea { | ||
border: none; | ||
resize: none; | ||
outline: none; | ||
} | ||
input { | ||
outline: none; | ||
border: none; | ||
background: none; | ||
} | ||
`; | ||
|
||
export default GlobalStyle; |
Oops, something went wrong.