fix(web): standardize button borderRadius, fontSize, and fontWeight #68

Closed
opened 2026-02-13 19:00:34 +00:00 by forbes · 0 comments
Owner

Ref: docs/STYLE.md § Components / Buttons

Multiple button style properties deviate from the spec across ~15 components.

borderRadius — spec says 6px (0.375rem):

  • CreateItemPane.tsx, EditItemPane.tsx, DeleteItemPane.tsx use 0.3rem
  • BOMTab.tsx uses 0.3rem
  • CategoryPicker.tsx uses 0.25rem, 0.1rem
  • TagInput.tsx uses 1rem (for pills — may be intentional)
  • ContextMenu.tsx uses 0.5rem
  • ProjectsPage.tsx uses 0.3rem–0.4rem
  • SchemasPage.tsx uses 0.25rem

fontSize — spec says 12px (0.75rem):

  • ProjectsPage.tsx btnPrimaryStyle uses 0.85rem
  • ItemsToolbar.tsx scopeBtn uses 0.85rem via CSS variable
  • Multiple components use 0.8rem instead of 0.75rem

fontWeight — spec says 500:

  • ProjectsPage.tsx, LoginPage.tsx use fontWeight: 600
  • Some buttons default to 400 (no explicit weight set)

Fix: Sweep all button styles and align to borderRadius: '0.375rem', fontSize: '0.75rem', fontWeight: 500.

**Ref:** `docs/STYLE.md` § Components / Buttons Multiple button style properties deviate from the spec across ~15 components. **borderRadius** — spec says `6px` (0.375rem): - CreateItemPane.tsx, EditItemPane.tsx, DeleteItemPane.tsx use 0.3rem - BOMTab.tsx uses 0.3rem - CategoryPicker.tsx uses 0.25rem, 0.1rem - TagInput.tsx uses 1rem (for pills — may be intentional) - ContextMenu.tsx uses 0.5rem - ProjectsPage.tsx uses 0.3rem–0.4rem - SchemasPage.tsx uses 0.25rem **fontSize** — spec says `12px` (0.75rem): - ProjectsPage.tsx btnPrimaryStyle uses 0.85rem - ItemsToolbar.tsx scopeBtn uses 0.85rem via CSS variable - Multiple components use 0.8rem instead of 0.75rem **fontWeight** — spec says `500`: - ProjectsPage.tsx, LoginPage.tsx use fontWeight: 600 - Some buttons default to 400 (no explicit weight set) **Fix:** Sweep all button styles and align to `borderRadius: '0.375rem'`, `fontSize: '0.75rem'`, `fontWeight: 500`.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kindred/silo#68