Update README.md
This commit is contained in:
parent
3d0667c6f1
commit
36d89b42d0
1 changed files with 8 additions and 10 deletions
18
README.md
18
README.md
|
|
@ -12,7 +12,6 @@ Tangerine UI features a bubblier look, a more compact timeline, round avatars, a
|
|||
* [**Things to know**](#things-to-know)
|
||||
* [**Credits**](#credits)
|
||||
|
||||
|
||||
## Variants
|
||||
|
||||
* **Tangerine 🍊**
|
||||
|
|
@ -30,7 +29,9 @@ Tangerine UI features a bubblier look, a more compact timeline, round avatars, a
|
|||
### Install Tangerine UI as the only theme on your instance:
|
||||
* Copy & paste the contents of [`TangerineUI.css`](https://github.com/nileane/TangerineUI-for-Mastodon/blob/main/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`](https://github.com/nileane/TangerineUI-for-Mastodon/blob/main/TangerineUI-purple.css) instead.
|
||||
* ⚠️ **Caution: 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 settings.** Please make sure there is a consensus among your users for doing so. Otherwise, see below how to install Tangerine UI as an optional site theme for your users.
|
||||
|
||||
⚠️ **Caution: 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 settings.** Please make sure there is a consensus among your users for doing so.
|
||||
Otherwise, see below how to install Tangerine UI as an optional theme for your users.
|
||||
|
||||
### Install Tangerine UI as an optional theme on your instance [Recommended]:
|
||||
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 users change back to Mastodon's default themes in their appearance settings.
|
||||
|
|
@ -53,7 +54,6 @@ app/
|
|||
layout-single-column.scss | **new**
|
||||
```
|
||||
|
||||
|
||||
2. **Add Tangerine UI to the config.** To make Tangerine UI available in your users's settings, you need to add a new line to [`config/themes.yml`](https://github.com/tootsuite/mastodon/blob/master/config/themes.yml). Here we're adding 2 new lines, one for Tangerine UI, another for Tangerine UI's purple variant:
|
||||
|
||||
```yml
|
||||
|
|
@ -64,7 +64,7 @@ tangerineui: styles/tangerineui.scss | **new**
|
|||
tangerineui-purple: styles/tangerineui-purple.scss | **new**
|
||||
```
|
||||
|
||||
3. **Add a human-friendly 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 `themeName` ("tangerineui"), instead of a human-friendly theme name ("Tangerine UI").
|
||||
3. **Add a human-friendly 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)*").
|
||||
|
||||
```yml
|
||||
themes:
|
||||
|
|
@ -86,8 +86,6 @@ As an admin, you should also now be able to set Tangerine UI as the default them
|
|||

|
||||
|
||||
|
||||
|
||||
|
||||
## Installation for regular users:
|
||||
Even if you are not the admin of your instance, you can still use Tangerine UI using a browser extension.
|
||||
|
||||
|
|
@ -96,11 +94,11 @@ Even if you are not the admin of your instance, you can still use Tangerine UI u
|
|||
* 🪻 For the purple variant, copy the contents of [`TangerineUI-purple.css`](https://github.com/nileane/TangerineUI-for-Mastodon/blob/main/TangerineUI-purple.css) instead.
|
||||
|
||||
## Things to know
|
||||
* **Tangerine UI currently only supports Mastodon's single column layout**. The advanced view (multiple columns) will not be affected.
|
||||
* **Tangerine UI auto-switches from light to dark mode based on your OS preference**, whether you set your Mastodon theme to *Mastodon (Dark)* or *Mastodon (Light*).
|
||||
* **Tangerine UI currently 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**.
|
||||
* Check your Mastodon instance version before using. The latest Mastodon release checked to be compatible is indicated in the CSS file header.
|
||||
* **Glitch-soc** and **Hometown** instance admins beware: Tangerine UI is currently only meant to be applied to Mastodon's vanilla Dark and Light themes.
|
||||
* If you are a user on a Glitch-soc instance using a browser extension, first switch your instance to the vanilla flavour before applying Tangerine UI.
|
||||
* If you run a **Glitch** or **Hometown** instance, beware: Tangerine UI is currently only meant to be applied to Mastodon's vanilla Dark and Light themes.
|
||||
* If you are a user on a Glitch instance using a browser extension, first switch your instance to the vanilla flavour before applying Tangerine UI.
|
||||
|
||||
## Accessibility
|
||||
* I have not yet adapted Tangerine to Mastodon's *High Contrast* theme setting. Please consider that some of your users may depend on it before setting Tangerine UI as the only theme on your instance.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue