sablier-labs / docs

Documentation and guides for Sablier
https://docs.sablier.com
GNU General Public License v3.0
16 stars 7 forks source link

Add pointing arrow icon next to hyperlinks #34

Closed PaulRBerg closed 1 year ago

PaulRBerg commented 1 year ago

It would be nice to add a pointing arrow next to hyperlinks, which don't have any special formatting at the moment besides being colored in orange.

I like how Balancer renders hyperlinks:

SCR-20230706-qxkz
PaulRBerg commented 1 year ago

Thought, on seconds thoughts, what I don't like about the current formatting is not so much that there is no pointing arrow - it's more about being a lot of orange (it looks flashy):

SCR-20230706-qyod

Thus, I'd be on board with any other solution that reduces the amount of orange on screen.

razgraf commented 1 year ago
Light Dark
Screenshot 2023-07-07 at 00 34 53 Screenshot 2023-07-07 at 00 30 53
Light Dark
Screenshot 2023-07-07 at 00 34 18 Screenshot 2023-07-07 at 00 32 56
razgraf commented 1 year ago

And .. for the arrow (with some special logic for footnotes), two versions

Example Example
Screenshot 2023-07-07 at 01 16 58 Screenshot 2023-07-07 at 01 15 57
Screenshot 2023-07-07 at 01 19 08 Screenshot 2023-07-07 at 01 14 28
PaulRBerg commented 1 year ago

Oh .. now there's too much blue 😆

Dunno, I'll let you decide, but I'd keep orange.

For the arrow I like the 2nd version (at the bottom),

razgraf commented 1 year ago

Great! Arrow added, color switch to orange (although it now uses our own value for orange and changes the shade a bit between light and dark mode to account for contrast).