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

Improve highlight CSS for dark mode #4

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

phoenixeliot
Copy link
Contributor

This improves the appearance of highlights in dark modes.

Before:
Screen Shot 2022-11-08 at 22 44 41
Screen Shot 2022-11-08 at 22 45 50

After:
Screen Shot 2022-11-08 at 22 44 17
Screen Shot 2022-11-08 at 22 46 09

@phoenixeliot
Copy link
Contributor Author

I also like this but felt the simpler change was more worth a PR, since anyone can customize anyway:

.unlink-highlight {
  background-color: transparent !important; /* override the plugin */
  backdrop-filter: invert(.2);
  display: inline-block;
}

@usoonees usoonees merged commit 6bffcaa into usoonees:master Nov 9, 2022
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