Sha256: 9c910ff8457702adbbd25e3351ae7a413fed89d8520a43c7c5edb70c1440f89f

Contents?: true

Size: 512 Bytes

Versions: 8

Compression:

Stored size: 512 Bytes

Contents

//////////////////////////////
// Find Grid
//
// Finds the grid that you are on.
// From Singularity
// Must be using Breakpoint to work properly
//////////////////////////////
@function find-grid($user-columns: false) {

  // We supply a default if the user hasn't set any grids and hasn't passed in a custom column set
  // The default supplied is based on original Susy options
  @if length($grids) == 0 and $user-columns == false {
    $user-columns: 12;
  }

  @return find-object($grids, $user-columns);
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
singularitygs-1.0.7 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.6 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.5 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.4 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.3 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.2 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.1 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.0.0 stylesheets/singularitygs/grids/_find.scss