Skip to content

Commit

Permalink
feat(recolouring): update app-bar avatar background color (#3455)
Browse files Browse the repository at this point in the history
Co-authored-by: Ddouglasz <[email protected]>
  • Loading branch information
ddouglasz and Ddouglasz authored Mar 20, 2024
1 parent cf7c7bb commit a79f068
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/early-dots-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/application-shell': minor
---

Update app-bar user settings avatar to display the new recolouring background color
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ const getUserSettingsMenuItemLinkStyles = () => css`
const UserSettingsMenuBody = (props: MenuBodyProps) => {
// Focus on a menu item when it's opened through keyboard
const menuElementRef = useRef<HTMLAnchorElement>(null);
const { themedValue } = useTheme();
useEffect(() => {
menuElementRef.current?.focus();
}, []);
Expand Down Expand Up @@ -216,6 +217,7 @@ const UserSettingsMenuBody = (props: MenuBodyProps) => {
firstName={props.firstName}
lastName={props.lastName}
gravatarHash={props.gravatarHash}
color={themedValue('accent', 'purple')}
/>
<div>
<Text.Subheadline as="h4">
Expand Down

1 comment on commit a79f068

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for application-kit-custom-views ready!

✅ Preview
https://application-kit-custom-views-c1guqshhz-commercetools.vercel.app

Built with commit a79f068.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.