Sha256: e3c3ca59e9d91b88e2687db42996de2021bd951ae69b3dfe712f48ef1d610447

Contents?: true

Size: 313 Bytes

Versions: 2

Compression:

Stored size: 313 Bytes

Contents

/*
  Pass through a property and color value
*/

/*
	#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

2 entries across 2 versions & 1 rubygems

Version Path
stitch-0.1.5 stylesheets/stitch/patterns/color/_rgba.scss
stitch-0.1.4 stylesheets/stitch/patterns/color/_rgba.scss