CodyBontecou/nuxt3-and-vuetify

Theme Color ?

kaboume opened this issue · 3 comments

Hi,
Do you know how to change the colors theme ?
Thanks

I tried but it didn't worked

const vuetify = createVuetify({
    components,
    directives,
    theme: {
      defaultTheme: 'myCustomTheme',
      themes: {
        myCustomTheme: {
          primary: '#b53f3f',
          secondary: '#b0bec5',
          accent: '#8c9eff',
          error: '#b71c1c',
        },
      },
    },
  })

Hey Kaboume, you need to export default createVuetify({...}) rather than define it in a variable.

https://next.vuetifyjs.com/en/features/theme/

Thank you !