Jeconias/react-calendar-plus

Multiples styles/theme

Opened this issue · 4 comments

This issue is intended to enable and drive the creation of various styles for the calendar using css.

If you want to create a style:

  • Create a folder in the stylesheet directory with the style name, use your creativity and add a preview of your work.

Hey @Jeconias does this issue need few more styles? If yes...Please assign this one to me

Hey @Jeconias does this issue need few more styles? If yes...Please assign this one to me

Yes. The idea is to have many styles and allow to exchange between them easily using some flag.

Maybe the easiest and more flexible solution is to use two css files. If you import them in the right order the second one can override the default theme, and you only have to write the properties that changes from the default theme.

For example:
https://stackoverflow.com/questions/5902858/order-of-prioritization-when-using-multiple-contradictory-css-files

Maybe the easiest and more flexible solution is to use two css files. If you import them in the right order the second one can override the default theme, and you only have to write the properties that changes from the default theme.

For example:
https://stackoverflow.com/questions/5902858/order-of-prioritization-when-using-multiple-contradictory-css-files

This is good. should work well.