Repository navigation
Closed
Labels
Description
Problem
Sharing a theme today means sending a folder or a zip and asking someone to put it in their packages folder, or publishing it to the Store first. There's no quick way to try a theme someone made, for example on a website that builds themes, before deciding to keep it.
Proposal
A stablebar://theme link that carries a whole theme: the exact text of its package.json and config.json, encoded in the link.
- Opening it brings up Settings → Theme with the linked theme on a card above the gallery and its sample-bar preview. Nothing on the bar changes yet.
- Try on bar shows it on the real bar as a trial, with Keep or Cancel, like trying a bundled theme today.
- Use installs it the way the Store installs a theme, then selects it. Dismiss removes the temporary copy.
- Opening a second link replaces the waiting one; a link that arrives before Settings is ready waits for it, like package links.
Strict checks, since a link can come from any web page:
- Checked before anything is decoded: the link is at most 64 KB and the decoded files at most 32 KB together; a malformed or oversized link shows an error and does nothing else.
- The same inspection the Store runs on a theme's Get:
kindistheme, only theme keys (every profile included), no hosts, permissions, requirements or secret settings, a valid id and version. - No includes and no screenshot, since a link carries no other files.
- Within
bar, only appearance properties (height, margin, inset, spacing, background, style, the notch properties and the popup gap). A link can't hide the menu bar or move the bar. - Ids of bundled themes and other reserved ids are refused, so a link can't replace a built-in theme.
- A font that isn't installed falls back to the system font.
This builds on #675: a link builds a preview without a click, so expanding its tokens must never freeze StableBar.
Acceptance
- A valid link opens Settings → Theme on the theme; trying, keeping, cancelling, using and dismissing behave as above.
- Nothing is installed or changed on the bar until the person chooses.
- Each refused case (too large, malformed, wrong kind, non-theme key, bar property outside the list, include, screenshot, reserved id) shows a clear message and leaves nothing behind.
- The guide documents the link and its limits, and DECISIONS.md records what a theme link may carry.
Possible today
Partly: copy a theme folder into the packages folder, or install one from the Store. Neither can be opened from a link or tried before installing.
Related
- Open a package in Settings from a stablebar:// link #254 / feat: open a package in Settings from a stablebar:// link #284 added
stablebar://packagelinks that open a package in Settings; this adds a link that carries the theme itself. - Control StableBar from Shortcuts, Spotlight and stablebar:// links #205 proposes
stablebar://links for runtime actions; different scope. - A theme creator page on stablebar.app (Build a theme on the website and take it to the bar or the Store #677) would produce these links.
Triaged by Claude Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Nov 16, 2026
🎉 This issue has been resolved in version 0.16.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀