Skip to content

Commit

Permalink
Update our primary nav headings
Browse files Browse the repository at this point in the history
  • Loading branch information
jaalah committed Jan 31, 2025
1 parent f15ab45 commit c3fd63a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions packages/manager/src/components/PrimaryNav/PrimaryNav.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,17 @@ export const StyledAccordion = styled(Accordion, {
})<{ isActiveProductFamily: boolean; isCollapsed: boolean }>(
({ theme, ...props }) => ({
'& h3': {
'& p': {
'& span': {
color: theme.tokens.color.Neutrals['White'],
font: props.isActiveProductFamily
? theme.tokens.typography.Label.Bold.S
: theme.tokens.typography.Label.Semibold.S,
fontFamily: theme.tokens.font.FontFamily.Brand,
fontSize: theme.tokens.font.FontSize.Xxxs,
// eslint-disable-next-line
fontWeight: theme.tokens.font.FontWeight.Extrabold,
letterSpacing: theme.tokens.typography.Heading.OverlineLetterSpacing,
lineHeight: theme.tokens.font.LineHeight.Xxxs,
paddingLeft: theme.tokens.spacing[50],
paddingRight: theme.tokens.spacing[50],
textTransform: 'uppercase',
transition: theme.transitions.create(['opacity']),
...(props.isCollapsed && {
opacity: 0,
Expand Down
2 changes: 1 addition & 1 deletion packages/manager/src/components/PrimaryNav/PrimaryNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ export const PrimaryNav = (props: PrimaryNavProps) => {
heading={
<>
{productFamily.icon}
<p>{productFamily.name}</p>
<span>{productFamily.name}</span>
</>
}
isActiveProductFamily={
Expand Down

0 comments on commit c3fd63a

Please sign in to comment.