mirror of
https://github.com/formax68/memoChron.git
synced 2026-07-22 12:30:31 +00:00
fix(styles): today-ring contrast when today is also the selected day (WR-02)
- Add .memochron-day.today.selected rule with box-shadow inset 0 0 0 2px var(--text-on-accent) - Keep existing .memochron-day.today rule unchanged for the today-not-selected case - Fix misleading comment that claimed the single rule already survived the accent background - Closes WR-02 gap from 04-VERIFICATION.md; flips truth #1 from FAILED to VERIFIED Implementation choice: combined .today.selected override preserves the verified-clean unselected-today appearance (D-03) and only switches color in the dual-state case.
This commit is contained in:
parent
01d4ae1be8
commit
12e9f3ba50
1 changed files with 6 additions and 1 deletions
|
|
@ -158,11 +158,16 @@
|
|||
/* Slight contrast on accent background */
|
||||
}
|
||||
|
||||
/* ENH-01: persistent today indicator — inset ring survives the .selected accent background */
|
||||
/* ENH-01: persistent today indicator — accent ring when today is not selected */
|
||||
.memochron-day.today {
|
||||
box-shadow: inset 0 0 0 2px var(--interactive-accent);
|
||||
}
|
||||
|
||||
/* ENH-01: contrasting ring when today is also selected — survives the accent background */
|
||||
.memochron-day.today.selected {
|
||||
box-shadow: inset 0 0 0 2px var(--text-on-accent);
|
||||
}
|
||||
|
||||
.memochron-day.today .memochron-day-header {
|
||||
color: var(--interactive-accent);
|
||||
font-weight: 700;
|
||||
|
|
|
|||
Loading…
Reference in a new issue