]> git.0d.be Git - panikweb-esperanzah.git/blobdiff - panikweb_esperanzah/static/css/_type.scss
update to 2022 design/colours
[panikweb-esperanzah.git] / panikweb_esperanzah / static / css / _type.scss
index 0fe0a586d9c7630297d12e11de2d86fe1310357c..13880237bece5766579d4d2499bd2eeb5436f3e5 100644 (file)
@@ -1,27 +1,17 @@
-$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-"]{