mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Conv
This commit is contained in:
parent
7913debe8c
commit
d3b1f0f5ab
@ -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",
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
})}
|
||||
|
Loading…
x
Reference in New Issue
Block a user