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

Calendar Colors #445

Open
niccokunzmann opened this issue Jul 20, 2024 · 3 comments
Open

Calendar Colors #445

niccokunzmann opened this issue Jul 20, 2024 · 3 comments

Comments

@niccokunzmann
Copy link
Owner

niccokunzmann commented Jul 20, 2024

There are different places where the calendar colors should occur:

  • day
  • week
  • month
  • agenda

The example sets them like this:

		.violet {
			--dhx-scheduler-event-background: linear-gradient(180deg, #D071EF 0%, #EE71D5 100%);
		}

		.green {
			--dhx-scheduler-event-background: linear-gradient(180deg, #12D979 0%, #1ECDEB 100%);
		}

		.yellow {
			--dhx-scheduler-event-background: linear-gradient(180deg, #FFB725 0%, #FFBB25 31.25%, #FAEA27 100%);
		}
	</style>

Version 7 of the scheduler makes color customization so much easier:
https://docs.dhtmlx.com/scheduler/custom_skins.html

Thus, we should update the way we handle colors to use CSS variables.


We're using Polar.sh so you can upvote and help fund this issue. We receive the funding once the issue is completed & confirmed by you. Thank you in advance for helping prioritize & fund our work. Fund with Polar
@Veerhan-glitch
Copy link

I want to give this a go, so pls assign it to me

@niccokunzmann
Copy link
Owner Author

niccokunzmann commented Oct 26, 2024

Thanks @Veerhan-glitch, please create a pull request as soon as you have some changes. Let me know if I can help with anything!

@Veerhan-glitch Veerhan-glitch removed their assignment Oct 26, 2024
@Veerhan-glitch
Copy link

Sorry, after trying things out for a bit don't thing i will be able to do it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants