Hello,
Can you help me with themes?
I have questions:
- How to add dark and lite custom theme? I've added light but dark doesn't work.
- How to merge save theme and save survey buttons to one button? (save event and modified state)
And one more question. How to hide "please purchase license" message? I see it after I updated to the latest survey version.
Thanks,
Anton
Hello Anton,
Thank you for your questions.
The Light and Dark setting is a special
colorPalette
theme setting which defines which color palette will be applied to a theme. However, the color palette setting is not specific to a particular survey theme, but is preserved when a user selects another theme from a list. I will discuss a possible option to build a custom Dark theme and preserve the palette setting for the custom theme only. Please stay tuned.To process them in the most efficient manner, I separated them in different tickets:
Please refer to them for further details.
I've changed the Default theme
SurveyCreatorCore.Themes.cd_default = themeJSON.cssVariables; SurveyCreatorCore.PredefinedThemes.shift(); SurveyCreatorCore.PredefinedThemes.push("cd_default"); SurveyCreatorCore.PredefinedThemes.splice(0, 0, SurveyCreatorCore.PredefinedThemes.pop() as string);
When user clicks on Dark theme or on Without Panels then he sees an error
Thanks,
Anton