EmbeddedChat icon indicating copy to clipboard operation
EmbeddedChat copied to clipboard

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

Open dhairyashiil opened this issue 1 year ago • 2 comments

Brief Title

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

Acceptance Criteria fulfillment

  • [X] 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.

dhairyashiil avatar Jan 15 '25 22:01 dhairyashiil

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

Spiral-Memory avatar Jan 27 '25 15:01 Spiral-Memory

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 : )

dhairyashiil avatar Jan 28 '25 19:01 dhairyashiil