nathanreyes / v-calendar

An elegant calendar and datepicker plugin for Vue.
https://vcalendar.io
MIT License
4.39k stars 858 forks source link

How to apply custom styling? #478

Open marbuser opened 4 years ago

marbuser commented 4 years ago

I've tried looking at the docs page but it claims the "theming" section isn't complete so I was hoping to get some help here.

I want to apply my own custom classes to the elements, not just change their colour via tailwind. I'm using bootstrap on my project because it's more appropriate for our uses and I'd like to make sure the input classes get applied to input part, as well as make my own adjustments to the datepicker.

Is this possible? I love the functionality of this component but if it can't be restyled beyond a config then that's sort of a deal-breaker for me.

Hopefully someone can provide some help.

andreasvirkus commented 4 years ago

It seems it's a WIP; see the theming branch: https://github.com/nathanreyes/v-calendar/tree/theming/docs

Also take a look at https://vcalendar.io/api/theme-styles.html < seems this is now outdated/invalid

marbuser commented 4 years ago

@andreasvirkus Well since its last commit March I'm going to use a different package since this one seems abandoned to be honest, which is a shame because it has some decent functionality.

Really wish maintainers who were going to abandon projects would mark them as such so that they aren't wasting developers time...

andreasvirkus commented 4 years ago

The package is definitely not abandoned - you can see there is constant work on the next branch (last commit is a couple of days ago). It just seems to be a big rewrite of the project and is hence taking some time, I think