-
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
1 parent
fba67a4
commit 0f3f268
Showing
5 changed files
with
147 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { DefaultTheme } from 'styled-components'; | ||
|
||
export const theme: DefaultTheme = { | ||
colors: { | ||
black_100: '#000000', | ||
white_100: '#FFFFFF', | ||
red_100: '#F13D42', | ||
red_50: '#FB9999', | ||
red_25: '#FFCCCC', | ||
grey_75: '#434343', | ||
grey_50: '#737373', | ||
grey_25: '#BBBBBB', | ||
}, | ||
}; |
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,11 +1,15 @@ | ||
import React from 'react'; | ||
|
||
import ReactDOM from 'react-dom/client'; | ||
import { ThemeProvider } from 'styled-components'; | ||
|
||
import App from './App'; | ||
import { theme } from './assets/styles/theme'; | ||
|
||
ReactDOM.createRoot(document.getElementById('root')!).render( | ||
<React.StrictMode> | ||
<App /> | ||
<ThemeProvider theme={theme}> | ||
<App /> | ||
</ThemeProvider> | ||
</React.StrictMode>, | ||
); |
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'; | ||
|
||
declare module 'styled-components' { | ||
export interface DefaultTheme { | ||
colors: { | ||
[key: string]: string; | ||
}; | ||
} | ||
} |