readme.so
readme.so copied to clipboard
Bug: dark mode in preview ruins display of emoji and color
Describe the bug
To Reproduce Steps to reproduce the behavior:
- Go to editor
- Click on dark/light mode switcher
- See as following: Emojis display with weird filter and color code display incorrectly
Expected behavior
Emojis and color code should be consistent under both dark mode and light mode.
Screenshots NA
Additional context NA
I looked into the implementation of mode switching. Using filter: invert(0.9)
is handy but come with some drawbacks as describe above.
I would love to make a PR to do the enhancement. Let me know if that is possible! Thx.
@yipei1028 feel free to open a PR with a fix! thanks!