style: 14px text floor and one shared status wording

- app.css: add --hope-text-small (14px) and --hope-text-fine (13px, footer
  fine print). Every font size below 14px now uses them. The help-tip circle,
  event badge and date stamp grow to fit the larger text.
- schedule.ts: shared filledCount(), spotsSentence() and fillLabel().
  Public pages say "4 of 6 spots filled"; coordinator pills say
  "Full · 6 of 6" or "2 open · 4 of 6" (needs tone when under half full).
- admin-pages.tsx: drop needCopy(); dashboard, event page and shift lines
  all use fillLabel().
- tests: update wording expectations; add design-rules.test.ts to guard the
  14px floor and the wording.
- README: update example wording.
This commit is contained in:
Cosmically Creative committed 2026-11-20 13:24:23 -06:00
1 parent 085f2dc668
commit 1230030e39
9 files changed
+112 -67

No files matched your search

+1 -1
View File
@@ -319,7 +319,7 @@ describe('capacity-safe signup', () => {
expect(manageHtml).toContain('People');
expect(manageHtml).toContain('>3<');
const shiftHtml = await (await app.request(`/s/${shiftId}`)).text();
expect(shiftHtml).toContain('3/4 spots filled');
expect(shiftHtml).toContain('3 of 4 spots filled');
const board = await (await app.request('/?view=calendar')).text();
expect(board).toContain('Pat Review (3 people)');
expect(board).not.toContain('Pat Review (3 people), Pat Review');