I want to customize the calendar header using the theme prop, but it's not working when I use headerTitle style property.

I tried using a function as well, but still no results.
I want to customize the content style as well, but it's also not working:

Anyone know what the problem is or if I am missing something or doing something wrong?
Thank you!
I thing the prop to bind to is not theme but theme-styles
@paulwanjohi I've tried theme-styles as well, although i think i read somewhere that it's deprecated now. Either way it did not work though
I have had success using the theme prop and overwritting the styles you see defined here https://github.com/nathanreyes/v-calendar/blob/master/src/utils/defaults/theme.js.
themeStyles: {
container: {
light: 'vc-text-gray-900 vc-bg-white h-100'
},
header: {
light: 'calendar-header'
}
}
Provide an example of how I use the theme.
I think developers just need more time to complete the theme guide.
<template>
<v-calendar
class="calendar"
:theme='themeStyles'
:attributes='attrs'
...
/>
</template>
<script>
import * as moment from 'moment'
export default {
data () {
return {
themeStyles: {
dayNotInMonth: 'not-in-month'
},
attrs: [
{
key: 'today',
highlight: {
fillMode: 'light'
},
dates: '2020-05-20',
order: -1
},
{
key: 'selected',
highlight: {
fillMode: 'light',
class: 'selected-bg',
contentClass: 'selected-color',
},
dates: {
start: '2020-05-01',
end: '2020-05-07'
}
},
]
}
}
...
}
</script>
<style scoped>
.calendar >>> .not-in-month {
color: rgba(0, 0, 0, 0.5);
}
.calendar >>> .selected-bg {
background-color: #3f51b5;
}
.calendar >>> .selected-color {
color: white;
}
</style>
Most helpful comment
Provide an example of how I use the theme.
I think developers just need more time to complete the theme guide.