-
Notifications
You must be signed in to change notification settings - Fork 559
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
Darkmode inverts the colors of emoji #28
Comments
Hi 👋🏻 unfortunately the dark mode is implemented by inverting all colors on the page with a filter. There is an exception: the color is inverted again for images, in order to leave them unaffected. However there's no way I can think of to select only emojis in CSS and invert their color again just like for images. The only solution I can think of is declaring a rule like this in CSS:
and then encapsulate every emoji you type in your post with the "emoji" class. Painful but it should work. Let me know if you come up with a solution though 😁 |
This solution probably doesn't align with your goals, but my solution was removing the dark mode implementation in the css and instead using water.css's styling to deal with the dark/light mode stuff. So I added: Benefits:
Downsides:
|
Hey! I did the solution you mentioned (@riggraz ) and it definitely worked for me. In my In the Thank you! @riggraz |
Actually reinverts it after being inverted, but that's beside the point Fixes riggraz#28
I love this theme! Thank you so much for putting it together. I noticed a hilarious issue today: the dark mode theme inverts the colors of any emoji in the post text. Is there a way around this?
The text was updated successfully, but these errors were encountered: