Skip to content

Commit

Permalink
remove color overrides for contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
cphelefu committed Feb 16, 2024
1 parent a49c248 commit d63b1f5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/geoview-core/src/ui/style/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const opacity = {
export const geoViewColors: IGeoViewColors = {
white: '#FFFFFF',

bgColor: new GeoViewColorClass('#F1F2F5'),
bgColor: new GeoViewColorClass('#F2F3F6'),
primary: new GeoViewColorClass('#515BA5'),
secondary: new GeoViewColorClass('#1976d2'),
textColor: new GeoViewColorClass('#393939'),
Expand Down
4 changes: 2 additions & 2 deletions packages/geoview-core/src/ui/style/light-theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ export const lightThemeColors: IGeoViewColors = {
...defaultGeoViewColors,

bgColor: new GeoViewColorClass('#F9F9F9'),
primary: new GeoViewColorClass('#AA4A44'),
textColor: new GeoViewColorClass('#000000'),
primary: new GeoViewColorClass('#0066CC'),
textColor: new GeoViewColorClass('#1C2025'),
};
20 changes: 20 additions & 0 deletions packages/geoview-core/src/ui/style/themeOptionsGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,26 @@ export const generateThemeOptions = (geoViewColors: IGeoViewColors = defaultGeoV
},
},
},
MuiPaper: {
styleOverrides: {
root: {
backgroundColor: geoViewColors.bgColor.light[300],
'&.selected': {
border: `2px solid ${geoViewColors.primary.main}`,
}
},
},
},
MuiButton: {
styleOverrides: {
root: {
fontWeight: 700,
'&.rounded': {
borderRadius: 20,
},
},
},
},
MuiIconButton: {
styleOverrides: {
root: {
Expand Down

0 comments on commit d63b1f5

Please sign in to comment.