Skip to content

Changes from 1.0 to 1.2

Ian Carrico edited this page Apr 19, 2014 · 1 revision

There have been many changes between Singularity 1.0 and 1.2, mainly changing how we work with global variables. Sass 3.3 allows for better global variables using source maps. There is a full and continuing list of changes within the Changelog, but here is a list of important changes.

Global Variables

Instead of setting variables directly, we will use the mixin 'sgs-change' to alter all global variables.

// Singularity 1.0 
$mobile-first: true;

// Singularity 1.2
@include sgs-change('mobile first', true);

This is required to avoid global namespacing issues, so Singularity does not conflict with other Sass extensions.

Bower