refactor: tweaks to chakra theme config (#824)

This commit is contained in:
Carlos Valente
2024-03-16 09:42:06 +01:00
committed by GitHub
parent 0a8155b6e3
commit a9e0e2b091
2 changed files with 3 additions and 2 deletions
+1 -2
View File
@@ -47,9 +47,8 @@ function App() {
}
};
}, [isElectron, sendToElectron]);
return (
<ChakraProvider resetCSS theme={theme}>
<ChakraProvider disableGlobalStyle resetCSS theme={theme}>
<QueryClientProvider client={ontimeQueryClient}>
<AppContextProvider>
<BrowserRouter>
+2
View File
@@ -31,6 +31,8 @@ import {
import { ontimeTooltip } from './ontimeTooltip';
const theme = extendTheme({
initialColorMode: 'dark',
useSystemColorMode: false,
components: {
Alert: {
variants: {