feat: dark mode

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-31 01:27:44 +00:00
parent e53642db31
commit d676383d22
26 changed files with 297 additions and 551 deletions

View File

@@ -30,7 +30,7 @@ const ColorSelector: React.FC<ColorSelectorProps & TextFieldProps> = ({
<Box mb={1}>
<Stack direction={'row'}>
<TextField
sx={{ backgroundColor: 'white' }}
sx={{ backgroundColor: 'background.paper' }}
value={color}
onChange={handleColorChange}
{...props}

View File

@@ -19,7 +19,7 @@ const TextFieldWithDesc = ({
<Box>
<TextField
placeholder={placeholder}
sx={{ backgroundColor: 'white' }}
sx={{ backgroundColor: 'background.paper' }}
value={value}
onChange={(event) => onOwnChange(event.target.value)}
{...props}

View File

@@ -36,7 +36,7 @@ export default function ToolOptions<T extends FormikValues>({
mb: 2,
borderRadius: 2,
padding: 2,
backgroundColor: theme.palette.background.default,
backgroundColor: 'background.lightSecondary',
boxShadow: '2'
}}
mt={2}