Sha256: 7113ad37b37a8fb0a03e9b87a30afba1a734392049792731532b46ac24903fde

Contents?: true

Size: 190 Bytes

Versions: 53

Compression:

Stored size: 190 Bytes

Contents

// Remove `false` values from a list

@function compact($vars...) {
  $list: ();
  @each $var in $vars {
    @if $var {
      $list: append($list, $var, comma);
    }
  }
  @return $list;
}

Version data entries

53 entries across 53 versions & 9 rubygems

Version Path
daiblogs-0.2.1 _sass/bourbon/functions/_compact.scss
daiblogs-0.2.0 _sass/bourbon/functions/_compact.scss
daiblogs-0.1.5 _sass/bourbon/functions/_compact.scss
daiblogs-0.1.4 _sass/bourbon/functions/_compact.scss
daiblogs-0.1.2 assets/_sass/bourbon/functions/_compact.scss
daiblogs-0.1.1 assets/_sass/bourbon/functions/_compact.scss
daiblogs-0.1.0 assets/_sass/bourbon/functions/_compact.scss
moovui-0.1.4 app/assets/stylesheets/bourbon/functions/_compact.scss
stump-cli-0.1.3 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/functions/_compact.scss
stump-cli-0.1.2 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/functions/_compact.scss
moovui-0.1.3 app/assets/stylesheets/bourbon/functions/_compact.scss
moovui-0.1.2 app/assets/stylesheets/bourbon/functions/_compact.scss
moovui-0.1.1 app/assets/stylesheets/bourbon/functions/_compact.scss
moovui-0.0.2 bourbon/functions/_compact.scss
moovui-0.0.1 bourbon/functions/_compact.scss
stump-cli-0.1.1 lib/wp/wp-content/themes/stump/assets/vendor/manhattan/bourbon/functions/_compact.scss
blogelator-0.2.5 vendor/assets/stylesheets/blogelator/bourbon/functions/_compact.scss
blocky-0.0.11 vendor/assets/stylesheets/blocky/bourbon/functions/_compact.scss
blogelator-0.2.4 vendor/assets/stylesheets/blogelator/bourbon/functions/_compact.scss
blocky-0.0.10 vendor/assets/stylesheets/blocky/bourbon/functions/_compact.scss