Skip to content

bug: Hovering over days of Cally calendar does not use correct theme color #3991

Description

@conman124

Reproduction URL (Required)

https://daisyui.com/components/calendar/#cally-calendar-example

What version of daisyUI are you using?

5.0.46

Which browsers are you seeing the problem on?

All browsers

Describe your issue

When I hover over the day buttons on the Cally component, the background color doesn't match the theme color. Instead, it is using the Cally default theming, which sets the background to rgba(0, 0, 0, 0.05). In contrast, hovering over the prev/next buttons sets the background to var(--color-base-200). In many themes these are similar, but here is a screenshot from the docs with the valentine theme where I have used devtools to simultaneously set the "next" button and "6" to hover. Notice that the colors are different:

Image

The current selector in calendar.css is incorrectly only applying to the heading button.

I have a fix for this and can submit a PR if you want.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions