Fixed panels darkmode styles

This commit is contained in:
Daniel Cojocea committed 2024-09-06 18:13:38 -04:00
1 parent ee55394719
commit ce66bd6d3c
6 files changed
+59 -38

No files matched your search

@@ -414,12 +414,12 @@ const ProfilePanel = () => {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: 450,
width: 475,
bgcolor: theme.palette.background.main,
border: 1,
borderColor: theme.palette.border.light,
borderRadius: theme.shape.borderRadius,
boxShadow: 24,
boxShadow: theme.shape.boxShadow,
p: theme.spacing(15),
"&:focus": {
outline: "none",
@@ -1,6 +1,13 @@
import { useTheme } from "@emotion/react";
import TabPanel from "@mui/lab/TabPanel";
import { Button, ButtonGroup, Modal, Stack, Typography } from "@mui/material";
import {
Box,
Button,
ButtonGroup,
Modal,
Stack,
Typography,
} from "@mui/material";
import { useEffect, useState } from "react";
import Field from "../../Inputs/Field";
import { credentials } from "../../../Validation/validation";
@@ -88,7 +95,7 @@ const TeamPanel = () => {
id: idx,
data: (
<Stack>
<Typography style={{ color: theme.palette.text.secondary }}>
<Typography color={theme.palette.text.secondary}>
{member.firstName + " " + member.lastName}
</Typography>
<Typography>
@@ -322,7 +329,6 @@ const TeamPanel = () => {
aria-describedby="invite-member-to-team"
open={isOpen}
onClose={closeInviteModal}
disablePortal
>
<Stack
gap={theme.spacing(5)}
@@ -331,29 +337,38 @@ const TeamPanel = () => {
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
width: 400,
width: 450,
bgcolor: theme.palette.background.main,
border: 1,
borderColor: theme.palette.border.light,
borderRadius: theme.shape.borderRadius,
boxShadow: 24,
boxShadow: theme.shape.boxShadow,
p: theme.spacing(15),
"&:focus": {
outline: "none",
},
}}
>
<Typography id="modal-invite-member" component="h1">
Invite new team member
</Typography>
<Typography
id="invite-member-to-team"
component="p"
sx={{ mb: theme.spacing(6) }}
>
When you add a new team member, they will get access to all
monitors.
</Typography>
<Box>
<Typography
id="modal-invite-member"
component="h1"
fontWeight={600}
fontColor={theme.palette.text.secondary}
>
Invite new team member
</Typography>
<Typography
id="invite-member-to-team"
component="p"
fontSize={13}
color={theme.palette.text.accent}
sx={{ mt: theme.spacing(1), mb: theme.spacing(4) }}
>
When you add a new team member, they will get access to all
monitors.
</Typography>
</Box>
<Field
type="email"
id="input-team-member"