Files
Panama/config/firefox
Gabriel Brown cb7c09d208 Give the desktop real themes, video wallpapers, and honest titlebars
Appearance now opens on Themes: light and dark side by side, each
remembering its own choice, over galleries of ten shipped themes —
Tokyo Moon and Day joined by Moon Rose, Catppuccin, Nord, Gruvbox and
Everforest in both modes. A theme is a complete palette: the catalog
lives in themes.json, Theme.qml reads every color token from the
active record, and one render pipeline carries it to kitty, tmux,
btop, GTK, Vicinae, Firefox's chrome, and the lock screen. The Theme
editor builds new ones from four wells — wheel, hex, or eyedropper —
with derived surfaces, a saturation slider, debounced fine-tune, and
effects that save with the theme. Custom edits finally keep GNOME's
accent, kitty's border, and hyprlock in sync.

Wallpapers can be video: mpvpaper per output, hardware-decoded, muted
and looped, supervised and respawned. Panama owns the pausing — games,
battery, and a bar pill for right now — because the compositor
rebuilds full-screen blur for every frame a video wallpaper draws.
The lock screen gets a still frame.

Titlebars stop lying. GNOME apps get close-only on your chosen side,
the maximize and double-click settings are gone, the Settings window
obeys the same rules, and its titlebar can be turned off entirely.
Typography becomes five labeled dropdowns instead of a wall of
samples.

Contracts updated and written throughout (165 now); per the redesign
workflow none were executed — the full sweep runs once at the end.

Claude-Session: https://claude.ai/code/session_01Ms2FbjQy31TVf3CEvQhGM8
2026-08-23 23:39:04 -04:00
..

Firefox chrome

This directory is not Panama's work. It is Edge-Frfox — "a Firefox userChrome.css theme that aims to recreate the look and feel of Microsoft Edge" — vendored here, plus two local tweaks.

link-dotfiles places user.js and chrome/ into the Firefox profile. The preferences in user.js are what the theme needs to work at all — toolkit.legacyUserProfileCustomizations.stylesheets in particular, without which Firefox ignores chrome/ entirely.

Why it is vendored rather than fetched

The same reason the cursor theme is: downloading it during the install would add a URL that can rot, and this repository is trying to stop installing things that way. 732K in git once, and then the theme is simply there.

Two things to know before editing

userChrome.css imports custom.css last, deliberately — local changes go there, not into the upstream files, so a future update to the theme is a directory replacement rather than a merge. The imports of tweaks/hide-tabs-bar.css and tweaks/shrink-sideberry.css are personal choices carried over from sunhat, not upstream defaults.

userChrome.css is unsupported by Mozilla. It breaks on major Firefox releases, and when it does, the fix is upstream's or none. Panama installs Firefox as a second engine to test pages against; if the theme ever costs more than it is worth, deleting this directory and the link-dotfiles block that reads it leaves a working browser behind.