Show newer

Steps to customize Mastodon Logo on Mastodon Fork: mashirozx/mastodon

Step 1: Design and create your Logo

Puts your logo svg files into ./design/YOUR_CUSTOM_NAMESPACE/. Please follow the examples in ./design/original and ./design/forest directories, and make sure the width-height ratio is the same as the original version.

When creating the two logo-symbol icons, please make sure the code structure is the same as picture below. The paths filled with currentColor will finally generate into two sets of icons for light and dark mode (eg. the top icon on /about page).

Step 2: Generate static assets

Copy ./lib/tasks/branding_forest.rake to ./lib/tasks/branding_your_custom_namespace.rake, and modify the new file, replace all _forest into _your_custom_namespace.

Install dependencies in your OS:

# macOS
brew install imagemagick librsvg

# ubuntu
apt install imagemagick librsvg

Run command (replace _your_custom_namespace to yours):

RAILS_ENV=production rails branding_your_custom_namespace:generate
# you may need `bundle exec` if rails cannot been found
RAILS_ENV=production bundle exec rails branding_your_custom_namespace:generate

Step 3: update Mastodon configuration

See: github.com/mashirozx/mastodon/

Show thread

RT 米🔞国糗事
某个梯子的用户统计,中国大陆翻墙多达7亿人(虽然有很大水分),甚至还不是全球最高的🤭

:sys_twitter: twitter.com/USB_Silly/status/1

王小美 boosted

Monado停止捐助一年了
经统计,2020年12月至2021年9月受助的3073.09已全部投入日常运营。(指每月服务器续费等。去年受灾亏损1k+以及mona.do域名由CD自费。)

名单将于一段时间后统计。

日后Monado将继续保持由运营团队自费的状态。

感谢大家在去年我俩没钱的时候扶了一把 :cdko_innocent:

最该取消的难道不是少数民族吗,估计他们不敢,挠头

王小美 boosted

一个月没合代码,合上基本没什么冲突,说明上游仓库不怎么活跃啊,big G是不是想要咕了

王小美 boosted

UPDATE: FAKE NEWS
====

RT 💙NiKITa💛🇺🇦 ꑭ 🇪🇺
大批俄軍突然控制了俄國首都莫斯科交通,市中心已封鎖。(不知道出什麼事了🤷‍♂️)

:sys_twitter: twitter.com/NiKiTa_32156/statu

RT Mikhail Khodorkovsky (English)
⚡️Municipal deputies in St Petersburg have put forward a proposal to the 🇷🇺 State Duma to bring treason charges against Putin in order to remove him from the presidential office

:sys_twitter: twitter.com/mbk_center/status/

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。