Skip to content

Commit

Permalink
upcoming: [M3-9002] - Replace hamburger icon in left navigation (#11462)
Browse files Browse the repository at this point in the history
* upcoming: [M3-9002] - Left Navigation Update

* removed akamai color logo

* updated pin icon tooltip text

* Fix table focus state and global header background

* Update logo color

* Revert logo change

---------

Co-authored-by: Jaalah Ramos <jaalah.ramos@gmail.com>
  • Loading branch information
harsh-akamai and jaalah authored Dec 31, 2024
1 parent b7a8e87 commit 8372aa2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ export const StyledAkamaiLogo = styled(AkamaiLogo, {
'& .akamai-logo-name': {
transition: theme.transitions.create(['opacity']),
},
'path, polygon': {
fill: theme.tokens.color.Neutrals.White,
[theme.breakpoints.down('md')]: {
fill: theme.tokens.sideNavigation.Icon,
},
},
// give the svg a transition so it smoothly resizes
transition: 'width .1s linear',
}));
Expand Down
5 changes: 3 additions & 2 deletions packages/ui/src/foundations/themes/dark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
Content,
Dropdown,
Elevation,
GlobalHeader,
Interaction,
NotificationToast,
Select,
Expand Down Expand Up @@ -228,8 +229,8 @@ export const darkTheme: ThemeOptions = {
MuiAppBar: {
styleOverrides: {
root: {
backgroundColor: tempReplacementforColorNeutralsBlack,
color: primaryColors.text,
backgroundColor: GlobalHeader.Background,
color: GlobalHeader.Text.Default,
},
},
},
Expand Down
3 changes: 3 additions & 0 deletions packages/ui/src/foundations/themes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import type {
ElevationTypes as ElevationTypesLight,
FontTypes,
GlobalFooterTypes,
GlobalHeaderTypes,
InteractionTypes as InteractionTypesLight,
RadiusTypes,
SideNavigationTypes as SideNavigationTypesLight,
Expand Down Expand Up @@ -124,6 +125,7 @@ declare module '@mui/material/styles/createTheme' {
color: ColorTypes;
font: FontTypes;
footer: GlobalFooterTypes;
header: GlobalHeaderTypes;
spacing: SpacingTypes;
// ----------------------------------------
accent: AccentTypes;
Expand Down Expand Up @@ -164,6 +166,7 @@ declare module '@mui/material/styles/createTheme' {
color?: ColorTypes;
font?: FontTypes;
footer?: GlobalFooterTypes;
header?: GlobalHeaderTypes;
spacing?: SpacingTypes;
// ----------------------------------------
accent?: AccentTypes;
Expand Down
8 changes: 5 additions & 3 deletions packages/ui/src/foundations/themes/light.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import {
Elevation,
Font,
GlobalFooter,
GlobalHeader,
Interaction,
NotificationToast,
Radius,
Expand Down Expand Up @@ -333,8 +334,8 @@ export const lightTheme: ThemeOptions = {
MuiAppBar: {
styleOverrides: {
root: {
backgroundColor: bg.bgPaper,
color: primaryColors.text,
backgroundColor: GlobalHeader.Background,
color: GlobalHeader.Text.Default,
position: 'relative',
},
},
Expand Down Expand Up @@ -1454,7 +1455,7 @@ export const lightTheme: ThemeOptions = {
'&.Mui-active': {
color: Table.HeaderFilled.Text,
},
':hover': {
':hover, :focus': {
...MuiTableHeadSvgStyles,
color: Color.Brand[60],
cursor: 'pointer',
Expand Down Expand Up @@ -1760,6 +1761,7 @@ export const lightTheme: ThemeOptions = {
elevation: Elevation,
font: Font,
footer: GlobalFooter,
header: GlobalHeader,
interaction: Interaction,
radius: Radius,
sideNavigation: SideNavigation,
Expand Down

0 comments on commit 8372aa2

Please sign in to comment.