socketio / socket.io-website

Socket.IO website and blog
https://socket.io
318 stars 668 forks source link

Dark theme not applied by default based on the user OS/Browser preference #410

Closed kumaravel95 closed 11 months ago

kumaravel95 commented 11 months ago

ug: If a user applied dark theme in OS/Browser preference, when user lands for the first time, By default, LIGHT theme is applied.

Fix: docusaurus have the config to apply theme based on the user's preference REF: https://docusaurus.io/docs/api/themes/configuration#respectPrefersColorScheme

Note: docusaurus website respects the user's preference theme

Pullrequest is created to fix this issue: https://github.com/socketio/socket.io-website/pull/409

darrachequesne commented 11 months ago

Closed by https://github.com/socketio/socket.io-website/pull/409.