Open patak-dev opened 1 year ago
@patak-dev you guys have accent colors or just a palette of orange-yellow?
Currently we are using: White, text-primary, text-secondary, text-secondary-light
this issue seems important and quite straight forward, maybe start with the verified links being highlighted with the theme color and we can go from there?
I don't see how to fit the tick into here
I think including the tick, or some other indicator that is not just color, is necessary as an accessibility issue. Additionally, a color indicator would not be clear to people who use Elk in grayscale mode.
@ZMYaro thats a good point about the accessibility issue... In this case Green is an awful color to use then...
@wakest Green is fine to use as long as it is combined with a non-color indicator (like the checkmark).
I'm interested in mocks for this
One possible idea is to make the meta info bigger. It is hard to add more than just color with the current design, but it would be easier if we have a bit more air. I don't know if we should go to one line per meta, but maybe that could be revisited? I think the meta info is quite important, and we are having it small and in secondary color currently.
On possibility is something like what I mocked up for #1101, where we could have the label small and attached to the link, and then it would be less of an issue if the icon became a checkmark when verified.
Respectfully, I do not think this issue should be closed yet. I think a more clear indicator should be used than an outline alone. I can try to take a stab at an approach sometime this weekend if I have time.
Go for it
Maybe something like this?
We could also just format metadata like the default Mastodon web client does.
Seems like a good improvement! Please open a PR for this ❤️
Seems like a good improvement! Please open a PR for this ❤️
Would it be better for this be the tint color or green no matter the theme?
@patak-dev might have stronger opinions, but I'm inclined to theme colour
Few implementation questions:
Anyway, it's just these styles, which I'm posting here for backup before the questions are addressed:
/* On the container div */
border-color: var(--c-primary);
background: var(--c-dark-primary-fade);
/* Magic numbers that make it look right */
padding: 1px 4px;
padding-right: 6px;
/* On the icon */
color: var(--c-primary);
In the screenshot, I added some padding. I don't know if that's alright with you all.
Yeah, that's great. Make sure that padding is on the other links as well (I forgot to do that in my PR)
How is this going to be applied to the verified links that aren't placed at the bottom?
Honestly, unsure :/. Maybe get feedback in the UI channel 🙏🏻
Honestly, unsure :/. Maybe get feedback in the UI channel 🙏🏻
In the Discord guild?
In the Discord guild?
Yeah ❤️
Since they are a little bit buried in the PR UI, here are some screenshots of what my current proposal looks like on a few profiles:
Looks great! Just my two cents, I feel like verified links should be emphasized more. Also, how are non-standard metadata titles handled?
I feel like verified links should be emphasized more.
My own opinion is that the checkmark + outline is sufficient, but we could try making them the accent color if the consensus is that would be better.
Also, how are non-standard metadata titles handled?
Links with non-standard names get a chip with a standard link icon (like the link to my Linktree in the first screenshot), and other fields with non-standard names display as they do right now.
Here is what a verified link looks like if we make it entirely the accent color:
((Ignore the missing brand icons on the non-verified icons in this test.))
In response to @patak-dev's feedback, here is an approach that tries to combine the checkmark with the other icon:
And then this is the same implementation, but with the circled checkmark icon:
I like both, but since the circled checkmark is more visually busy, I am inclined to go with the simpler option.
Strong support for the above from me!
@antfu thinking about how to implement this with the current UI. Maybe a primary color check icon next to the link? Or just use a primary color for the link when it is verified? If we don't want to use green, I think we may need the tick
https://mas.to/@addyosmani@indieweb.social
https://elk.zone/@addyosmani@indieweb.social