Add project housekeeping files and sync manifest version to 0.1.0. Also stages previously untracked chat summaries and score-ratio docs. Co-authored-by: Cursor <cursoragent@cursor.com>
1.8 KiB
1.8 KiB
Reddit Fonts Override Feature
Date: 2026-08-27 Task: Add Reddit's modern fonts (Reddit Sans, Reddit Sans Condensed, Reddit Mono) to the Firefox extension, overriding old Reddit's default fonts.
Changes Made
New Files
content/fonts/RedditSans[wght].woff2— Reddit Sans variable font (~96KB)content/fonts/RedditSansCondensed[wght].woff2— Reddit Sans Condensed variable font (~94KB)content/fonts/RedditMono[wght].woff2— Reddit Mono variable font (~81KB)content/fonts/OFL.txt— SIL Open Font Licensecontent/styles/fonts.css— @font-face declarations and font-family overrides gated onhtml.rt-fonts-enabled
Modified Files
manifest.json— Addedcontent/styles/fonts.cssto CSS arraylib/settings.js— AddedfontOverride: truedefaultcontent/main.js— Togglert-fonts-enabledclass, reload on fontOverride change, removed debug console.logpopup/popup.html— Added "Reddit fonts" checkboxpopup/popup.js— Wired fontOverride checkbox (populate, save, listener)
Design & Planning
docs/superpowers/specs/2026-08-27-reddit-fonts-design.md— Design specdocs/superpowers/plans/2026-08-27-reddit-fonts.md— Implementation plan
Architecture
- Fonts from reddit/redditsans, SIL OFL 1.1 licensed
- Variable-weight woff2 files (one per family, all weights via
wghtaxis) - CSS-only @font-face + class toggle pattern (matches existing card/badge approach)
- Reddit Sans applied to all body text; Reddit Mono to code/pre elements; Condensed declared but not force-applied
- Toggleable from popup, on by default
Follow-up Items
- Manual Firefox testing recommended (load extension, verify fonts render, toggle on/off)
- Task 3 commit includes some unrelated pre-existing card-density changes (cosmetic, not a functional issue)