Using the latest CSS variables improvements from MUI
UI Foundations Kit adopted the latest CSS variables improvements from MUI to provide a more flexible and customizable theming experience. This sets up your app to support Pigment CSS and build on top of the built-in browser based CSS features of CSS variables.
This means that your app will automatically begin to take advantage of great features like:
You can access theme tokens in your components via the theme directly:
Or using regular CSS:
Using the latest CSS variables improvements from MUI
UI Foundations Kit adopted the latest CSS variables improvements from MUI to provide a more flexible and customizable theming experience. This sets up your app to support Pigment CSS and build on top of the built-in browser based CSS features of CSS variables.
This means that your app will automatically begin to take advantage of great features like:
You can access theme tokens in your components via the theme directly:
Or using regular CSS: