Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Adding colours to components

Colours should not be added to the base theme, this is because the base theme should be as generic as possible for other themes to inherit from. Colours should be defined in each theme file, in both light and dark mode.

  1. Find the CSS to target through the Material UI docs, or the CSS inspector

  2. Add colour within relevant class

...