Align TimePresetPicker (and custom popovers) to NLDD tokens/components #182
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The scheduling/snooze popover (
TimePresetPicker.vue) is hand-rolled CSS: ateleported floating menu with custom
.itembuttons, a custom date/timesub-form, and ad-hoc border/font/radius values. This surfaced friction when
embedding
nldd-date-field(PR #178): the custom CSS deviated from NLDD'sdesign tokens (e.g. the input border used
--semantics-dividers-colorinsteadof
--semantics-input-fields-border), so the one NLDD component clashedvisually until each value was aligned by hand.
Two levels of cleanup:
(borders, radii, font sizes, colors) with NLDD tokens so the popover matches
NLDD components by default. Partly started in #178 (border + focus-ring).
nldd-popover+nldd-menu/nldd-button+nldd-form-fieldto remove most custom CSS. Note: cannot be fullyNLDD-native because NLDD has no time-field, so the time input stays
native/custom.
Scope: a focused pass, separate from the accessibility PR that surfaced it
(#178). Related: #181 (page-wide font-size convention).