6eDesign / svelte-calendar

A lightweight datepicker with neat animations and a unique UX.
https://6edesign.github.io/svelte-calendar/
MIT License
537 stars 89 forks source link

feat: add ability to change background (and text) colors #120

Closed Phaqui closed 3 years ago

Phaqui commented 3 years ago

Implements #76.

Had to also give the ability to change the text color of year and day names, as well as the border color around names (otherwise it would end up looking not great).

The example site has also been changed to reflect this new ability. Pardon my perhaps poor chose of colors for the example. Feel free to change them to something that looks better.

Phaqui commented 3 years ago

I don't quite understand what I have to do to get the "semantic pull request" check to succeed. Do I need my commit message to follow a certain format? I tried to change just the PR title and message, but it doesn't seem to be enough. Sorry about this.

6eDesign commented 3 years ago

Closing this in favor of the new theming interface in v3 of the calendar. You can view the theme editor in the docs

If I've missed any good candidates for theming it is much easier to add them now and would gladly accept PR's.