replace fixed color with theme color

This commit is contained in:
nflnkr 2022-12-15 19:24:17 +03:00
parent 46d4568d14
commit 588ab21d25
2 changed files with 5 additions and 5 deletions

@ -18,7 +18,7 @@ export default function PaymentMethodCard({ name, image }: Props) {
pr: "10px",
display: "flex",
borderRadius: "8px",
backgroundColor: "#F2F3F7",
backgroundColor: theme.palette.background.default,
border: `1px solid ${theme.palette.grey2.main}`,
gap: "20px",
alignItems: "center",

@ -48,8 +48,8 @@ export default function CreateTicket() {
placeholder="Заголовок обращения"
id="ticket-header"
sx={{
backgroundColor: "#F2F3F7",
border: `1px solid #9A9AAF`,
backgroundColor: theme.palette.background.default,
border: `1px solid ${theme.palette.grey2.main}`,
borderRadius: "10px",
p: 0,
}}
@ -71,8 +71,8 @@ export default function CreateTicket() {
<Box sx={{
overflow: "hidden",
mt: "16px",
backgroundColor: "#F2F3F7", // TODO replace colors with theme
border: `1px solid #9A9AAF`,
backgroundColor: theme.palette.background.default,
border: `1px solid ${theme.palette.grey2.main}`,
borderRadius: "10px",
}}>
<InputBase