- Copy ‘scss’ folder including files to your project.
- By default koala output directory is ‘scss’ but we need to change it to our ‘css’ folder.
- Uncheck ‘auto compile’ and ‘source map’ options from bootstrap-grid.scss and bootstrap-reboot.scss.
- keep only ‘auto compile’ option on bootstrap.scss.
- Right click on ‘ bootstrap.scss’ and ‘set ouput path’ to ‘bootstrap.css’ file in your ‘css’ folder.
- Right click on ‘ style.scss’ and ‘set ouput path’ to ‘style.css’ file in your ‘css’ folder.
- Uncheck ‘combined import’ option from ‘style.css’.
- Select ‘ bootstrap.scss’ and click compile.
- Select ‘ style.scss’ and click compile.
- Delete ‘style.css’ and ‘bootstrap.css’ from ‘scss’ folder in the project.
- ‘_variables.scss’ has all the variables which we can play with and customize bootstrap as per our needs. When we change this file, ‘bootstrap’ file gets automatically compiled if koala is opened.
- Change the CDN import of bootstrap css file to the newly compiled ‘bootstrap.css’ in ‘css’ project.
Sass and Koala
Posted on:September 23, 2022 at 03:22 PM