Note
You are currently on the legacy branch for Tangerine UI (v1.9).
This version of Tangerine UI is only meant to be installed on instances running Mastodon 4.1.x or 4.2.x
If your Mastodon instance is running the latest version of Mastodon (4.3 and newer), use the latest release of Tangerine UI (v2.x) instead.
- Tangerine π
Default variant for Tangerine UI, featuring a soft orange palette.
- Purple πͺ»
For those of you who like Tangerine UI but want to stick to Mastodon's purple palette.
This version of Tangerine UI is only meant to be installed on instances running Mastodon 4.1.x or 4.2.x
If your Mastodon instance is running the latest version of Mastodon (4.3 and newer), use the latest release of Tangerine UI (v2.x) instead.
- Copy & paste the contents of π
TangerineUI.css
to the Custom CSS field in the administration panel on your Mastodon instance (Navigate to https://domain/admin/settings/appearance).- πͺ» For the purple variant, copy the contents of
TangerineUI-purple.css
instead.
- πͺ» For the purple variant, copy the contents of
Warning
Using the 'Custom CSS' field to apply Tangerine UI will prevent all users on your instance from being able to choose another theme in their Appearance settings (see Accessibility).
Please make sure there is a consensus among your users for doing so. If not, see below how to install Tangerine UI as an optional theme for your users.
Follow these instructions if you wish to add Tangerine UI as an available theme for your users on your instance.
This will also allow you to set Tangerine UI as the default theme for your instance, while still letting your users change back to any of Mastodon's default themes in their Appearance settings.
- Copy the files from
mastodon/app/javascript/styles/
in this repository to your Mastodon themes directoryapp/javascript/styles/
:
# Where $REPO is this repository, and $INSTALLDIR is your Mastodon installation.
cp -r $REPO/mastodon/app/javascript/styles/* $INSTALLDIR/app/javascript/styles
- Add Tangerine UI to
themes.yml
. To make Tangerine UI available in your users's settings, you need to add a new line toconfig/themes.yml
. Here we're adding 3 new lines, one for Tangerine UI, a 2nd one for the purple variant, and a 3rd one for the Cherry variant:
default: styles/application.scss
contrast: styles/contrast.scss
mastodon-light: styles/mastodon-light.scss
tangerineui: styles/tangerineui.scss
tangerineui-purple: styles/tangerineui-purple.scss
- Add a localized name (optional). You can edit each desired language's locale file in
config/locales/[lang].yml
to add a localized string name for Tangerine UI. You need to do this for every language you expect your users to use. Otherwise, in their themes list, they will see the unlocalized theme name ("tangerineui-purple"), instead of a readable theme name ("Tangerine UI (Purple)").
themes:
contrast: Mastodon (High contrast)
default: Mastodon (Dark)
mastodon-light: Mastodon (Light)
tangerineui: Tangerine UI
tangerineui-purple: Tangerine UI (Purple)
- Compile theme assets and restart. Run
RAILS_ENV=production bundle exec rails assets:precompile
and restart your Mastodon instance for the changes to take effect.
Your users should now be able to choose 'Tangerine UI', 'Tangerine UI (Purple)', or 'Tangerine UI (Cherry)' as their site theme:
As an admin, you should also now be able to set Tangerine UI as the default theme for your instance (navigate to https://domain/admin/settings/appearance):
Tangerine UI does not yet support Glitch-soc's features and layout, but it can still be installed as a vanilla skin on your Glitch-soc instance:
- Copy the files from
mastodon/app/javascript/styles/
in this repository to your Mastodon themes directoryapp/javascript/styles/
:
# Where $REPO is this repository, and $INSTALLDIR is your Glitch-soc installation.
cp -r $REPO/mastodon/app/javascript/styles/* $INSTALLDIR/app/javascript/styles
- Copy the files from
mastodon/app/javascript/skins/vanilla/
in this repository to your Glitch-soc skins directoryapp/javascript/skins/vanilla/
:
# Where $REPO is this repository, and $INSTALLDIR is your Glitch-soc installation.
cp -r $REPO/mastodon/app/javascript/skins/vanilla/* $INSTALLDIR/app/javascript/skins/vanilla
- Compile theme assets and restart. Run
RAILS_ENV=production bundle exec rails assets:precompile
and restart your Glitch-soc instance for the changes to take effect.
Your users should now be able to select Tangerine UI as a theme in their settings, under Flavours β Vanilla Mastodon β Skin
Even if you are not an admin on your instance, you can still use Tangerine UI with a browser extension:
- Install any browser extension that allows you to inject CSS on a webpage, such as Stylus, or Live CSS Editor
- Copy & paste the contents of π
TangerineUI.css
to the extension's editor- πͺ» For the purple variant, copy the contents of
TangerineUI-purple.css
instead.
- πͺ» For the purple variant, copy the contents of
Important
If you are a user on a Glitch-soc instance, you must switch to the Vanilla Mastodon flavour for Tangerine UI to work properly: in your instance settings, navigate to Flavours β Vanilla Mastodon β select the 'Default' skin.
Note
Alternatively, if you wish to use a JavaScript browser extension, @Write has written a ready-to-use UserScript to load Tangerine UI on any Mastodon instance. Check out the TangerineUI-Userscript repository for instructions.
- Tangerine UI Legacy only supports Mastodon's single column layout. The advanced web interface (multiple columns) will not be affected.
- Tangerine UI auto-switches from light to dark mode based on your OS preference.
- The Cherry variant is not available for Tangerine UI Legacy.
Please consider that some of your users may depend on Mastodon's High Contrast theme before setting Tangerine UI as the only theme on your instance. For this reason, unless you're running a single-user instance, I recommend installing Tangerine UI as an optional/revertable theme instead.
- The logo for Tangerine UI was designed by Younis @younishd. π
If you enjoy Tangerine UI, I would really appreciate a tip π!