Sha256: e6647894a197ad4b09e0433c5e61f28e1501dda0d8c3d3347d60f74d64bee5d6

Contents?: true

Size: 537 Bytes

Versions: 15

Compression:

Stored size: 537 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: null) {

  // 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
  $Grids: sgs-get('grids');

  $Found: find-object($Grids, $user-columns);

  @if length($Found) == 1 {
    $Found: nth($Found, 1);
  }

  @return $Found;
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
singularitygs-1.8.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.7.1 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.7.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.6.2 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.6.1 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.5.1 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.5.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.4.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.3.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.3 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.1 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.0 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.0.rc.6 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.0.rc.3 stylesheets/singularitygs/grids/_find.scss
singularitygs-1.2.0.rc.1 stylesheets/singularitygs/grids/_find.scss