Resync vendor/web_template/base.css (web_template is now free of em and en dashes) and remove the remaining dashes #63

Open
opened 2026-11-22 19:55:56 -05:00 by jared · 0 comments
Owner

LotusGuild/web_template#3 (merged 2026-11-22, upstream 8286bb2) removed every em and en dash from the shared design system. That's house style: no em or en dashes anywhere.

Where devdesk stands

Location State
vendor/web_template/base.css identical to upstream bbec859 (per vendor/web_template/UPSTREAM); 109 dashes, all in comments and number ranges
devdesk's own files 18 dashes across 9 files

base.js is deliberately not vendored (see UPSTREAM), so base.css is the only file to sync.

What to do

  1. Copy upstream base.css at 8286bb2 or later over vendor/web_template/base.css, and update vendor/web_template/UPSTREAM. The only differences from bbec859 are dashes replaced with hyphens in comments and ranges, so nothing should change on screen.
  2. Replace the 18 remaining dashes in devdesk's own files.
    • Find them with git grep -nP '[\x{2013}\x{2014}]|&[mn]dash;' -- . ':!vendor'.
    • In prose, use a colon, comma, parentheses or a hyphen; in ranges, use - or "to".
    • If any title uses a dash as the separator, switch it to Page | App, which matches the other apps.
  3. Add a CI check so they don't come back. Pulse's step "No em or en dashes" in .gitea/workflows/ci.yml can be copied. It also catches —, –, the JS escapes and the numeric entities.
  4. If any text users can see changes, take before and after screenshots for review.
LotusGuild/web_template#3 (merged 2026-11-22, upstream `8286bb2`) removed every em and en dash from the shared design system. That's house style: no em or en dashes anywhere. ## Where devdesk stands | Location | State | |---|---| | `vendor/web_template/base.css` | identical to upstream `bbec859` (per `vendor/web_template/UPSTREAM`); **109** dashes, all in comments and number ranges | | devdesk's own files | **18** dashes across 9 files | `base.js` is deliberately not vendored (see `UPSTREAM`), so `base.css` is the only file to sync. ## What to do 1. **Copy upstream `base.css` at `8286bb2` or later** over `vendor/web_template/base.css`, and update `vendor/web_template/UPSTREAM`. The only differences from `bbec859` are dashes replaced with hyphens in comments and ranges, so nothing should change on screen. 2. **Replace the 18 remaining dashes in devdesk's own files.** - Find them with `git grep -nP '[\x{2013}\x{2014}]|&[mn]dash;' -- . ':!vendor'`. - In prose, use a colon, comma, parentheses or a hyphen; in ranges, use `-` or "to". - If any title uses a dash as the separator, switch it to `Page | App`, which matches the other apps. 3. **Add a CI check** so they don't come back. Pulse's step "No em or en dashes" in `.gitea/workflows/ci.yml` can be copied. It also catches `—`, `–`, the JS escapes and the numeric entities. 4. If any text users can see changes, take before and after screenshots for review.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/devdesk#63