'Dark Mode' isn't being picked up automatically
Although the website has auto switching to dark mode enabled (https://github.com/railwayapp/docs/blob/8155004bd4b298f529c9beec7bcc9ecd8e749576/src/styles/theme.tsx#L60-L67), it's not actually doing so.
11 Replies
Don't think it ever has
And nobody has complained before me, right?
I've complained to myself before π
I don't think they even use prefer-color-scheme to detect system theme π€
The docs are open source right? I could make a pr if I get time at some point
Also thanks for showing me this damn
so till now you were switching whole system theme just to check that your website dark mode is working properly π³
I was using edge://settings yeah
Lol
Nah bro! All my systems are always on dark mode.
I hate lights!
Yep. They're using some library called
nest-themes
. Not sure if there's no functionalities for auto switching themes or not.