@ulinaaron ulinaaron released this Mar 24, 2017 · 14 commits to master since this release

Assets 2

This is a source enhancement release and does not generate any additional output to the distributed CSS files.

Highlights

  • Space variables are now contained within a $spaces map and require map-get($spaces, KEY) to be used. This now allows the developer to add their own keys and appropriate padding and margin classes will be generated.
  • .padding-* and .margin-* utility classes now use @each loops to cycle through the key and value pairs in the $spaces map.
  • A $grid-breakpoints map has been created in the settings file. Keys found in the map should match the keys created within the $breakpoints map. This basically says create grid columns for these select breakpoints. e.g. .grid__column--{GRID #}--{BREAKPOINT}. So if a developer only wants to generate grids for the small and large breakpoints this will reduce extra classes from being generated.