I've been struggling for days to find a solution to this issue...
https://i.stack.imgur.com/KDN7T.jpg
https://i.stack.imgur.com/tOfCl.jpg
The image above illustrates the challenge I'm facing - trying to apply data values from elsewhere to the Vuetify Primary. Despite my incessant googling, I have yet to come across the answer... Can you provide some insight?
Here is the relevant JavaScript code:
const primaryColor = variablecolor
export function setColor(variablecolor) {
console.log('colorCheck',variablecolor)
}
export default createVuetify({
theme: {
themes: {
light: {
colors: {
primary: primaryColor,
secondary: '#5CBBF6',
},
},
},
},
})
These are the methods that interact with the aforementioned JavaScript:
methods: {
updateColor() {
setColor(this.btn_color)
},
}