import React from 'react'; import ReactDOM from 'react-dom/client'; import 'dayjs/locale/pt-br'; // carregar sob demanda import dayjs from 'dayjs'; import { BrowserRouter } from 'react-router-dom'; import { createTheme } from '@mui/material'; import { ThemeProvider } from '@mui/system'; import App from './app/App'; import reportWebVitals from './reportWebVitals'; import AppProviders from './context'; import './index.css'; dayjs.locale('pt-br'); const theme = createTheme({ palette: { primary: { main: '#32A041', black: '#1C1C1C', lightGray: '#8C8C8C', mainBackground: '#EEEEEE', }, secondary: { main: '#00420C', }, }, typography: { fontFamily: ['Fira Code'].join(','), }, }); const root = ReactDOM.createRoot(document.getElementById('root')); root.render( ); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals reportWebVitals();