Skip to content

fix: calendar today readable when selected, selected keeps its fill on hover - #54

Merged
zyx1121 merged 1 commit into
mainfrom
fix/calendar-selected-today
Oct 7, 2026
Merged

zyx1121 merged 1 commit into
mainfrom
fix/calendar-selected-today

Conversation

@zyx1121

@zyx1121 zyx1121 commented Oct 7, 2026

Copy link
Copy Markdown
Member

Two bugs Loki caught in dark mode on ui.winlab.tw/calendar:

  • Today, when selected, rendered primary text on a primary fill, so the number vanished. Today's primary text now applies only when it is not selected (data-today:not-data-selected:text-primary).
  • The selected day dimmed to bg-primary/90 on hover, which on the dark background read as a different, duller blue. It now keeps bg-primary.

Verified on sandbox with Playwright WebKit in dark and light: selected today is primary-foreground on primary (dark: near-black on #5E94FF, light: white on ultramarine); after selecting the 8th, today is primary text again.

🤖 Generated with Claude Code

…n hover

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@zyx1121
zyx1121 merged commit 18a73da into main Oct 7, 2026
2 checks passed
@zyx1121
zyx1121 deleted the fix/calendar-selected-today branch October 7, 2026 13:50
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

Successfully merging this pull request may close these issues.

1 participant