Themes/Tweaks browser, sharing/import, custom themes/tweaks, and repo#633
Themes/Tweaks browser, sharing/import, custom themes/tweaks, and repo#633
Conversation
…m and i forgot to commit earlier
…egexp' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
I figure that proper custom CSS theming will require more thorough CSS-visible class names for each component; is that part of the plans for this, or would that be better accomplished with a tracking issue for another time? |
I think that's better as a separate issue. |
|
Deploying with
|
| Status | Preview URL | Commit | Alias | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! | https://pr-633-sable.raspy-dream-bb1d.workers.dev | 4b17220 | pr-633 |
Sat, 04 Apr 2026 07:35:53 GMT |
Description
Still a WIP, I'll update this PR description with more details later.
Pulls themes and tweaks from https://github.com/SableClient/themes and allows basic searching and filtering in the themes settings
Theme links that end in *.preview.sable.css from the official repo will generate embeds, optional setting to allow generating embeds for any *.preview.sable.css file.
In chat previews are generated with extracted css values and are safe from injection. Full theme files will load the entire file, and are vulnerable to injection, hence the official safe repo. Third party themes sent in chat show a prominent banner making the risks clear
Mitigates #492 ?
Fixes #71
Fixes #617 (via tweak in theme repo)
Type of change
Checklist:
AI disclosure:
AI was used to write the code for parsing and extracting data from the raw css files/links and dynamically populate the lists as well as develop the migration system for current themes. Tests were AI generated.
All code has (or will be) thoroughly reviewed by me by the time this PR is ready.