Skip to main content
Question

Styling of custom components in Light and Dark mode

  • 30 August 2024
  • 1 reply
  • 38 views

Hi everyone,

In our application (using Universal GUI), we have some custom components. We experience some problems when we want to style the custom components depending on choosen mode (dark / light) in the user preferences by the user.

The custom component is presented in an <iframe> in the browser, however, within the <iframe> the css class ‘dark’ is not applied, causing the custom components not to be adjusted to the selected mode (dark/light). This makes UI/UX of application not as good as we want to.

Any ideas how to solve this?

@Bart Metselaar any thoughts on this?


Reply