CSS architecture: Pattern 7-1 with SASS syntax (.sass extension).
Go to file
Andros Fenollosa ef078e84c2 Update modules
2023-05-31 13:53:28 +02:00
sass Update modules 2023-05-31 13:53:28 +02:00
README.md Update README.md 2023-01-02 11:12:25 +01:00

Pattern Template 7-1, an extraordinarily neat architecture that any Web Designer can understand at a glance. Structure with the help of SASS syntax (.sass extension).

sass/                    
|    
| abstracts/                   
|   | _mixins.sass     
|   | _variables.sass   
| base/              
|   | _base.sass   
|   | _fonts.sass   
|   | _helpers.sass
|   | _typography.sass
| components/   
|   | _alert.sass     
|   | _button.sass        
|   ...
| layout/                
|   | _footer.sass
|   | _header.sass
| pages/                
|   | _home.sass        
|   ...
| themes/                
|   | _dark.sass        
|   | _light.sass     
| vendors/                
|   | _normalize.sass       
|   | _owl-carousel.sass
|   ...
` main.sass             

Compile SASS.

Install

yarn global add node-sass

Run

node-sass --output-style compressed sass/main.sass css/main.css

Watch: Autocompile if it detects changes

node-sass --watch --source-map true --output-style compressed sass/main.sass css/main.css

Note: This template has been created with the help of SASS lang official style guides and HugoGiraudel repository.

Other variants