The build.scss file is a new way to add local CSS to your survey theme using a SASS-based system. build.scss overrides styles in local.css.
To modify your local survey theme using SCSS, go to Build > Assets > Files, navigate to the _s directory, and select build.scss.
Caution! Both build.scss and local.css can customize your survey theme. However, any CSS compiled in build.scss will override styles in local.css.
Details
- Read the README file and the build.scss file.
- Add as many styles rules as needed to the file.
- Refer to library.scss for default values available to all themes. (Go to theme > system and click on library_template.scss.)
- Refer to each theme's styles.scss for variables that can be customized for your specific survey theme. (Go to theme > system > (your survey theme folder) > _t and click on styles.scss.)
- If you override any existing variables, for example font size, replace the original lines in the build.scss file.
- Click Save and compile to CSS to commit the changes.
- Click Reload to revert the file to the last saved version.
- The CSS changes made in build.scss will appear at the bottom of the local.css file.
Comments
0 comments
Please sign in to leave a comment.