Customize Appearance with CSS Variables

Edit in →

Survey Creator comes with an API that allows users to create, apply, and switch between custom UI themes. If your project doesn't require these capabilities, you can customize the Survey Creator UI by overriding a few CSS variables. This example shows which CSS variables you can redefine.

  • --sjs-primary-background-500
    A primary accent color.

  • --sjs-secondary-background-500
    A secondary accent color.

  • --sjs-special-background
    A color for the surface background.

Other CSS variables are calculated automatically based on those variables. If you want to customize the Survey Creator UI in more detail, you can override the dependent variables as well.

Survey Creator users can modify the UI at runtime. You may want to disable this capability if you apply UI customizations in code. To do this, set the showCreatorThemeSettings property to false as shown in this demo.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.