chore: update theme with new theme from design

This commit is contained in:
Sajad Mirjalili
2025-07-23 14:01:45 +03:30
parent 81904f7fd6
commit 0e537aa5ef
3 changed files with 60 additions and 229 deletions

View File

@@ -1,4 +1,11 @@
import { Box, CssBaseline, TextField, useColorScheme } from '@mui/material';
import {
Alert,
Box,
CssBaseline,
TextField,
Typography,
useColorScheme,
} from '@mui/material';
import './App.css';
import { useTranslation } from 'react-i18next';
import { LanguageManager } from './components/LanguageManager';
@@ -11,11 +18,27 @@ function App() {
<CssBaseline />
<LanguageManager />
<div style={{ padding: '16px' }}>
<h1>{t('helloWorld')}</h1>
<p>The main content and router will go here.</p>
<Box sx={{ display: 'flex', flexDirection: 'column', gap: '10px' }}>
<Typography variant="h3">{t('helloWorld')}</Typography>
<Box
sx={{ display: 'flex', flexDirection: 'column', gap: '10px', mt: 5 }}
>
<ThemeToggleButton />
<Button color="secondary" variant="contained">
secondary button
</Button>
<TextField label={t('helloWorld')} />
<Alert severity="success" variant="filled">
success
</Alert>
<Alert severity="warning" variant="filled">
warning
</Alert>
<Alert severity="info" variant="filled">
info
</Alert>
<Alert severity="error" variant="filled">
error
</Alert>
</Box>
</div>
</>