Skip to content

armgit / ente

Public Imported from GitHub
0

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

lm switch focus

Manav Rathia1db956ae81c
diff --git a/web/packages/base/components/EnteSwitch.tsx b/web/packages/base/components/EnteSwitch.tsx
index 664e617f66..63a4afff20 100644
--- a/web/packages/base/components/EnteSwitch.tsx
+++ b/web/packages/base/components/EnteSwitch.tsx
@@ -66,8 +66,8 @@ export const EnteSwitch: React.FC<SwitchProps> = styled((props) => (
// Use an alternative affordance to indicate focusVisible as the ripple
// effect is disabled.
".MuiSwitch-switchBase.Mui-focusVisible + .MuiSwitch-track": {
- outline: `1px solid ${theme.vars.palette.fixed.white}`,
- outlineOffset: "-1px",
+ outline: `2px solid ${theme.vars.palette.stroke.muted}`,
+ outlineOffset: "-2px",
},
// Same for when the switch is actived.
".MuiSwitch-switchBase:active + .MuiSwitch-track": {