-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Chat component: Add contrast to links #8279
Conversation
This is a tiny PR to adjust the link colors for responses in the chat to show more contrast against their background.
Can you add testing instructions and a screenshot please? :) |
Great point, sorry for forgetting that. Have updated the post! |
@@ -284,10 +284,25 @@ | |||
padding: 0 8px; | |||
margin: 6px 0; | |||
|
|||
a { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we prefer named class selectors instead of targeting HTML elements. I thought it's written in our CSS guidelines but I can't find it now. :D
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be an exception since we don't necessarily control the markup that is rendered in the chats.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, how so? If somebody writes a link, we are the ones who control how the link gets rendered; as a a
element with this and that props and class names. Or do I get this wrong? Isn't it our service, our code?
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need this blank line?
Thanks for adding the instructions and screenshot! First thing first — the chat is awesome! I'm seeing it for the first time and it's really nice. Great work there! I think the links are legible enough now. Except the two minor things I pointed out, I think this is ready to be merged. |
Whitespace cleanup looks consistent now 👍 |
This is a tiny PR to adjust the link colors for responses in the chat to show more contrast against their background.
Instructions:
make run
CalypsoScreenshot: