Dark mode toggle in user preferences

[deleted] 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.

14
[deleted] OP

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

[deleted] OP

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

[deleted] OP

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

[deleted] OP

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.

[deleted] OP

This deserves more votes. It is a small change with an outsized impact on day-to-day use.

[deleted] OP

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

[deleted] OP

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

[deleted] OP

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

[deleted] OP

Strong agree. Good defaults beat a wall of toggles every single time.

[deleted] OP

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

[deleted] OP

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

[deleted] OP

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

[deleted] OP

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.

[deleted] OP

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

[deleted] OP

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

[deleted] OP

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.

[deleted] OP

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

[deleted] OP

This matches my experience exactly. The hard part is staying consistent once the initial novelty wears off.

[deleted] OP

This matches my experience exactly. The hard part is staying consistent once the initial novelty wears off.

[deleted] OP

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

[deleted] OP

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.

[deleted] OP

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

[deleted] OP

Following this thread closely. We are about to face the exact same decision and the replies here are gold.

[deleted] OP

Adding a small note: the same idea applies on mobile, just with a bit more attention to tap targets.

[deleted] OP

Following this thread closely. We are about to face the exact same decision and the replies here are gold.

[deleted] OP

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

[deleted] OP

Tried this on a staging copy first and it behaved exactly as described. Confident enough to roll it to production now.

[deleted] OP

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

[deleted] OP

We ran into the same situation last quarter. What worked for us was starting small and only adding complexity when a real need showed up.

[deleted] OP

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.

Click Any Link Below To Find Out More

This will close in 0 seconds