Skip to content

armgit / ente

Public Imported from GitHub
0

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

Cleanup

Manav Rathi847cba9a8b1c
diff --git a/web/packages/accounts/components/two-factor/TwoFactorSetup.tsx b/web/packages/accounts/components/two-factor/TwoFactorSetup.tsx
index ae2bc82272..1732cf57d7 100644
--- a/web/packages/accounts/components/two-factor/TwoFactorSetup.tsx
+++ b/web/packages/accounts/components/two-factor/TwoFactorSetup.tsx
@@ -99,7 +99,7 @@ const LoadingQRCode = styled(VerticallyCentered)(
({ theme }) => `
width: 200px;
aspect-ratio:1;
- border: 1px solid ${theme.palette.stroke.muted};
+ border: 1px solid ${theme.vars.palette.stroke.muted};
margin: ${theme.spacing(2)};
`,
);
diff --git a/web/packages/base/components/EnteSwitch.tsx b/web/packages/base/components/EnteSwitch.tsx
index 6cd3b75b00..92c3dac380 100644
--- a/web/packages/base/components/EnteSwitch.tsx
+++ b/web/packages/base/components/EnteSwitch.tsx
@@ -20,11 +20,6 @@ export const EnteSwitch: React.FC<SwitchProps> = styled((props) => (
"& + .MuiSwitch-track": {
opacity: 1,
border: 0,
- // TODO(LM):
- // backgroundColor: "#65C466",
- // ...theme.applyStyles("dark", {
- // backgroundColor: "#2ECA45",
- // }),
backgroundColor: theme.vars.palette.fixed.switchOn,
},
"&.Mui-disabled + .MuiSwitch-track": {
@@ -40,10 +35,6 @@ export const EnteSwitch: React.FC<SwitchProps> = styled((props) => (
},
"&.Mui-disabled + .MuiSwitch-track": {
opacity: 0.3,
- // TODO(LM):
- // ...theme.applyStyles("light", {
- // opacity: 0.7,
- // }),
},
},
"& .MuiSwitch-thumb": {
@@ -58,10 +49,6 @@ export const EnteSwitch: React.FC<SwitchProps> = styled((props) => (
transition: theme.transitions.create(["background-color"], {
duration: 500,
}),
- // TODO(LM):
- // ...theme.applyStyles("light", {
- // backgroundColor: "#E9E9EA",
- // }),
},
// Use an alternative affordance to indicate focusVisible as the ripple
// effect is disabled.