Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add support for multiple themes #4959
Many non-flagship instances wish to differentiate themselves by providing customized themes for mastodon. However, not all users may necessarily appreciate the changes these themes make (and simply not using that instance may not be an option if they are deeply connected in the community). Furthermore, flagship may wish to someday provide alternate themes (such as a light theme) for accessiblity or preference reasons. This PR provides baseline support for this capability:
- Since themes may be deleted in the future, then we should fallback to default theme. Currently it causes an error page.
- I think each theme should have "display name". It allows admins to change display name without breaking their current preference.
As of 8780db6, we now: