Replace all chevrons with a single icon - #5067
Conversation
This replaces all chevrons with a single icon, affecting components like the room list, network dropdown, and rebrand modal. Rather than having files for each direction that can get out of sync, this change uses one direction and rotates in CSS for the others. Fixes element-hq/element-web#14663
|
Hmm, so the chevron next to People and next to Show more should be the same icon at the same size... Do you want both to be the same colour then? If so, which colour, or have I misunderstood entirely...? 😅
Okay, I have made it larger to match the X icon above, and repositioned to align with text and X icon. Screenshot updated above.
Yeah, it just happened to be using the chevron icon previously, and I didn't really want to leave it around just for that screen, so hoping to adapt the new one to fit here as well. I made it bigger and thicker, screenshot updated above. |
Here is an example of how do they look like in context: https://www.figma.com/file/rHnynEgrePUtXVear8rGT0/34-Room-List?node-id=657%3A12676
Perfect sizing! I'd just move down a bit more and match the thickness of the lines with the "X" above.
Looks great! |
Hmm, I think I am missing whether that's what you want or what is wrong... As far as I can tell, the size and position for both matches the Figma screen. The colour is currently different. Should I change the color to match Figma? Or is something wrong with the position? If so, you may need to be more verbose, as I can't tell what is different from Figma at the moment. 😅 |
The show more seems smaller for some reason in the preview. The alignment looks fine, but the colors should be different. |
Thanks for clarifying. I have double-checked to verify, and the chevrons for room section and show more are the same size. As for colours, there's actually several colours in Figma as well, so I am not sure which you want: Figma
The same is true in the dark theme version: show more text uses secondary, while the others use tertiary. Current app without changesLight theme
Dark theme
@benedikrok, should everything be changed to tertiary text colours in both themes then...? Does that include the message previews on room tiles as well...? |
You're right, I forgot we made an exception for the show more text. Let's stick with the values we have in Figma. Sorry for the confusion 😬 |
| width: 24px; | ||
| height: 24px; | ||
| right: -28px; // - (24 + 4) | ||
| right: -26.5px; // - (24 + 2.5) |
There was a problem hiding this comment.
while we're here, can we reference what 24 and 2.5 mean?
|
Nique was asking me to also replace the jump down chevron with this one as well during our design polish session, could you also use the new chevron here please 🙏? |
How does it look like? |
See #5074 |
Let's change it. Just make sure the sizing will make sense. I. It default size it might be too small, so we should probably resize it. |
|
And as well for the top unread button in the timeline please? |
👍 |
|
@benedikrok Today's updates include:
See updated screenshots in the top comment to check the results. |
Looks Good 👍 |
|
Thanks all! 😄 |
This replaces all chevrons with a single icon, affecting components like the
room list, network dropdown, and rebrand modal.
Rather than having files for each direction that can get out of sync, this
change uses one direction and rotates in CSS for the others.
Network dropdown
Rebrand modal
Room list
Jump to bottom
Jump to unread
With guides to confirm alignment
Fixes element-hq/element-web#14663