Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

From theme

Manav Rathi1570cf9745a3
diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsx
index d795c79771..a03bead98f 100644
--- a/web/apps/auth/src/pages/auth.tsx
+++ b/web/apps/auth/src/pages/auth.tsx
@@ -226,11 +226,11 @@ interface OTPDisplayProps {
const OTPDisplay: React.FC<OTPDisplayProps> = ({ code, otp, nextOTP }) => {
return (
<Box
- sx={{
- backgroundColor: "rgba(40, 40, 40, 0.6)",
+ sx={(theme) => ({
+ backgroundColor: theme.palette.background.paper,
borderRadius: "4px",
overflow: "hidden",
- }}
+ })}
>
<CodeValidityBar code={code} />
<Stack