Can anyone please explain me how is this theme working in vuetify to pass the variables dynamically to scss and change the theme. i.e., how are they passing the theme values from vue.js to scss. Or what is it the are doing. Please provide link for following where I can see the code written for theme I did lookup in their git hub account but to vain I'm not understanding where have they written code for theme.
Vue.use(Vuetify, {
theme: {
primary: '#3f51b5',
secondary: '#b0bec5',
accent: '#8c9eff',
error: '#b71c1c'
}
})
You can also use the pre-defined material colors.
import colors from 'vuetify/es5/util/colors'
Vue.use(Vuetify, {
theme: {
primary: colors.purple,
secondary: colors.grey.darken1,
accent: colors.shades.black,
error: colors.red.accent3
}
})
I eagerly wanna know about it please whats n hows is it working.You guys only my hope Please help. I wanna know about the core file what is been done to achieve that.Or can anyone provide the exact file link where theme.js is written
Is it possible to run only the themes part?if yes please lemme know how is it possible? i very much wanna learn it