Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 90a3a38

Browse files
Leshe4kaLeshe4kagermanosin
authoredMay 26, 2025··
Colored menu elements fix (#984)
Co-authored-by: Leshe4ka <kozyurov.alexey@google.com> Co-authored-by: German Osin <german.osin@gmail.com>
1 parent 6fe71e1 commit 90a3a38

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed
 

‎frontend/src/components/Nav/Menu/MenuTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const MenuTab: FC<MenuTabProps> = ({
2020
isOpen,
2121
setColorKey,
2222
}) => (
23-
<S.MenuItem $variant="secondary" onClick={toggleClusterMenu}>
23+
<S.MenuItem $variant="primary" onClick={toggleClusterMenu}>
2424
<S.ContentWrapper>
2525
<S.StatusIconWrapper>
2626
<S.StatusIcon status={status} aria-label="status">

‎frontend/src/components/Nav/Menu/styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export const MenuItem = styled('li').attrs({ role: 'menuitem' })<{
4848

4949
export const ContentWrapper = styled.div`
5050
display: flex;
51-
align-items: baseline;
51+
align-items: center;
5252
column-gap: 4px;
5353
`;
5454

‎frontend/src/components/Nav/Nav.styled.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const ClusterList = styled.ul.attrs<{ $colorKey: ClusterColorKey }>({
1616
})`
1717
border-radius: 8px;
1818
padding: 4px 4px 4px 4px;
19-
margin-bottom: 8px;
19+
margin-bottom: -8px;
2020
background-color: ${({ theme, $colorKey }) =>
2121
theme.clusterMenu.backgroundColor[$colorKey]};
2222
`;

‎frontend/src/theme/theme.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -565,14 +565,14 @@ export const theme = {
565565
menu: {
566566
primary: {
567567
backgroundColor: {
568-
normal: Colors.brand[0],
568+
normal: 'transparent',
569569
hover: hexToRgba(Colors.brand[95], 0.03),
570570
active: hexToRgba(Colors.brand[95], 0.05),
571571
},
572572
color: {
573-
normal: Colors.brand[80],
574-
hover: Colors.brand[90],
575-
active: Colors.brand[70],
573+
normal: Colors.neutral[80],
574+
hover: Colors.neutral[90],
575+
active: Colors.neutral[95],
576576
},
577577
statusIconColor: {
578578
online: Colors.green[40],

0 commit comments

Comments
 (0)
Please sign in to comment.