Skip to content

Adjust less files to the Shopware/SportSpar Code Style Standards

Notifications You must be signed in to change notification settings

pr-olga/shopware-standartize-less

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Shell Scripts for Shopware Less Files

The scripts adjust the less code style to the Shopware and SportSpar Coding Standards.

If you put the script in the folder containing the less-files to be cleaned, use the following command to execute the script:

./[script-name].sh [example.less]

unitize.sh

Replace the properties with mixin unitize:

  1. top/right/bottom/left
  2. height/min-height/max-height
  3. width/min-width/max-width
  4. padding-top/padding-right/padding-bottom/padding-left
  5. margin-top/margin-right/margin-bottom/margin-left
  6. font-size
  7. line-height
- height: 10px;
+ .unitize-height(10);

About

Adjust less files to the Shopware/SportSpar Code Style Standards

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages