Skip to content

armgit / ente

Public Imported from GitHub
0

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

Use

Manav Rathid2defe4d2732
diff --git a/web/packages/gallery/components/FullScreenDropZone.tsx b/web/packages/gallery/components/FullScreenDropZone.tsx
index 638fe42d38..e6cab2479c 100644
--- a/web/packages/gallery/components/FullScreenDropZone.tsx
+++ b/web/packages/gallery/components/FullScreenDropZone.tsx
@@ -65,7 +65,8 @@ export const FullScreenDropZone: React.FC<
);
};
-const DropZoneOverlay = styled(Stack)`
+const DropZoneOverlay = styled(Stack)(
+ ({ theme }) => `
position: absolute;
left: 0;
top: 0;
@@ -75,12 +76,13 @@ const DropZoneOverlay = styled(Stack)`
justify-content: center;
align-items: center;
transition: border 0.24s ease-in-out;
- border-width: 8px;
+ border-width: 5px;
border-style: solid;
- border-color: #51cd7c;
- background: rgba(0, 0, 0, 0.9);
+ border-color: ${theme.vars.palette.accent.light};
+ background-color: ${theme.vars.palette.backdrop.base};
z-index: 3000;
-`;
+`,
+);
const CloseButton = styled(IconButton)`
position: absolute;
diff --git a/web/packages/gallery/tsconfig.json b/web/packages/gallery/tsconfig.json
index b2a1203623..fc93afc7dd 100644
--- a/web/packages/gallery/tsconfig.json
+++ b/web/packages/gallery/tsconfig.json
@@ -1,4 +1,8 @@
{
"extends": "@/build-config/tsconfig-next.json",
- "include": [".", "../../packages/base/global-electron.d.ts"]
+ "include": [
+ ".",
+ "../../packages/base/global-electron.d.ts",
+ "../../packages/base/components/utils/mui-theme.d.ts"
+ ]
}