mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 15:30:40 +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 (
|
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",
|
||||||
|
@ -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
|
||||||
|
@ -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,
|
||||||
})}
|
})}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user