Hello, I was wondering if anyone here has any experience working with a Meteor React Stylus environment? I have a
styles.styl file in my root directory, and I’m importing some fonts from a subfolder. This is my code in my styles.styl file, but for some reason this does not work at all in any browser.
@font-face font-family Futura font-style Extra Bold src url(imports/ui/assets/fonts/Futura/FuturaExtraBold.otf) format(opentype), url(imports/ui/assets/fonts/Futura/FuturaExtraBold.ttf) format(truetype), url(imports/ui/assets/fonts/Futura/FuturaExtraBold.eot) format(embedded-opentype), url(imports/ui/assets/fonts/Futura/FuturaExtraBold.woff) format(woff), url(imports/ui/assets/fonts/Futura/FuturaExtraBold.svg) format(svg)
Would anyone be able to shed some light on how I should get fonts being imported properly? I don’t receive any errors, but this font family is not instantiated when used on any element.