Dark mode toggle in user preferences

aisha aisha 2 months ago

It would be great if users could switch to a dark color scheme directly from their profile preferences, independent of the system theme. Many of us work late and dark mode reduces eye strain.

Ideally it respects the theme's dark palette and falls back to a sensible default.

12

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

Appreciate the clear steps. The dry-run tip in particular saved me from a mistake I would not have caught otherwise.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

Great point. I had not considered the angle you raised in the second paragraph — it reframes the whole thing for me.

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

I respectfully disagree on one detail. In my setup the opposite held true, though I suspect it comes down to community size.

Click Any Link Below To Find Out More

This will close in 0 seconds