Sha256: f3a3b939708211ff9c7ed33fe21ad65539cd8b249740369dad8de99e94c9e857

Contents?: true

Size: 267 Bytes

Versions: 4

Compression:

Stored size: 267 Bytes

Contents

// #header {
// 	@include rgba(color, #000, 0.8);  
// 	or
// 	@include rgba(color, #000);
// }
@mixin rgba($property, $color, $alpha:false){
	#{$property}: $color;
	@if ($alpha){
		#{$property}: rgba($color, $alpha);
	}
	@else {
		#{$property}: rgba($color, 1);
	}
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stitch-0.1.7.beta.3 stylesheets/stitch/patterns/color/_rgba.scss
stitch-0.1.7.beta.2 stylesheets/stitch/patterns/color/_rgba.scss
stitch-0.1.7.beta.1 stylesheets/stitch/patterns/color/_rgba.scss
stitch-0.1.6 stylesheets/stitch/patterns/color/_rgba.scss