-$barlow-font-path: '../fonts/Barlow' !default;
+$font-path: '../fonts/Cervo' !default;
-@mixin barlow-font($type, $weight, $style: normal) {
+@mixin cervo-font($type, $weight, $style: normal) {
@font-face {
- font-family: 'Barlow';
- src: url('#{$barlow-font-path}/Barlow-#{$type}-webfont.woff') format('woff');
+ font-family: 'Cervo';
+ src: url('#{$font-path}/typoforge_studio_-_cervoneue-#{$type}neue-webfont.woff') format('woff2'),
+ url('#{$font-path}/typoforge_studio_-_cervoneue-#{$type}neue-webfont.woff') format('woff');
font-weight: $weight;
font-style: $style;
}
}
-@mixin barlow-font-pair($type, $weight) {
- @include barlow-font($type, $weight);
- @include barlow-font(#{$type}Italic, $weight, italic);
-}
-
-@include barlow-font-pair('Thin', 100);
-@include barlow-font-pair('ExtraLight', 200);
-@include barlow-font-pair('Light', 300);
-@include barlow-font-pair('Regular', 400);
-@include barlow-font-pair('Medium', 500);
-@include barlow-font-pair('SemiBold', 600);
-@include barlow-font-pair('Bold', 700);
-@include barlow-font-pair('Black', 900);
+@include cervo-font('regular', 400);
+@include cervo-font('bold', 700);
[class^="icon-"],
[class*=" icon-"]{