Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add theme support #907

Closed
1 task done
jimmyhogerty opened this issue Nov 5, 2023 · 7 comments
Closed
1 task done

Add theme support #907

jimmyhogerty opened this issue Nov 5, 2023 · 7 comments
Labels
enhancement New feature or request stale

Comments

@jimmyhogerty
Copy link

Before you start - checklist

  • I have checked if this feature request is not already reported

Description

Styling the calendar with css is limited.

Proposed solution

Add classNames and use a theme design pattern to target different areas of the calendar so that users can customize calendar accordingly.

Alternatives

No response

Additional information

No response

@jimmyhogerty jimmyhogerty added the enhancement New feature or request label Nov 5, 2023
@jimmyhogerty
Copy link
Author

Happy to take a stab at this if it's cool by you.

@informaticadiaz
Copy link

informaticadiaz commented Nov 13, 2023

I agree, however, You can create your styles. Just use the Sample.css file

example

@luixo
Copy link

luixo commented Dec 14, 2023

Totally agree on that, there is a variety of styling technics nowadays:

  • tailwind css
  • libraries that expose styled-like objects
  • CSS modules

Adding classNames prop will allow all this solution to be usable in calendar.
I'm up on adding this functionality as well!
(please add me as a reviewer to PR otherwise)

@silverwind
Copy link

Some overridable CSS variables for the colors would be a start. I imagine this would cover most people's themeing needs.

@silverwind
Copy link

silverwind commented Feb 9, 2024

I recently did styling for this module and I needed to do a few more changes besides colors like removing the border and the opinionated font changes.

So at least for me, color variables would not completely replace my custom CSS, but they would get me like 90% there, so they'd still be very welcome. Should place them on :root.

@luixo luixo mentioned this issue Mar 2, 2024
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this issue will be closed in 14 days.

@github-actions github-actions bot added the stale label May 13, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

4 participants