JenkinsFile

This commit is contained in:
Marco Santos
2024-09-27 18:40:30 +01:00
parent f88eb65384
commit ba1130b65a
9 changed files with 94 additions and 28 deletions

View File

@@ -66,7 +66,7 @@ function ToggleCustomTheme({
);
}
function App() {
const [mode, setMode] = React.useState<PaletteMode>('light');
/*const [mode, setMode] = React.useState<PaletteMode>('light');
const [showCustomTheme, setShowCustomTheme] = React.useState(true);
const LPtheme = createTheme(getLPTheme(mode));
const defaultTheme = createTheme({ palette: { mode } });
@@ -77,7 +77,7 @@ function App() {
const toggleCustomTheme = () => {
setShowCustomTheme((prev) => !prev);
};
};*/
return (
<div className="App">
@@ -85,13 +85,12 @@ function App() {
<meta charSet="utf-8" />
<title>Geradores</title>
</Helmet>
<ThemeProvider theme={showCustomTheme ? LPtheme : defaultTheme}>
{ /*<ThemeProvider theme={showCustomTheme ? LPtheme : defaultTheme}></ThemeProvider>*/}
<div>
<CssBaseline />
<GeradorCC />
<Box sx={{ bgcolor: 'background.default' }}>
</Box>
</ThemeProvider>
</div>
</div>
);