heynote/public/font/open-sans/sass/_mixins.scss
Jonatan Heyman 3b905951af Convert styles.css to SASS and include it by importing it in main.js.
Add fonts: Hack and Open Sans.
Change editor font to Hack.
2023-01-15 19:55:26 +01:00

5 lines
295 B
SCSS

@mixin fontdef($OpenSansPath, $OpenSansVersion, $FontType:"Regular") {
src: url('#{$OpenSansPath}/#{$FontType}/OpenSans-#{$FontType}.woff2?v=#{$OpenSansVersion}') format('woff2'),
url('#{$OpenSansPath}/#{$FontType}/OpenSans-#{$FontType}.woff?v=#{$OpenSansVersion}') format('woff');
}