Sha256: 406ec12a606f3d75d1570e9abb64e7b749c8ffde8976e1b05987c216aa8e61eb

Contents?: true

Size: 497 Bytes

Versions: 7

Compression:

Stored size: 497 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

7 entries across 7 versions & 1 rubygems

Version Path
archetype-0.0.1.pre.7 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.6 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.5 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.4 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.3.90263a7 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.3.6ed259b test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss
archetype-0.0.1.pre.3.f9dde24 test/fixtures/stylesheets/archetype/source/utilities/custom_output_styler.scss