diff --git a/Client/src/Components/Inputs/Field/index.jsx b/Client/src/Components/Inputs/Field/index.jsx index 12ecc8775..c993f1bbf 100644 --- a/Client/src/Components/Inputs/Field/index.jsx +++ b/Client/src/Components/Inputs/Field/index.jsx @@ -1,4 +1,5 @@ import PropTypes from "prop-types"; +import { forwardRef, useState } from "react"; import { useTheme } from "@emotion/react"; import { IconButton, @@ -9,10 +10,7 @@ import { } from "@mui/material"; import VisibilityOff from "@mui/icons-material/VisibilityOff"; import Visibility from "@mui/icons-material/Visibility"; -import ContentCopyIcon from "@mui/icons-material/ContentCopy"; -import Button from "../../Button"; import "./index.css"; -import { forwardRef, useState } from "react"; /** * @param {Object} props @@ -119,6 +117,11 @@ const Field = forwardRef( onChange={onChange} disabled={disabled} inputRef={ref} + inputProps={{ + sx: { + color: theme.palette.text.secondary, + }, + }} sx={ type === "url" ? { diff --git a/Client/src/Components/Sidebar/index.jsx b/Client/src/Components/Sidebar/index.jsx index 96d2fbd75..a79de47df 100644 --- a/Client/src/Components/Sidebar/index.jsx +++ b/Client/src/Components/Sidebar/index.jsx @@ -124,8 +124,13 @@ function Sidebar() { { }; return ( - + @@ -165,9 +172,9 @@ const PasswordPanel = () => { loadingText="Saving..." disabled={Object.keys(errors).length !== 0 && true} sx={{ - paddingX: theme.gap.large, + paddingX: theme.spacing(12), width: "fit-content", - mt: theme.gap.xl, + mt: theme.spacing(20), }} /> diff --git a/Client/src/Components/TabPanels/Account/ProfilePanel.jsx b/Client/src/Components/TabPanels/Account/ProfilePanel.jsx index 7d18b48c5..732919085 100644 --- a/Client/src/Components/TabPanels/Account/ProfilePanel.jsx +++ b/Client/src/Components/TabPanels/Account/ProfilePanel.jsx @@ -216,13 +216,20 @@ const ProfilePanel = () => { const isModalOpen = (name) => isOpen === name; return ( - + @@ -295,7 +302,7 @@ const ProfilePanel = () => { label="Update" onClick={openPictureModal} sx={{ - color: theme.palette.primary.main, + color: theme.palette.common.main, }} /> @@ -303,7 +310,9 @@ const ProfilePanel = () => { -