openkfw / Oscar

A digital decision support system for humanitarian operations
https://www.oscarplatform.org/
GNU General Public License v3.0
11 stars 1 forks source link

UI new palette for MuiTheme #139

Open bariela opened 2 years ago

bariela commented 2 years ago

Description

Cleaning up styles on frontend, so all colors are stored in palette in material-ui theme,
also preparation for multiple themes.

Motivation and Context

Right now, the colors in components are often hardcoded directly in code, styles created in component file or even inline styles. This is attempt to use single palette defined in one place. Some of the colors are very similar and exist only due to lack of single palette, we'd like to remedy it and use just few selected.

How has this been tested?

Screenshots (if appropriate):

Types of changes

Checklist: