callumlocke/json-formatter

System dark mode issues conflicts with extension colors

tomasvts opened this issue · 4 comments

When you set the "Dark appearance" on Mac
image

Chrome will autodetect this and display whenever it can the page in black mode
image

This can be checked testing this:
window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches

Returns true on dark mode devices.

Same problem here in Edge 101 with default Dark mode.

Same for me on chrome

up

Thanks, now fixed in v0.6.2