webermaximilian92 edited a comment on issue #3301: Add scss to css compiler
URL: https://github.com/apache/cloudstack/pull/3301#issuecomment-487510844
 
 
   Hey @rafaelweingartner ,
   
   - Using CSS is no longer the common standard for complex pages like 
cloudstack
   - SASS (https://sass-lang.com/) or SCSS are preprocessors of CSS. Similar to 
ES6 or TypeScript for JavaScript.
   - SCSS is compiled to CSS code while developing or deploying only (in our 
case while dev)
   - SCSS provides us many logical functions and advantages to organise CSS 
rules more easily and less redundand with features like variables and so called 
mixins
   - SCSS let us work more modular and is better maintainable
   - We could split CSS files too, but this is not best practice, since many 
CSS files will result in many server requests and with SCSS it's possible to 
compile many files into one single CSS file (full automatically in just under a 
second after any SCSS changes) 
   - This compiled CSS file could also get minified, which will enhance loading 
times of cloudstack pages.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to