-
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.
- Loading branch information
gaori
committed
Sep 9, 2023
1 parent
22aee7e
commit 2f5e34c
Showing
8 changed files
with
86 additions
and
15 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 |
---|---|---|
@@ -1,13 +1,5 @@ | ||
import { RecoilRoot } from 'recoil'; | ||
import Home from './pages/Home'; | ||
|
||
function App() { | ||
return ( | ||
<RecoilRoot> | ||
{/* 아래에 각각의 페이지 */} | ||
<Home /> | ||
</RecoilRoot> | ||
); | ||
return <></>; | ||
} | ||
|
||
export default App; |
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,5 @@ | ||
* { | ||
box-sizing: border-box; | ||
padding: 0; | ||
margin: 0; | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import 'styled-components'; | ||
import { ColorType, FontSizeType } from './theme'; | ||
|
||
declare module 'styled-components' { | ||
export interface DefaultTheme { | ||
colors: ColorType; | ||
fontSize: FontSizeType; | ||
} | ||
} |
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,25 @@ | ||
import { DefaultTheme } from 'styled-components'; | ||
|
||
const colors = { | ||
// primary: | ||
// secondary: | ||
border: '#f2f2f2', | ||
white: '#ffffff', | ||
black: '#1D1B26', | ||
}; | ||
|
||
const fontSize = { | ||
title: 20, | ||
subTitle: 16, | ||
text: 14, | ||
}; | ||
|
||
export type ColorType = typeof colors; | ||
export type FontSizeType = typeof fontSize; | ||
|
||
const theme: DefaultTheme = { | ||
colors, | ||
fontSize, | ||
}; | ||
|
||
export default theme; |