mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 23:46:03 +01:00
chore(web): remove chakra packages
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user