Sha256: 6f633b79f1edda203ed455393b0b7537b0055db001d1ea84c3380c4633d57ab5
Contents?: true
Size: 579 Bytes
Versions: 12
Compression:
Stored size: 579 Bytes
Contents
@charset "UTF-8"; /// Parse a column count like `3 of 5` and retur the total coloumn count. /// This is to allow a shorthand for custom grids without using a settings map. /// /// /// @argument {list} $span /// /// @return {number} /// /// @example scss /// _neat-parse-columns(3 of 5) /// /// @access private @function _neat-parse-columns($span) { @if length($span) == 3 { $_total-columns: nth($span, 3); @return $_total-columns; } @else if length($span) == 2 or if length($span) >= 3 { @error "`$column` should contain 2 values, seperated by an `of`"; } }
Version data entries
12 entries across 12 versions & 5 rubygems