Skip to content
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

Added color to the link messages & link present in link preview based on light and dark theme #912

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dhairyashiil
Copy link
Contributor

Brief Title

Added color to the link messages & link present in link preview based on light and dark theme

Acceptance Criteria fulfillment

  • Link messages in both chat and link previews should adapt their color based on the current theme (light or dark).

Fixes #911

Video/Screenshots

image

PR Test Details

Note: The PR will be ready for live testing at https://rocketchat.github.io/EmbeddedChat/pulls/pr-912 after approval. Contributors are requested to replace <pr_number> with the actual PR number.

@Spiral-Memory
Copy link
Collaborator

Unable to understand the fix. Please attach a detailed video / description to help me understand.
Thanks

@dhairyashiil
Copy link
Contributor Author

Unable to understand the fix. Please attach a detailed video / description to help me understand. Thanks

Currently, links are shown in black. For a better UI experience, the links should be displayed in a color different from the normal text color.

When setting the color, I did not hardcode the link color; instead, I considered both light and dark modes of the theme and chose a color that looks good across all themes.

Thank you for your time : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat: Add color to the link messages & link present in link preview based on light and dark theme
2 participants