-
Notifications
You must be signed in to change notification settings - Fork 1
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 #91 from SWM-FIRE/theme
Theme
- Loading branch information
Showing
7 changed files
with
98 additions
and
14 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
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
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,18 +1,16 @@ | ||
// import { StrictMode } from 'react'; | ||
import { createRoot } from 'react-dom/client'; | ||
import { ThemeProvider } from 'styled-components'; | ||
import App from './App'; | ||
import GlobalStyle from './styles/global'; | ||
import { defaultTheme } from './styles/theme'; | ||
|
||
const rootElement = document.getElementById('root'); | ||
if (!rootElement) throw new Error('Failed to find the root element'); | ||
const root = createRoot(rootElement); | ||
root.render( | ||
// <StrictMode> | ||
<ThemeProvider theme={defaultTheme}> | ||
<> | ||
<GlobalStyle /> | ||
<App /> | ||
</ThemeProvider>, | ||
</>, | ||
// </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
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
1cc617d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
modoco-frontend – ./
modoco-frontend-071yoon.vercel.app
modoco-frontend-git-main-071yoon.vercel.app
modocode.com
modoco-frontend.vercel.app