I’m trying to create custom css for read only textboxes and ensure they display well for light as well for dark modes. So I’m trying to set up a background color for light mode and another for dark mode.
I know that the RazenLayout changes depending on dark or light modes ie. for Fluent Theme, for light sets a css style of rz-fluent and for dark mode sets rz-fluent-dark.
This could work, however, the issue is that the textbox are in a Dialog and the code generated for a dialog sits outside of the layout.
Is there a workaround for the above for a Dialog?