Typography: audit page-wide font-size against the base-not-sm convention #181

Closed
opened 2026-07-24 22:19:05 +00:00 by robbertbos · 0 comments
Owner

CLAUDE.md states that body text and interactive controls default to base
(16px), with --text-sm (14px) reserved for meta/help text. Several places
don't follow this yet - worth a deliberate, app-wide typography pass rather
than one-off tweaks.

Surfaced while building the plan popover (PR #178):

  • The scheduling popover (TimePresetPicker.vue) uses --text-sm for its
    preset buttons, labels and the native time input, while the new
    nldd-date-field renders at NLDD's size=sm = 16px. NLDD's date-field font
    is fixed by its size attribute (md=18px, sm=16px) and cannot be driven to
    14px via host CSS or a ::part, so a small 16-vs-14 mismatch remains next to
    the time input.
  • Decide the target and apply consistently: either bring the popover (and
    comparable compact menus) up to 16px to match the base convention and the
    date-field, or keep compact menus at 14px and accept NLDD's 16px floor for
    the date-field.

Scope: controls + running content across the app. Out of scope for the
accessibility PR that surfaced it (#178).

CLAUDE.md states that body text and interactive controls default to `base` (16px), with `--text-sm` (14px) reserved for meta/help text. Several places don't follow this yet - worth a deliberate, app-wide typography pass rather than one-off tweaks. Surfaced while building the plan popover (PR #178): - The scheduling popover (`TimePresetPicker.vue`) uses `--text-sm` for its preset buttons, labels and the native time input, while the new `nldd-date-field` renders at NLDD's `size=sm` = 16px. NLDD's date-field font is fixed by its `size` attribute (md=18px, sm=16px) and cannot be driven to 14px via host CSS or a `::part`, so a small 16-vs-14 mismatch remains next to the time input. - Decide the target and apply consistently: either bring the popover (and comparable compact menus) up to 16px to match the base convention and the date-field, or keep compact menus at 14px and accept NLDD's 16px floor for the date-field. Scope: controls + running content across the app. Out of scope for the accessibility PR that surfaced it (#178).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
robbertbos/waggle#181
No description provided.