This commit is contained in:
Manav Rathi 2025-01-15 16:42:24 +05:30
parent 7913debe8c
commit d3b1f0f5ab
No known key found for this signature in database
3 changed files with 7 additions and 7 deletions

View File

@ -222,7 +222,7 @@ const OTPDisplay: React.FC<OTPDisplayProps> = ({ code, otp, nextOTP }) => {
return ( return (
<Box <Box
sx={(theme) => ({ sx={(theme) => ({
backgroundColor: theme.palette.background.paper, backgroundColor: theme.vars.palette.background.paper,
borderRadius: "4px", borderRadius: "4px",
overflow: "hidden", overflow: "hidden",
})} })}
@ -326,7 +326,7 @@ const UnparseableCode: React.FC<UnparseableCodeProps> = ({
return ( return (
<Stack <Stack
sx={(theme) => ({ sx={(theme) => ({
backgroundColor: theme.palette.background.paper, backgroundColor: theme.vars.palette.background.paper,
borderRadius: "4px", borderRadius: "4px",
overflow: "hidden", overflow: "hidden",
p: "16px 20px", p: "16px 20px",

View File

@ -18,10 +18,10 @@ export const PasswordStrengthHint: React.FC<PasswordStrengthHintProps> = ({
const theme = useTheme(); const theme = useTheme();
const color = const color =
passwordStrength == "weak" passwordStrength == "weak"
? theme.palette.critical.main ? theme.vars.palette.critical.main
: passwordStrength == "moderate" : passwordStrength == "moderate"
? theme.palette.warning.main ? theme.vars.palette.warning.main
: theme.palette.accent.main; : theme.vars.palette.accent.main;
return ( return (
<Typography <Typography

View File

@ -391,8 +391,8 @@ const PaidSubscriptionPlanSelectorCard: React.FC<
<Box> <Box>
<Stack <Stack
sx={(theme) => ({ sx={(theme) => ({
border: `1px solid ${theme.palette.divider}`, border: `1px solid ${theme.vars.palette.divider}`,
borderRadius: `${theme.shape.borderRadius}px`, borderRadius: 1,
gap: 3, gap: 3,
p: 1.5, p: 1.5,
})} })}