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
We need to add an auto-adding border radius for dApp logos. We can set border-radius to 8px, based on the following design
UPD [04.12]: The seconds point is not relevant
2. 1. For now we upload only one version of a dApp logo. It causes situations when one logo could look good on one theme, but weird on another one. My and @tgladilina idea is the following:
- For .png/.jpeg formats we can add white/dark border for logos
- For .svg format the algorithm is the following:
1. Checking the color of the logo on the border
2. If it's dark:
- On the dark theme: add white background
- On the light theme: do nothing
3. If it's light:
- On the dark theme: do nothing
- On the light theme: add dark background
The text was updated successfully, but these errors were encountered:
What to do?
Product epic: https://www.notion.so/blockscout/Fix-dApp-logo-displaying-771dcba7dec94b929ea0aa2728402735?pvs=4
UPD [04.12]: The seconds point is not relevant
2. 1.
For now we upload only one version of a dApp logo. It causes situations when one logo could look good on one theme, but weird on another one. My and @tgladilina idea is the following:-
For .png/.jpeg formats we can add white/dark border for logos-
For .svg format the algorithm is the following:1.
Checking the color of the logo on the border2.
If it's dark:-
On the dark theme: add white background-
On the light theme: do nothing3.
If it's light:-
On the dark theme: do nothing-
On the light theme: add dark backgroundThe text was updated successfully, but these errors were encountered: