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

Add transparency to text highlight color #1223

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

csillag
Copy link
Contributor

@csillag csillag commented Feb 2, 2024

This is a follow-up to #646.

In order avoid the problem of hiding parts of the characters adjacent to the highlighted text, the highlighting background needs to be partially transparent.

For example, when highlighting "uma" in "Kumaji":

Before the fix:

image

The right part of the letter "K" is partially hidden.

After the fix:

image

Copy link

github-actions bot commented Feb 2, 2024

Deployed to Cloudflare Pages

Latest commit: 9ec1522702e8d2f7bb771499daf119cd77d3ac5c
Status:✅ Deploy successful!
Preview URL: https://378b1f30.oasis-explorer.pages.dev

@csillag csillag force-pushed the csillag/fix-text-highlight-transparency branch from d7c6df6 to fe53bca Compare February 2, 2024 04:03
@csillag csillag marked this pull request as ready for review February 2, 2024 04:03
@csillag csillag enabled auto-merge February 2, 2024 04:05
In order avoid the problem of hiding parts of the characters
adjacent to the highlighted text, the highlighting background
needs to be partially transparent.
@csillag csillag force-pushed the csillag/fix-text-highlight-transparency branch from fe53bca to 9ec1522 Compare February 2, 2024 09:59
@csillag csillag merged commit 2b7d7fe into master Feb 2, 2024
8 checks passed
@csillag csillag deleted the csillag/fix-text-highlight-transparency branch February 2, 2024 10:00
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.

2 participants