niccokunzmann / open-web-calendar

Embed a highly customizable web calendar into your website using ICal source links
https://open-web-calendar.quelltext.eu
GNU General Public License v2.0
211 stars 69 forks source link

Calendar Colors #445

Open niccokunzmann opened 3 months ago

niccokunzmann commented 3 months ago

There are different places where the calendar colors should occur:

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 commented 1 week ago

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

niccokunzmann commented 1 week ago

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 commented 1 week ago

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