Рет қаралды 66,619
In this video we go over Material UI V5's Theming! This is a big one, and probably the most important thing to know when using MUI V5. We go over how to override primary, secondary, and font variants from the default MUI Theme. Also how to create your own palette and colors and fonts! Also how to use CSSBaseline, make your app by default into dark mode, and so much more! You'll be using Material UI's createTheme and themeProvider components.
Join our coding Discord:
/ discord
LINKS
Code Sandbox: codesandbox.io/s/theming-in1w...
Material UI Getting Started Guide: mui.com/getting-started/insta...
MUI Theme Creator by Brian Reynolds: bareynol.github.io/mui-theme-...
MUI V5 Theme documentation: mui.com/material-ui/customiza...
MUI V5 default theme object: mui.com/material-ui/customiza...
SX Prop: • MUI V5: The SX Prop
MUI V5 Typography: • MUI V5: Typography
TIMESTAMPS
0:00 Intro
1:00 Default theme object & intro to themes
7:00 Colors (palette) overriding theme defaults
9:00 Dark mode & CSSBaseline
12:00 MUI Theme Creator tool by Brian Reynolds
13:45 Creating a custom color in the palette and using it with the SX Prop
17:30 Overriding Typography theme defaults
19:00 Custom typography variants & using it with the variant prop
19:45 Custom spacing & paddings
Follow me on Social Media:
/ sistillianthony
/ anthonysistilli