if we have only one style enabled (and I disable the old dark style), it will automatically default to System
UPDATE `xf_user` SET `style_variation` = '';
if we have only one style enabled (and I disable the old dark style), it will automatically default to System
Wouldn't that make it moot? You would essentially have just 1 style with 1 variant so system would have to fall back to the single variation only because there is no alternate.One thought is, if we have only one style enabled (and I disable the old dark style), it will automatically default to System. Perhaps?
I haven't tested this, but if a user's system was set to light mode, came to XF as a guest, chose to enable dark mode, and then sign up, you're saying that it would default to system?But yeah, "System" is the default regardless. People have requested it default to either "Light" or "Dark" but fundamentally that's not an approach we want to take. We strongly feel that "System" should be the default rather than one or the other being forced upon you.
I don't think that merits a suggestion thread, but it should be noted in a future upgrade to store it in the cookie and apply it on sign up.I didn't say that, no.
But, as it happens, that is the case, and I agree it should remember a guest's preference.
Precisely. And I wondered if I unticked the user selectability of the dark style if those users, when moved to the light style (with dark variant), would be set to System, so they would not even notice the transition if their systems were set to dark. So that's what I did. I imagine this takes place the next time they log in.I think @beerForo was saying that he has one style (with a dark and light variant) and the original dark style will be disabled (as it's now a variant in the default style).
It would also be nice if it was easily possible to have multiple variation choosers on one page (for example footer and navigation) - right now this doesn't work without issues.Yeah we're looking into it
Why wouldn't they just use "System" in this case?Some users may want to have different variations on different devices, for example light on desktop and dark on mobile.
Because they like other apps on their smartphone to be Dark, but prefer XenForo to be Light (as on desktop).Why wouldn't they just use "System" in this case?
Yeah, certainly not a large amount, but might be more than expected - that's the reason why we implemented such functionality for our Dark Style in 2.2.The use case for mixing and matching seems diminishingly small.
So then they scroll down and select Light.Because they like other apps on their smartphone to be Dark, but prefer XenForo to be Light (as on desktop).
In this specific case, yes.So then they scroll down and select Light.
We use essential cookies to make this site work, and optional cookies to enhance your experience.