Chandra
1
Hi, the default seems to be dark mode on some devices. Is there a way to change this?
I see this on:
- Ubuntu budgie desktop - default color scheme is always dark.
- Android mobile (Firefox browser) defaults to dark.
Details about my setup:
- Only one theme (Air) active with a Light color palette enabled and default.
- One additional Dark Color scheme (Air Dark) set to be selected by users (under Colors).
- Default dark scheme color id set to Air Dark in Settings.
- Dark-Light Toggle theme component enabled.
3 Likes
I think it may be this last one that’s causing some issues:
Does disabling that help?
3 Likes
Chandra
3
No, disabling Dark/Light Mode Toggle has not effect on discourse identifying the system dark/light state.
Also, the Dark/Light Mode Toggle was showing up and working correctly.
3 Likes
Is this for anons, or for you personally?
Perhaps you have this set as dark in your preferences on those two browsers? Would removing this as user selectable clear this up?
3 Likes
Chandra
5
For anons, it is dark.
For me, the moment I change the Profile - Color Scheme - Dark Mode to a Dark scheme (switching away from ‘Same as regular’), the default becomes dark.
So it appears the system scheme is somehow being read as dark by default.
3 Likes
With my two swings and two misses, I’ve split this off into its own support topic to try and get some more eyes on it.
3 Likes
pmusaraj
(Penar Musaraj)
7
Can you post the URL to your site and screenshots of the theme settings relating to color schemes?
4 Likes
Chandra
8
Here please. I will PM you the URL.
I had switched off dark mode due to the issue earlier and have enabled it for you to see. So please let me know after you take a look, thanks.
Enabled theme:
Active Theme Settings:
Light Color Scheme:
Dark Color Scheme:
Default Dark Mode Setting:
2 Likes
pmusaraj
(Penar Musaraj)
9
Thanks. Can you do the following:
- disable the dark-light toggle component
- test on different browsers in Ubuntu/Android but using incognito/private mode (so that no cookies) are loaded
And please post the results here, per browser. (I tested on macOS Chrome and Android 11 via BrowserStack and see no issues.)
3 Likes
Chandra
10
Tested and have just the same results.
Default is dark mode in both Ubuntu Budgie and Android.
Did you see Light in Android 11 Anonymous?
Thank you.
2 Likes
pmusaraj
(Penar Musaraj)
11
Yes. What are the details of your Android system (device/OS versions)?
2 Likes
Chandra
12
I managed to test this a little more on Android 11 and it appears different browsers behave differently.
The good news is that this works on:
- Android 11 / Chrome and Edge
- iPhone 7 Plus - iOS 15.6.1 / Safari (also tested now)
It does not work on:
- Android 11 / Firefox
- Ubuntu Budgie - Dark mode
(I corrected the browser name Firefox and dark mode option in Ubuntu Budgie in OP to avoid future confusion)
I believe these are to do with the respective OS/browser, so we could drop the case here. Most appreciate your time and proactive support.
4 Likes
system
(system)
Closed
13
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.