Restyle date inputs and checkboxes to match the blue UI
- date / datetime-local: themed calendar button, blue segment highlight, disabled state for all text controls - checkbox: custom 18px box (22px on touch widths) with checked, indeterminate, hover, disabled and forced-colors fallbacks - WeekPlanAssistant: drop fixed checkbox size so it matches the rest Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -131,7 +131,7 @@ export function WeekPlanAssistant({ pageId, pageName, week, openDays }: { pageId
|
||||
<label className="flex gap-3 rounded-[12px] border border-line bg-paper p-3 cursor-pointer has-[:checked]:border-blue">
|
||||
<input
|
||||
type="checkbox"
|
||||
className="mt-1 w-4 h-4 shrink-0"
|
||||
className="mt-[3px]"
|
||||
checked={picked[i] ?? false}
|
||||
onChange={(e) => setPicked((cur) => cur.map((v, j) => (j === i ? e.target.checked : v)))}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user