remove styled components global styles

This commit is contained in:
Viktor Rådberg
2024-01-06 00:45:35 +01:00
parent 7f19214624
commit 1fa433a38f
4 changed files with 44 additions and 40 deletions

View File

@@ -1,24 +1,12 @@
import { createGlobalStyle } from 'styled-components';
import { ThemeProvider } from '@mui/material';
import { LifeTrinket } from './Components/LifeTrinket';
import { theme } from './Data/theme';
import { GlobalSettingsProvider } from './Providers/GlobalSettingsProvider';
import { PlayersProvider } from './Providers/PlayersProvider';
const GlobalStyles = createGlobalStyle`
html,
body {
background-color: ${theme.palette.background.default};
}
#root {
touch-action: manipulation;
}
`;
const App = () => {
return (
<ThemeProvider theme={theme}>
<GlobalStyles />
<PlayersProvider>
<GlobalSettingsProvider>
<LifeTrinket />