Skip to content

armgit / ente

Public Imported from GitHub
0

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

Improve contrast of dialog contents

Manav Rathif6ca34c6e951
diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.ts
index 42f4b81385..e25b235953 100644
--- a/web/packages/base/components/utils/theme.ts
+++ b/web/packages/base/components/utils/theme.ts
@@ -550,7 +550,11 @@ const components: Components = {
styleOverrides: {
root: {
".MuiBackdrop-root": {
+ // Use a translucent color for the backdrop.
backgroundColor: "var(--mui-palette-backdrop-faint)",
+ // Apply a blur to the existing contents on which we're
+ // shown, and show some of it through by reducing opacity.
+ backdropFilter: "blur(60px) opacity(70%)",
},
"& .MuiDialog-paper": {
boxShadow: "var(--mui-palette-boxShadow-float)",