-
Notifications
You must be signed in to change notification settings - Fork 399
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Praseetha-KR
committed
Oct 1, 2016
1 parent
a6f9b3b
commit 9787865
Showing
3 changed files
with
45 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,7 +177,7 @@ | |
}, | ||
{ | ||
"name": "Valencia", | ||
"is_done": false, | ||
"is_done": true, | ||
"usage": "valencia" | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
@import 'willow'; | ||
@import 'rise'; | ||
@import 'slumber'; | ||
@import 'brannan' | ||
@import 'brannan'; | ||
@import 'valencia'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* | ||
* Valencia | ||
* | ||
*/ | ||
@import 'shared'; | ||
|
||
// mixin to extend valencia filter | ||
// @mixin valencia | ||
// @param $filters... {filter} - Zero to many css filters to be added | ||
// @example | ||
// img { | ||
// @include valencia; | ||
// } | ||
// or | ||
// img { | ||
// @include valencia(blur(2px)); | ||
// } | ||
// or | ||
// img { | ||
// @include valencia(blur(2px)) { | ||
// /*...*/ | ||
// }; | ||
// } | ||
@mixin valencia($filters...) { | ||
@extend %filter-base; | ||
filter: contrast(1.08) brightness(1.08) sepia(0.08) $filters; | ||
|
||
&::after { | ||
background: rgb(58, 3, 57); | ||
mix-blend-mode: exclusion; | ||
opacity: .5; | ||
} | ||
|
||
@content; | ||
} | ||
|
||
// valencia Instagram filter | ||
%valencia, | ||
.valencia { | ||
@include valencia; | ||
} |