Design a Material UI theme with AI
Give shared colours, typography and spacing a home in a React project. Check how components inherit theme values and behave across light and dark schemes.
Design a Material UI theme with AI when a brand update changes one button but leaves another untouched. The first may read its colour from the theme while the second uses a hard-coded value. A useful change starts by finding where the value is owned.
The material-ui-theming skill covers the provider, theme structure and tokens consumed by components. It can guide a team through colour schemes, CSS variables and custom TypeScript theme keys. A local preview lets the designer see whether the chosen palette still reads clearly in the states people use.
What it does
- Place the theme provider around the intended part of an app
- Define semantic palette roles and typography settings
- Apply a consistent spacing scale
- Set up and compare light and dark schemes
- Give a custom token an explicit TypeScript definition
Install and use
- Install the skill with its guide and examples in a compatible agent. Use an existing React project with Material UI and its normal development and type-checking tools.
- Ask, “Put our primary action colour in the theme. Show the sign-in form in both colour schemes and identify any button still using its own colour.”
- Preview a representative form, including disabled fields and focused controls. Confirm that local exceptions remain intentional.
FAQ
Source
Made by MUI. Original skill: material-ui-theming, published on GitHub under the MIT licence.
View on GitHub