Sha256: 1821f568e0cb8176bb2cc73b3a168791b63fe695fe42b26f3e127abfb583ac2f

Contents?: true

Size: 539 Bytes

Versions: 14

Compression:

Stored size: 539 Bytes

Contents

@charset "UTF-8";
/// Determine if a column count has been given.
/// If no columns have been given return the grid's total column count.
///
/// @argument {map} $grid
///
/// @argument {number (unitless) | null} $columns
///
/// @return {number}
///
/// @example scss
///   _neat-column-default($neat-grid, 4)
///
/// @access private

@function _neat-column-default($grid, $columns) {
  @if $columns == null {
    $_grid-columns: _retrieve-neat-setting($grid, columns);
    @return $_grid-columns;
  } @else {
    @return $columns;
  }
}

Version data entries

14 entries across 14 versions & 5 rubygems

Version Path
neat-4.0.0 core/neat/functions/_neat-column-default.scss
neat-3.0.1 core/neat/functions/_neat-column-default.scss
neat-3.0.0 core/neat/functions/_neat-column-default.scss
lifenode-0.0.0 _sass/lifenode/neat/neat/functions/_neat-column-default.scss
dream-theme-0.1.0 _sass/neat/neat/functions/_neat-column-default.scss
neat-2.1.0 core/neat/functions/_neat-column-default.scss
personally-developed-2.1.0 _sass/personally-developed/neat/functions/_neat-column-default.scss
personally-developed-2.0.0 _sass/personally-developed/neat/functions/_neat-column-default.scss
dta_rapid-0.2.5 _sass/vendor/neat/neat/functions/_neat-column-default.scss
dta_rapid-0.2.4 _sass/vendor/neat/neat/functions/_neat-column-default.scss
neat-2.0.0 core/neat/functions/_neat-column-default.scss
neat-2.0.0.beta.2 core/neat/functions/_neat-column-default.scss
neat-2.0.0.beta.1 core/neat/functions/_neat-column-default.scss
neat-2.0.0.alpha.1 core/neat/functions/_neat-column-default.scss