Theme providers

The theme provider allows you to style a section of your application in a different theme from the default

API

Examples

Background

By default, v-theme-provider is a renderless component that allows you to change the applied theme for all of its children. When using the with-background prop, the v-theme-provider wraps its children in an element and applies the selected theme’s background color to it.

v-theme-provider/prop-with-background.vue

Ready for more?

Continue your learning with related content selected by the Team or move between pages by using the navigation links below.
Edit this page onGitHub