Fix Theme 2 fonts after upgrade #3548

Merged
hj merged 1 commit from fix/theme2-font-cache-recovery into develop 2026-08-11 18:00:48 +00:00

Summary

  • serialize normalized Theme 2 font descriptors using their CSS family values
  • reject previously generated theme caches containing invalid font declarations so clients automatically recompile
  • add regression coverage for generic/custom font mappings and cache validation

Testing

  • yarn unit test/unit/specs/services/theme_data test/unit/specs/services/style_setter (55 tests passed in headless Chromium)
  • headless Chromium against a live backend: seeded IndexedDB with --font: [object Object], reloaded, and verified sans-serif with zero invalid rules
  • yarn ci-biome
  • yarn ci-eslint (passes with one unrelated existing warning in src/components/poll/poll_form.vue)
  • yarn build
  • independently reviewed with no blocking findings
## Summary - serialize normalized Theme 2 font descriptors using their CSS family values - reject previously generated theme caches containing invalid font declarations so clients automatically recompile - add regression coverage for generic/custom font mappings and cache validation ## Testing - `yarn unit test/unit/specs/services/theme_data test/unit/specs/services/style_setter` (55 tests passed in headless Chromium) - headless Chromium against a live backend: seeded IndexedDB with `--font: [object Object]`, reloaded, and verified `sans-serif` with zero invalid rules - `yarn ci-biome` - `yarn ci-eslint` (passes with one unrelated existing warning in `src/components/poll/poll_form.vue`) - `yarn build` - independently reviewed with no blocking findings
fix: restore Theme 2 font families
All checks were successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/changelog Pipeline was successful
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/test-e2e Pipeline was successful
341b1c1c3e
hj merged commit 117e5bdd87 into develop 2026-08-11 18:00:48 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe!3548
No description provided.