chore(web): remove chakra packages

This commit is contained in:
Luke
2023-01-02 14:02:07 +01:00
parent d48b5e199b
commit 9f1ae6184a
9 changed files with 16 additions and 1372 deletions

View File

@@ -2,7 +2,6 @@ import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import { ChakraProvider } from '@chakra-ui/react';
import { theme } from './theme';
import { fas } from '@fortawesome/free-solid-svg-icons';
import { far } from '@fortawesome/free-regular-svg-icons';
@@ -28,18 +27,8 @@ const root = document.getElementById('root');
ReactDOM.createRoot(root!).render(
<React.StrictMode>
<LocaleProvider>
<MantineProvider
withNormalizeCSS
withGlobalStyles
theme={{
colorScheme: 'dark',
fontFamily: 'Roboto',
shadows: { sm: '1px 1px 3px rgba(0, 0, 0, 0.5)' },
}}
>
<ChakraProvider theme={theme}>
<App />
</ChakraProvider>
<MantineProvider withNormalizeCSS withGlobalStyles theme={theme}>
<App />
</MantineProvider>
</LocaleProvider>
</React.StrictMode>