Open tenlisboa opened 5 years ago
Hey @nikwins, what do we use instead, thanks.
@Boycce https://github.com/nathanreyes/v-calendar/blob/next/src/utils/defaults/theme.js Here you go.
@nikwins where do we use that file?
@KeironLowe
Like so:
<template>
<v-date-picker
:theme="theme"
>
</v-date-picker>
</template>
<script>
export default {
data() {
return {
theme: {
title: {
light: "vc-text-lg text-style--dark hover:vc-opacity-75",
},
arrows: {
light: "text-style--dark hover:vc-opacity-50",
},
weekdays: {
light: "vc-text-sm vc-font-bold text-style--gray",
},
navPopoverContainer: {
light: "vc-rounded vc-text-sm text-style--dark vc-bg-white vc-shadow",
},
...
}
};
}
};
</script>
From now on I apologize for this can be something trivial, and I appreciate the time of who was willing to respond.
When I define the props theme-styles they have no alteration in the component, when I inspect the component through VueDevTools the prop is passed correctly.
My component remains normal with no changes:![image](https://user-images.githubusercontent.com/33580939/56623419-9c547e80-660a-11e9-8bfe-89de7aa7110f.png)
My code:
The version is:
1.0.0-beta.6