Skip to content

Commit

Permalink
SideMenu temp fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
abailly-akamai committed Jan 6, 2025
1 parent 9464acf commit db22698
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,9 @@ export const StyledPrimaryLinkBox = styled(Box, {
? theme.tokens.sideNavigation.SelectedMenuItem.Text
: theme.tokens.sideNavigation.DefaultMenuItem.Text,
display: 'flex',
font: theme.tokens.typography.Label.Semibold.S,
// TODO: Enable token once we have imported Nunito
// font: theme.tokens.typography.Label.Semibold.S,
fontFamily: 'LatoWeb',
justifyContent: 'space-between',
transition: theme.transitions.create(['color', 'opacity']),
width: '100%',
Expand Down Expand Up @@ -149,7 +151,9 @@ export const StyledAccordion = styled(Accordion, {
},
alignItems: 'center',
display: 'flex',
font: theme.tokens.typography.Label.Bold.S,
// TODO: Enable token once we have imported Nunito
// font: theme.tokens.typography.Label.Bold.S,
fontFamily: 'LatoWebBold',
padding: '0 10px',
},
'.MuiAccordionDetails-root': {
Expand Down
2 changes: 1 addition & 1 deletion packages/manager/src/components/PrimaryNav/SideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const StyledDrawer = styled(Drawer, {
borderRight: `1px solid ${theme.tokens.sideNavigation.Border}`,
},
transform: 'none',
transition: 'width linear .1s',
transition: 'width linear 100ms, height linear 250ms',
width: SIDEBAR_WIDTH,
},
...(props.collapse && {
Expand Down

0 comments on commit db22698

Please sign in to comment.