MarisiaS / SMM

0 stars 0 forks source link

FE - App Theme #89

Closed viriponce closed 3 months ago

viriponce commented 3 months ago

This PR addresses issue #88

Implementation This PR implements a custom theme in blue shades for Material-UI components to use across the app.

  1. Create Theme: Inside the src folder, the file frontend/src/theme.jsxwas created to define a Custom theme with the following colors to use across the application: shades

  2. Apply the Theme In order to apply the team, we need to wrap the application with the ThemeProvider component, therefore the ThemeProvider and CssBaseline components were added to the rendered elements in the main.jsxfile.

  3. Use the Theme colors in the components The following components were updated to use the colors defined by the theme:

This PR also updates the files package.json and package-lock.json because some components needed to be installed from mui.

Screenshot 2024-05-28 at 4 46 16 PM