Sha256: 75ed9be97646329277d8e87e837677fdf30ca867e81754b22c0ef5e487738018

Contents?: true

Size: 498 Bytes

Versions: 2

Compression:

Stored size: 498 Bytes

Contents

// define the test function
@function has-custom-output-styler($property, $value, $method: pre) {
  @if $property == color {
    @return true;
  }
  // only if it's a post processing all values
  @else if $property == line-height and $method == post {
    @return true;
  }
  @return false;
}
// define the custom styler
@mixin custom-output-styler($property, $value, $method: pre) {
  #{$property}: $value; /* #{$method} override */
}

@import "archetype";

.test {
  @include styleguide(copy);
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.12 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.11 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss