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

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

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/

分享视频
//转发自: @姬海棠羽笠果: 【原神手书】意乱情迷 海滨夏日的奇妙冒险!(Vaporwave)
这是一个讲述空哥热出幻觉梦到自己参加了海滩排派对的故事(笑)

:sys_bilibili: t.bilibili.com/704717160302247

Show older
小森林

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