You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -152,7 +152,7 @@ This is a list of known Mastodon instances on which Tangerine UI has been instal
152
152
## Installation for Mastodon admins
153
153
154
154
### Install Tangerine UI as the only theme on your instance:
155
-
1.**Check your Mastodon version**. For Tangerine UI to work properly, you need to make sure you're installing the right version for your Mastodon instance. Please check the [Compatibility](#compatibility) section in this document before you proceed.
155
+
1.**Check your Mastodon version**. For Tangerine UI to work properly, you need to make sure you're installing the right version for your Mastodon instance. Please refer to the [Compatibility](#compatibility) section in this document before you proceed.
156
156
157
157
2. 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).
158
158
* 🪻 For the Purple variant, copy the contents of [`TangerineUI-purple.css`](https://github.com/nileane/TangerineUI-for-Mastodon/blob/main/TangerineUI-purple.css) instead.
@@ -169,7 +169,7 @@ Your users will be able to select Tangerine UI in their settings on the web, and
169
169
170
170
<details>
171
171
<summary><strong>Install (using the included script)</strong></summary>
172
-
172
+
<br>
173
173
174
174
A basic installation script is included in this repository.
175
175
It can also be used again to update Tangerine UI on your Mastodon instance.
@@ -191,12 +191,17 @@ Make sure the Mastodon and Tangerine UI directory paths at the top of `install.s
191
191
* Edit the line beginning with `TANGERINEUI=` to adjust the path to the Tangerine UI directory.
192
192
* Edit the line beginning with `MASTODON=` to adjust the path to your Mastodon installation directory.
193
193
194
-
4.**Run the install script**.
194
+
3.**Run** the install script.
195
195
```sh
196
196
./install.sh
197
197
```
198
198
199
-
5.**\[Optional\] Add a localized name.** 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)*").
199
+
Optionally, run with `--skip-confirm` to bypass all confirmation prompts:
200
+
```sh
201
+
./install.sh --skip-confirm
202
+
```
203
+
204
+
4.**\[Optional\] Add a localized name.** 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)*").
200
205
201
206
```yml
202
207
themes:
@@ -209,7 +214,7 @@ themes:
209
214
tangerineui-lagoon: Tangerine UI (Lagoon)
210
215
```
211
216
212
-
6. **Restart** your Mastodon instance for the changes to take effect.
217
+
5. **Restart** your Mastodon instance for the changes to take effect.
213
218
214
219
Your users should now be able to choose '*Tangerine UI*', '*Tangerine UI (Purple)*', '*Tangerine UI (Cherry)*', or '*Tangerine UI (Lagoon)*' as their site theme:
215
220
@@ -223,11 +228,11 @@ As an admin, you should also now be able to set Tangerine UI as the default them
223
228
224
229
225
230
<details>
226
-
<summary><strong>Install manually (without the script)</strong></summary>
1. **Check your Mastodon version**. For Tangerine UI to work properly, you need to make sure you're installing the correct version for your Mastodon instance. Please refer to the [Compatibility](#compatibility) section in this document before you proceed.
229
234
230
-
2. **Copy the files** from `mastodon/app/javascript/styles/` [in this repository](https://github.com/nileane/TangerineUI-for-Mastodon/tree/main/mastodon/app/javascript/styles/) to your Mastodon themes directory `app/javascript/styles/`:
235
+
2. **Copy** the files from `mastodon/app/javascript/styles/` [in this repository](https://github.com/nileane/TangerineUI-for-Mastodon/tree/main/mastodon/app/javascript/styles/) to your Mastodon themes directory `app/javascript/styles/`:
231
236
232
237
```sh
233
238
# Where $REPO is this repository, and $INSTALLDIR is your Mastodon installation.
0 commit comments