Sha256: 3dd747729afb11be9c8a6538d50d6bf539fbc4b6d52b925eef6299f77b150779

Contents?: true

Size: 611 Bytes

Versions: 15

Compression:

Stored size: 611 Bytes

Contents

//////////////////////////////
// Find gutter style
//
// Finds the gutter style that you are working with.
// From Singularity
// Must be using Breakpoint to work properly
//////////////////////////////
@function find-gutter-style($user-gutter-styles: null) {

  // We supply a default if the user hasn't set any gutters and hasn't passed in a custom column set
  // The default supplied is based on original Susy options
  $Gutters-Styles: sgs-get('gutter styles');

  $Found: find-object($Gutters-Styles, $user-gutter-styles);

  @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/gutter-styles/_find.scss
singularitygs-1.7.1 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.7.0 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.6.2 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.6.1 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.5.1 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.5.0 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.4.0 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.3.0 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.3 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.1 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.0 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.0.rc.6 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.0.rc.3 stylesheets/singularitygs/gutter-styles/_find.scss
singularitygs-1.2.0.rc.1 stylesheets/singularitygs/gutter-styles/_find.scss