Created
December 16, 2022 18:08
-
-
Save jensgro/0a6fce27d9692f627cbd0f9c0fef9ab4 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
$fontBasePath: "../fonts/"; | |
@mixin ff($name, $style, $weight, $path){ | |
@font-face { | |
font-family: '#{$name}'; | |
font-style: #{$style}; | |
font-weight: $weight; | |
src: local(''), | |
url($fontBasePath+$path+'.woff2') format('woff2'), | |
url($fontBasePath+$path+'.woff') format('woff'); | |
} | |
} | |
@include ff("Assistant", "normal", 400, "assistant-v18-latin-regular" ) |
This file contains hidden or 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
@font-face { | |
font-family: "Assistant"; | |
font-style: normal; | |
font-weight: 400; | |
src: local(""), url("../fonts/assistant-v18-latin-regular.woff2") format("woff2"), url("../fonts/assistant-v18-latin-regular.woff") format("woff"); | |
} |
This file contains hidden or 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
{ | |
"sass": { | |
"compiler": "dart-sass/1.32.12", | |
"extensions": {}, | |
"syntax": "SCSS", | |
"outputStyle": "expanded" | |
}, | |
"autoprefixer": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment