Seed globals.css from template when org folder lacks it

FixSecurityService
Shipped
June 8, 2026 at 3:24 AM UTC
Author
Kamo
Commit
e5a26e8

provisionUpdate (run on every color save) rewrote the org's css/globals.css in place, but that object only exists once provisionFull has copied it from the default template. An org seeded with just config+logos had none, so the download threw NoSuchKey and the org's globals.css — the file every Kamo site loads to apply its colors — was never produced, leaving login/internal/ register on the grey defaults. Fall back to the default template when the org's globals.css is missing so the save self-heals for any such org.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing