Sending all user preferences to a custom component not only theme, language, notation of fields for use regarding the link below (theme is already send to the custom component) extend the other settings to the custom component.
Styling of custom components in Light and Dark mode | Thinkwise Community

