Skip to content

Calendar date range hover preview issue #15851

@didimmova

Description

@didimmova

Description

When using the range selection, hovering the second date uses $date-hover-background as background but uses $date-selected-range-hover-foreground for foreground, which is later then used inside the range for foreground when hovering. This results again in a conflict if you have a dark hover background for the date and light hover background for the range selection.

In my opinion everywhere that the background is set to $date-hover-background we should be using the $date-hover-foreground so it's correctly returned as a contrast color without interfering with other date states.

Date range hover preview:
https://github.com/user-attachments/assets/0b5797d1-38f7-474a-a0fa-0e1b0cc08770

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions