-
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
1 parent
4615b1b
commit d012b77
Showing
3 changed files
with
38 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 |
---|---|---|
|
@@ -47,7 +47,7 @@ | |
}, | ||
{ | ||
"name": "Dogpatch", | ||
"is_done": false, | ||
"is_done": true, | ||
"usage": "dogpatch" | ||
}, | ||
{ | ||
|
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
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,34 @@ | ||
/* | ||
* Dogpatch | ||
* | ||
*/ | ||
@import 'shared'; | ||
// mixin to extend dogpatch filter | ||
// @mixin dogpatch | ||
// @param $filters... {filter} - Zero to many css filters to be added | ||
// @example | ||
// img { | ||
// @include dogpatch; | ||
// } | ||
// or | ||
// img { | ||
// @include dogpatch(blur(2px)); | ||
// } | ||
// or | ||
// img { | ||
// @include dogpatch(blur(2px)) { | ||
// /*...*/ | ||
// }; | ||
// } | ||
@mixin dogpatch($filters...) { | ||
@extend %filter-base; | ||
filter: contrast(1.38) saturate(.85) brightness(1.08) $filters; | ||
|
||
@content; | ||
} | ||
|
||
// dogpatch Instagram filter | ||
%dogpatch, | ||
.dogpatch { | ||
@include dogpatch; | ||
} |