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 (
<Box
sx={(theme) => ({
backgroundColor: theme.palette.background.paper,
backgroundColor: theme.vars.palette.background.paper,
borderRadius: "4px",
overflow: "hidden",
})}
@ -326,7 +326,7 @@ const UnparseableCode: React.FC<UnparseableCodeProps> = ({
return (
<Stack
sx={(theme) => ({
backgroundColor: theme.palette.background.paper,
backgroundColor: theme.vars.palette.background.paper,
borderRadius: "4px",
overflow: "hidden",
p: "16px 20px",

View File

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

View File

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