evgeny-nadymov/telegram-react

Chrome downloads shelf shown in light mode with the dark theme enabled

erayrafet opened this issue · 4 comments

Even though dark mode is enabled in the Windows settings, Chrome, and Telegram React, the downloads shelf of the browsers still appears in light mode/theme.

image


> Windows 10 20H2
> Chrome Beta 90
> TG React 0.0.963
> Running in windowed mode / like a PWA

That is a issue with the browser. Go file a bug report with the developers of your browser.

That is a issue with the browser. Go file a bug report with the developers of your browser.

That simply isn't true.
See:
image
image
image

Even Discord, which isn't a PWA, does not have the same color mismatch.
I'm sure it has something to do with this: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

I have used chrome, and now use the Microsoft Edge fork of it, and I have never seen a dark download bar. I can experiment a bit though and see what I can learn.

I'm sure it has something to do with this: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme

That CSS option simply allows web devlopers to set the css for their site based off the users preference.