Skip to content

Commit

Permalink
changes for theme breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ahslr committed Jan 26, 2021
1 parent b319418 commit ec26139
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/config/colors/light.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const options = { safe: true, delimiter: '_' };
export const nestedColors = {
base: {
background: '#f8f8f8',
'top-bar-navigation': '#f3f3f3',
'top-bar-navigation': '#000000',
'secondary-navigation-bar': '#e9e9e9',
'wallet-sidebar-and-popup': '#f8f8f8',
footer: '#000000',
Expand Down
8 changes: 4 additions & 4 deletions web/src/utils/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ export const filterTheme = (theme) => {
};

export const CALCULATED_COLOR_RATIO_OBJECT = {
'base_top-bar-navigation': 0.7,
'base_secondary-navigation-bar': 0.5,
'base_wallet-sidebar-and-popup': 0.3,
base_footer: 0.6,
'base_top-bar-navigation': 1,
'base_secondary-navigation-bar': 0.1,
'base_wallet-sidebar-and-popup': 0,
base_footer: 1,
};

export const CALCULATED_COLOR_KEYS = Object.keys(CALCULATED_COLOR_RATIO_OBJECT);
Expand Down

0 comments on commit ec26139

Please sign in to comment.