scss file structure best practices code example

Example: scss file structure

> scss
    > base
		> theme									
          |- _richBlue.scss
          |- ...
        |- __base-dir.scss					#Import all base .scss files
        |- _bootstrap.scss        
        |- _variables.scss

    > components
        |- __components-dir.scss			#Import all components .scss files
        |- _header.scss
		|- _ie.scss
        |- _liquid-design.scss
        |- ...

    > global
        |- __global-dir.scss				#Import all global .scss files
        |- _busyloader.scss
        |- _scrollbar.scss
        |- _utilities.scss
		|- ...

    > icomoon								#Additional third party folders
		> fonts
		|- demo.html
		|- style.css

	
    styles.scss					#Import all dir files and third party folders

Tags:

Css Example