Style
Defines core of theme. How theme is being set using Material-UI.
Customize Berry with your theme. You can change the colors, the typography, and much more. Material-UI provides flexibility to change the style of the project in a single place and on top of it, we made it more centralized and consistent by proper file structure.
You might don't need to update anything in..\src\themes
unless wanted to have separate theming.
Theme configuration
The whole theme can be configured from the folder ..\src\themes
. Theme initialization starts in index.jsx
, where palette, typography, and component's overridable style exist.
As you can see colors for the theme came from the central location import value from '../assets/scss/_themes-vars.module.scss';
You can check other settings like theme typography, palette, and components style override in the same folder. ..src\themes
How to customize it?
You might come across questions like how to change a theme's primary color? How to change textbox or other components which can apply to an entire theme? Check below for each of your need:
ColorTypographyOverridesWas this helpful?