Closed
Description
Related PR: #1100
How to reproduce this issue
(Safari does not support this, you need to use Chrome or Firefox to reproduce this issue)
- Switch to dark mode
- Modify any img src to
https://cdn.simpleicons.org/jsr/yellow/blue
in your inspector - The image color should be blue, but it's yellow on production
Description
The package readme may include a dynamic color scheme style in the image, like this project's readme: https://github.com/LitoMore/simple-icons-cdn.
This PR fixes a display behavior when the remote image has a prefers-color-scheme
inside for dark mode.
Preview
Actual | Expected |
---|---|
![]() |
![]() |
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done