Closed romilbhardwaj closed 2 months ago
Same problem here, just the other way round: seeing a dark image where a light one was expected due to using "Theme mode: Sync with system" and light mode is set to "Dark Dimmed".
Expected | Actual |
---|---|
The feature is still not working today with Sync with system
Stale issue message
GitHub seems to set the
prefers-color-scheme
CSS property todark
when using the light default in Night theme. Using the example from github docs:This renders as:
The expected output should have been:
Replication
This happens only when you use the following settings:
Sync with system
Here is the configuration:
When this configuration is used, the github page sets
prefers-color-scheme: dark
even though the page is rendered in light mode.