diff --git a/src/components/Button.tsx b/src/components/Button.tsx index deac450eea..54d9eaf3b0 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -231,7 +231,7 @@ export const Button = React.forwardRef( if (!disabled) { baseStyles.push(t.atoms.bg) hoverStyles.push({ - backgroundColor: t.palette.contrast_100, + backgroundColor: t.palette.contrast_25, }) } } diff --git a/src/view/com/profile/ProfileMenu.tsx b/src/view/com/profile/ProfileMenu.tsx index efc2497600..f5e050d707 100644 --- a/src/view/com/profile/ProfileMenu.tsx +++ b/src/view/com/profile/ProfileMenu.tsx @@ -9,7 +9,6 @@ import {useQueryClient} from '@tanstack/react-query' import {logger} from '#/logger' import {useAnalytics} from 'lib/analytics/analytics' import {HITSLOP_10} from 'lib/constants' -import {usePalette} from 'lib/hooks/usePalette' import {makeProfileLink} from 'lib/routes/links' import {shareUrl} from 'lib/sharing' import {toShareUrl} from 'lib/strings/url-helpers' @@ -24,7 +23,7 @@ import { import {useSession} from 'state/session' import {EventStopper} from 'view/com/util/EventStopper' import * as Toast from 'view/com/util/Toast' -import {useTheme} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {ArrowOutOfBox_Stroke2_Corner0_Rounded as Share} from '#/components/icons/ArrowOutOfBox' import {Flag_Stroke2_Corner0_Rounded as Flag} from '#/components/icons/Flag' import {ListSparkle_Stroke2_Corner0_Rounded as List} from '#/components/icons/ListSparkle' @@ -49,7 +48,7 @@ let ProfileMenu = ({ const {currentAccount, hasSession} = useSession() const t = useTheme() // TODO ALF this - const pal = usePalette('default') + const alf = useTheme() const {track} = useAnalytics() const {openModal} = useModalControls() const reportDialogControl = useReportDialogControl() @@ -187,21 +186,21 @@ let ProfileMenu = ({ - {({props}) => { + {({props, state}) => { return ( - )