Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/filters.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
},
{
"name": "Stinson",
"is_done": false,
"is_done": true,
"usage": "stinson"
},
{
Expand Down
1 change: 1 addition & 0 deletions source/scss/cssgram.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
@import 'willow';
@import 'rise';
@import 'slumber';
@import 'stinson';
@import 'brannan';
@import 'valencia';
@import 'kelvin';
43 changes: 43 additions & 0 deletions source/scss/stinson.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
/*
*
* Inkwell
*
*/
@import 'shared';

// mixin to extend inkwell filter
// @mixin inkwell
// @param $filters... {filter} - Zero to many css filters to be added
// @example
// img {
// @include inkwell;
// }
// or
// img {
// @include inkwell(blur(2px));
// }
// or
// img {
// @include inkwell(blur(2px)) {
// /*...*/
// };
// }
@mixin stinson($filters...) {
@include filter-base;
filter: sepia(.2) hue-rotate(-2deg) contrast(.9) brightness(1.05) $filters;
&::before {
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D Please add a line space before the pseudo elements!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry about that! Added now. :)

background-color: rgba(171,148,142,.8);
mix-blend-mode: soft-light;
}
&::after {
background-color: rgba(51,42,37,1);
mix-blend-mode: lighten;
}
@content;
}

// inkwell Instagram filter
%stinson,
.stinson {
@include stinson;
}