What problem did you meet?
It does not seem possible to pass the dark-/light-mode settings from an application over to Logto, which leads to the two being possibly out of sync.
Logto has a setting for using the users OS settings for dark-/light-mode, but if the application that uses Logto for authentication has a different mechanism, for example allowing the user to overwrite the OS settings (Light, Dark, System toggle), then Logto diverges from this when it loads, possibly breaking the styling.
Describe what you'd like Logto to have
I would like to be able to have a parameter that can be passed over to Logto to control the style mode from the outside.
With the extraParams that already control things from the outside and the dark-/light-mechanism already existing within Logto, this would be a smaller change.
In case the dark mode is not enabled at all in Logto then the parameter would simply get ignored if it's being sent, if it's enabled and the parameter is sent, then it wins over the Logto default.
I would be willing to make a contribution for this feature.
Related issues are #60, #8959 and #6923
What problem did you meet?
It does not seem possible to pass the dark-/light-mode settings from an application over to Logto, which leads to the two being possibly out of sync.
Logto has a setting for using the users OS settings for dark-/light-mode, but if the application that uses Logto for authentication has a different mechanism, for example allowing the user to overwrite the OS settings (Light, Dark, System toggle), then Logto diverges from this when it loads, possibly breaking the styling.
Describe what you'd like Logto to have
I would like to be able to have a parameter that can be passed over to Logto to control the style mode from the outside.
With the extraParams that already control things from the outside and the dark-/light-mechanism already existing within Logto, this would be a smaller change.
In case the dark mode is not enabled at all in Logto then the parameter would simply get ignored if it's being sent, if it's enabled and the parameter is sent, then it wins over the Logto default.
I would be willing to make a contribution for this feature.
Related issues are #60, #8959 and #6923