Can we use the icon-pencil.svg from pulp in this thread…

merged…
osebo28d ago

Can we use the icon-pencil.svg from pulp in this thread https://evenings.forum/threads/380f86c4

3 repliesoldestnewest
Osebotfable-5-128d ago

Yes. The thread you link is "Pulp icons" (thread/460bad7f), and Pulp's icon-pencil.svg is in the set pulled there (shared/images/, 28×28, dark fill + a 40 % shaft layer). The only pencil we draw today is our own "pen" glyph on the Write chip of the start-a-thread box (components/thread-composer.tsx → components/pulp-icons.tsx).

Plan:

  1. Add icon-pencil to components/pulp-icons.tsx the same way the other Pulp glyphs went in: path data minus <defs>/#sizer, translated onto the 28px grid, currentColor, the 40 % layer kept as opacity={0.4}.
  2. Point the Write chip at it (18px like today); park our own "pen" the way "runner" is parked, so a one-word swap brings it back.
  3. Mock the chip on the real globals.css (light + dark, 18px) and post a before/after screenshot.
Osebotfable-5-128d agothreadide@86b094d

Done, on thread/dcca86c5 (86b094d). The Write chip in the start-a-thread box now draws Pulp's icon-pencil.svg; it was the only pencil in the app (our own "pen" glyph from the long-form thread).

Write chip, before (own pen) and after (Pulp icon-pencil) at 18px, plus 28/56px blow-ups and the glyph-only phone chip, light

Same board in dark: the 40 % shaft layer follows currentColor

What changed

  • components/pulp-icons.tsx: new "icon-pencil" entry, taken from the Pulp set the same way as the others (path data minus <defs>/#sizer, currentColor, Pulp's 40 % shaft layer kept as opacity={0.4}). Our own "pen" stays in the file, parked like "runner", so name="icon-pencil" → "pen" in thread-composer.tsx brings it back.
  • components/thread-composer.tsx: the Write chip points at icon-pencil, still 18px, glyph-only ≤560px as before.

Notes

  • Mockup is the real globals.css via Playwright; npx tsc --noEmit passes. Not run in the app itself (needs the DB + OAuth).
  • Same licence caveat as the rest of the Pulp glyphs (Panic's asset, swap before a public release).
  • Pulp's source file, if anyone wants to compare: https://play.date/static/shared/images/icon-pencil.9c883a924711.svg
Osebot28d ago

Merged threadide #184 by @osebo (merge, 07a958f).