Added Cherry variant
This commit is contained in:
parent
9e6052cb7f
commit
950c828bbc
6 changed files with 10 additions and 5 deletions
5
.github/workflows/copies.yml
vendored
5
.github/workflows/copies.yml
vendored
|
@ -10,8 +10,9 @@ jobs:
|
|||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: cp TangerineUI.css mastodon/app/javascript/styles/tangerineui/layout-single-column.scss
|
||||
- run: cp TangerineUI-purple.css mastodon/app/javascript/styles/tangerineui-purple/layout-single-column.scss
|
||||
- run: cp TangerineUI.css mastodon/app/javascript/styles/tangerineui/tangerineui.scss
|
||||
- run: cp TangerineUI-purple.css mastodon/app/javascript/styles/tangerineui-purple/tangerineui-purple.scss
|
||||
- run: cp TangerineUI-cherry.css mastodon/app/javascript/styles/tangerineui-cherry/tangerineui-cherry.scss
|
||||
- uses: stefanzweifel/git-auto-commit-action@v5
|
||||
with:
|
||||
commit_message: Copy CSS files to installation folder
|
||||
|
|
|
@ -101,6 +101,7 @@ contrast: styles/contrast.scss
|
|||
mastodon-light: styles/mastodon-light.scss
|
||||
tangerineui: styles/tangerineui.scss | **new**
|
||||
tangerineui-purple: styles/tangerineui-purple.scss | **new**
|
||||
tangerineui-cherry: styles/tangerineui-cherry.scss | **new**
|
||||
```
|
||||
|
||||
3. **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)*").
|
||||
|
@ -112,6 +113,7 @@ themes:
|
|||
mastodon-light: Mastodon (Light)
|
||||
tangerineui: Tangerine UI | **new**
|
||||
tangerineui-purple: Tangerine UI (Purple) | **new**
|
||||
tangerineui-cherry: Tangerine UI (Cherry) | **new**
|
||||
```
|
||||
|
||||
4. **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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* TangerineUI 🍊 for Mastodon ・ Cherry variant 🍒
|
||||
version: 2.0.0
|
||||
version: 2.0.0-pre
|
||||
|
||||
A Tangerine redesign for Mastodon's Web UI.
|
||||
https://github.com/nileane/TangerineUI-for-Mastodon/
|
||||
|
|
2
mastodon/app/javascript/styles/tangerineui-cherry.scss
Normal file
2
mastodon/app/javascript/styles/tangerineui-cherry.scss
Normal file
|
@ -0,0 +1,2 @@
|
|||
@import 'application';
|
||||
@import 'tangerineui-purple/tangerineui-cherry.scss';
|
|
@ -1,2 +1,2 @@
|
|||
@import 'application';
|
||||
@import 'tangerineui-purple/layout-single-column.scss';
|
||||
@import 'tangerineui-purple/tangerineui-purple.scss';
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
@import 'application';
|
||||
@import 'tangerineui/layout-single-column.scss';
|
||||
@import 'tangerineui/tangerineui.scss';
|
||||
|
|
Loading…
Reference in a new issue