-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share on Mastodon icon #22
Comments
Ya sure, unless it needs a JS library to share. Does the share func work with just a link like the Twitter one? You prob already saw this, but the SVGs have 32x32 viewbox and a 1:1 ratio meaning perfect square with icon touching edges of viewbox on at least two sides. This makes all the icons scale and look proper. Run the svg through nano as well: https://vecta.io/nano |
Oh wait, we should use their logo instead of a custom designed one. In their presskit is the one called "Logotype (Full).svg". This is the one I would suggest (with viewbox changed and color to black), unless you have a reason why we would want a custom icon? |
The reason I’m not using the official Mastodon icon is that the share service I’m using is toot, and that’s the icon from the project. Since Mastodon is a federated network, there are multiple servers and you can’t have a single click link, so to speak. You need to go through some middle service that allows you to select your server in order to share a link. Toot lets you store the default server in your browser’s local storage to make things easier, though. In the end the link is like a Twitter link, e.g. Let me know your thoughts and I can open a PR with either icon. |
I made a ‘Share on Mastodon’ icon plus a footer link as well. See picture below.
I was wondering if this is something you’d be interested in? I thought it’d be better to ask before opening a PR.
The text was updated successfully, but these errors were encountered: