Sha256: 047b0c2bd3de69a8494f092c306fdd48ce1cca51d8d34937ee9365eb4632ce65

Contents?: true

Size: 473 Bytes

Versions: 17

Compression:

Stored size: 473 Bytes

Contents

// User for linear and radial gradients within background-image or border-image properties

@function render-gradients($gradients, $gradient-type, $vendor: false) {
  $vendor-gradients: false;
  @if $vendor {
    $vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient($gradients);
  }

  @else if $vendor == false {
    $vendor-gradients: "#{$gradient-type}-gradient(#{$gradients})";
    $vendor-gradients: unquote($vendor-gradients);
  }
  @return $vendor-gradients;
}

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
bourbon-compass-3.1.1 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-3.1.1 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-compass-3.1.0 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-3.1.0 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-compass-3.0.1 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-3.0.1 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-3.0.0 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-compass-2.1.3 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-2.1.3 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-compass-2.1.2 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-2.1.2 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-compass-2.1.1.0 stylesheets/bourbon/functions/_render-gradients.scss
bourbon-2.1.1 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-2.1.0 app/assets/stylesheets/functions/_render-gradients.scss
app_sleuth-0.0.1.pre lib/app_sleuth/server/assets/sass/mixins/functions/_render-gradients.scss
bourbon-2.0.0.rc1 app/assets/stylesheets/functions/_render-gradients.scss
bourbon-1.4.0 app/assets/stylesheets/functions/_render-gradients.scss