π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
ep
Manav Rathi82cb806fabd5
diff --git a/web/apps/auth/src/pages/auth.tsx b/web/apps/auth/src/pages/auth.tsxindex 1f440975a7..8ac91cfef7 100644--- a/web/apps/auth/src/pages/auth.tsx+++ b/web/apps/auth/src/pages/auth.tsx@@ -222,7 +222,7 @@ const OTPDisplay: React.FC<OTPDisplayProps> = ({ code, otp, nextOTP }) => {return (<Boxsx={(theme) => ({- backgroundColor: theme.vars.palette.background.paper,+ backgroundColor: theme.vars.palette.background.elevatedPaper,borderRadius: "4px",overflow: "hidden",})}diff --git a/web/packages/base/components/utils/mui-theme.d.ts b/web/packages/base/components/utils/mui-theme.d.tsindex 663d391330..96f2535d02 100644--- a/web/packages/base/components/utils/mui-theme.d.ts+++ b/web/packages/base/components/utils/mui-theme.d.ts@@ -10,11 +10,12 @@ import type {} from "@mui/material/themeCssVarsAugmentation";declare module "@mui/material/styles" {/**- * Add "paper2" the "background" color tokens, giving us:+ * Add new "background" color tokens, giving us:** - background.default* - background.paper* - background.paper2+ * - background.elevatedPaper* - background.searchInput*/interface TypeBackground {@@ -22,6 +23,16 @@ declare module "@mui/material/styles" {* A second level elevation, indicating a paper within a paper.*/paper2: string;+ /**+ * The first among background.paper and background.paper2 that is not+ * the same as the default background.+ *+ * In light mode, background.default and background.paper are the same,+ * while in dark mode background.paper is already elevated. This+ * property can be used to obtain the first paper that is actually+ * elevated above the background irrespective of the theme.+ */+ elevatedPaper: string;/*** Background color for the search input area.*/diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.tsindex 6b68d2c201..1971b905fd 100644--- a/web/packages/base/components/utils/theme.ts+++ b/web/packages/base/components/utils/theme.ts@@ -242,7 +242,10 @@ const _colors = {const getColorSchemes = (colors: ReturnType<typeof getColors>) => ({light: {palette: {- background: colors.light.background,+ background: {+ ...colors.light.background,+ elevatedPaper: colors.light.background.paper2,+ },backdrop: colors.light.backdrop,primary: {main: colors.fixed.black,@@ -334,7 +337,10 @@ const getColorSchemes = (colors: ReturnType<typeof getColors>) => ({// -- See the light mode section for commentsdark: {palette: {- background: colors.dark.background,+ background: {+ ...colors.dark.background,+ elevatedPaper: colors.dark.background.paper,+ },backdrop: colors.dark.backdrop,primary: {main: colors.fixed.white,