HoseinPanahi
HoseinPanahi

Reputation: 591

Vuetify theme doesn't change

As doc said i used this to change default theme of my project:

Vue.use(Vuetify, {
 theme: {
 primary: '#ff0000',
 secondary: '#ff0000',
 accent: '#ff0000',
 error: '#ff0000'
}
})

But nothing happens. Default primary color(#1976D2) is still there with no change. Why it is not working?

Upvotes: 2

Views: 4034

Answers (1)

sora
sora

Reputation: 1173

Editing theme with Vue.use is not supported in older versions of Vuetify.
Upgrading Vuetify to 0.17.0 or higher will solve your problem.

Upvotes: 3

Related Questions