-
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
fcc12bd
commit e8088b8
Showing
3 changed files
with
36 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,3 +24,4 @@ | |
@import 'valencia'; | ||
@import 'kelvin'; | ||
@import 'juno'; | ||
@import '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
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; | ||
} |