-
Notifications
You must be signed in to change notification settings - Fork 398
Expand file tree
/
Copy pathginza.scss
More file actions
47 lines (41 loc) · 741 Bytes
/
ginza.scss
File metadata and controls
47 lines (41 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/*
*
* Ginza
*
*/
@import 'shared';
// mixin to extend ginza filter
// @mixin ginza
// @param $filters... {filter} - Zero to many css filters to be added
// @example
// img {
// @include ginza;
// }
// or
// img {
// @include ginza(blur(2px));
// }
// or
// img {
// @include ginza(blur(2px)) {
// /*...*/
// };
// }
@mixin ginza($filters...) {
@include filter-base;
filter: sepia(.2) contrast(1.2) brightness(1.05) saturate(1.2) $filters;
&::after {
background: rgba(0, 70, 150, .4);
mix-blend-mode: lighten;
}
&::before {
background: rgba(247, 176, 153, .56);
mix-blend-mode: darken;
}
@content;
}
// ginza Instagram filter
%ginza,
.ginza {
@include ginza;
}