From dd01a4aaa52972a75bb82c09288de23c5494f1b7 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Wed, 15 Jan 2025 15:21:44 +0530 Subject: [PATCH] Hover and use --- web/apps/photos/src/components/Sidebar/Preferences.tsx | 2 +- web/packages/base/components/utils/mui-theme.d.ts | 7 ++++--- web/packages/base/components/utils/theme.ts | 4 ++-- web/packages/shared/components/Menu/EnteMenuItem.tsx | 4 ++-- 4 files changed, 9 insertions(+), 8 deletions(-) diff --git a/web/apps/photos/src/components/Sidebar/Preferences.tsx b/web/apps/photos/src/components/Sidebar/Preferences.tsx index 5d68b5364a..9acd588fee 100644 --- a/web/apps/photos/src/components/Sidebar/Preferences.tsx +++ b/web/apps/photos/src/components/Sidebar/Preferences.tsx @@ -173,7 +173,7 @@ const ThemeSelector = () => { // During SSR, mode is always undefined. if (!mode) return null; - // TODO: Use translations, also remove unused t("CHOSE_THEME") + // TODO(LM): Use translations, also remove unused t("CHOSE_THEME") return ( = ({ (theme) => ({ width: "100%", "&:hover": { - backgroundColor: theme.colors.fill.faintPressed, + backgroundColor: theme.vars.palette.fill.faintHover, }, "& .MuiSvgIcon-root": { fontSize: "20px", @@ -100,7 +100,7 @@ export const EnteMenuItem: React.FC = ({ variant != "secondary" && variant != "mini" && ((theme) => ({ - backgroundColor: theme.colors.fill.faint, + backgroundColor: theme.vars.palette.fill.faint, })), ]} >