Hi!
I can not understand how to set default theme for survey preview. I already tried StylesManager
but it doesn't help. Also I found simulatorTheme
property in source code, but can not understand how to set value for it. Can You help me?
Hi!
I can not understand how to set default theme for survey preview. I already tried StylesManager
but it doesn't help. Also I found simulatorTheme
property in source code, but can not understand how to set value for it. Can You help me?
Hello Boris,
We will be back on this issue tomorrow. Sorry for the delay.
Thank you,
Andrew
SurveyJS Team
No problem - it's not urgent or critical.
Hello,
I've implemented this feature by this PR. I added creator option
themeForPreview
which can bemodern
,default
ordefaultV2
. Default value of this option isdefaultV2
.This functionality will be available from
v1.9.29
UPD: One question from our designer. Why do you prefer
Default (legacy)
theme?Thank you,
Yaroslav
SurveyJS Team
Thank You, Yaroslav!
I'll wait for release to test it!
The problem is that we overridden default styling according to our application styles before. So it's easyly to get consistent view in legacy theme. To update our app styles our designer need to do a lot of work. As for me personally, I prefer
modern
style that looks like angular material UI.Hello,
Thank you for the clarifications!
Thanks, Serge
SurveyJS Team
Works!
Thank You, Serge!