-
-
Notifications
You must be signed in to change notification settings - Fork 77
CSS SCSS Styling Instructions Wiki
Daaimah Tibrey edited this page Jul 14, 2025
·
5 revisions
The Techtonica website uses Sass to manage its CSS for better organization and maintainability. Follow the steps below to make and apply styling changes.
- All styling changes should be made to the Sass (.scss) files.
- After making changes, you need to compile the
.scssfiles to.cssto apply the updates.
Install Sass using one of the following commands, depending on your operating system:
Mac: brew install sass/sass/sass
Windows: choco install sass
After installing Sass, compile your .scss files to .css using the following command:
sass static/sass/<file-name>.scss static/css/<file-name>.cssTo automatically compile and update the CSS whenever you modify the .scss files, use the --watch flag:
sass --watch static/sass/<file-name>.scss:static/css/<file-name>.cssBy running the --watch command, any changes you make to the .scss files will be instantly compiled into the .css files, saving you time and ensuring that your styles are always up to date.
- Keep the Sass files organized and well-commented.
- Avoid modifying the generated
.cssfiles directly—make changes only in the.scssfiles. - Test your styling changes thoroughly to ensure consistency across different screen sizes and browsers.