Skip to content

Fix issue #7279: set selected emoji color to be transparant; set sele… #7299

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

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

Conversation

joshuabisdorf
Copy link

…ction color to be proper blue highlight color.

First time contributor checklist:

Contributor checklist:

  • My contribution is not related to translations.
  • My commits are in nice logical chunks with good commit messages
  • My changes are rebased on the latest main branch
  • A pnpm run ready run passes successfully (more about tests here)
  • My changes are ready to be shipped to users

Description

Fixes #7279

Simple manual testing
Before:
before
After:
after
Tested on Linux Mint (as where the issue was discovered)

… set selection color to be proper blue highlight color.
@joshuabisdorf joshuabisdorf marked this pull request as ready for review April 25, 2025 07:27
@jamiebuilds-signal jamiebuilds-signal self-assigned this May 13, 2025
@jamiebuilds-signal jamiebuilds-signal self-requested a review May 13, 2025 17:38
Comment on lines +183 to 187
.FunEmojiSelectionText::-moz-selection {
background-color: rgba(8, 73, 205, 255);
color: transparent;
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we need this. This ::-moz-selection is for Firefox and we only use Chromium inside of Signal Desktop.

@@ -176,6 +176,14 @@ $inline-emoji-container-name: inline-emoji;
line-height: 64px;
user-select: text;
}
.FunEmojiSelectionText::selection {
background-color: rgba(8, 73, 205, 255);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also may not need the background-color, I think it's only the color: transparent that is getting used to hide the text version of the emoji

@jamiebuilds-signal
Copy link
Member

Thank you for opening this, left a few comments if you want to try making those changes and seeing if it works alright

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.

Problem with highlighting emojis
2 participants