From e160cef092da85f7faf5d8d5b982f694be18ff64 Mon Sep 17 00:00:00 2001 From: formax68 Date: Tue, 12 May 2026 16:42:36 +0300 Subject: [PATCH] feat(styles): persistent today indicator on calendar grid (ENH-01, #55) - Add inset accent ring on .memochron-day.today via box-shadow: inset 0 0 0 2px var(--interactive-accent) - Inset form paints inside the cell border, on top of any background including the .selected accent fill - Today and selected states now show simultaneously per ROADMAP success criterion #1 - Placed immediately before the existing .today .memochron-day-header rule; no other rules changed - Zero TypeScript changes: createDayElement already applies .today on both sidebar and embedded surfaces --- styles.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/styles.css b/styles.css index 3d589ae..ee3b05c 100644 --- a/styles.css +++ b/styles.css @@ -158,6 +158,11 @@ /* Slight contrast on accent background */ } +/* ENH-01: persistent today indicator — inset ring survives the .selected accent background */ +.memochron-day.today { + box-shadow: inset 0 0 0 2px var(--interactive-accent); +} + .memochron-day.today .memochron-day-header { color: var(--interactive-accent); font-weight: 700;