Notice that when we toggle theme to dark mode and scroll the page the background is black (the body of the web page not visible in the viewport). Also refers-color-scheme: light and dark seem to have different values but it still uses values of dark mode (gray color)
What happened?
I applied next-themes dark mode in the following way
Notice that when we toggle theme to dark mode and scroll the page the background is black (the body of the web page not visible in the viewport). Also
refers-color-scheme: light
anddark
seem to have different values but it still uses values of dark mode (gray color)https://github.com/pacocoursey/next-themes/assets/31410839/362877c6-9f57-4c63-964a-db5d5e3ac0b3
Version
Next.js v14.2.3
What browsers are you seeing the problem on?
Chrome