Skip to content

Commit

Permalink
main app background color change - #533
Browse files Browse the repository at this point in the history
  • Loading branch information
vbojilova committed Feb 14, 2024
1 parent 8ad9a2e commit e323b8c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/containers/App/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Main = styled.div`
left: 0;
right: 0;
bottom:0;
background-color: ${(props) => props.isHome ? 'transparent' : palette('light', 0)};
background-color: ${(props) => props.isHome ? 'transparent' : palette('mainBackground', 0)};
overflow: hidden;
@media (min-width: ${(props) => props.theme.breakpoints.small}) {
Expand Down Expand Up @@ -104,7 +104,7 @@ class App extends React.PureComponent { // eslint-disable-line react/prefer-stat
label: intl.formatMessage(messages.frameworks.all),
active: (activeId === 'all') || frameworks.size === 0,
});
}
};

prepareMainMenuItems = (
isManager,
Expand Down Expand Up @@ -176,7 +176,7 @@ class App extends React.PureComponent { // eslint-disable-line react/prefer-stat
]);
}
return navItems;
}
};

render() {
const {
Expand Down
2 changes: 2 additions & 0 deletions app/themes/theme-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ theme.palette = {
// UI PALETTES //////////////////////////////////////////////////////////////
//

// main background
mainBackground: ['#f2f3f4'],
// text
// [#primaryFont, #secondaryFont, #inverse]
text: [dark[0], dark[1], primary[4]],
Expand Down

0 comments on commit e323b8c

Please sign in to comment.