![]() # Note: If you are using grunt.js, these variables will be overriden. # Change this to :production when ready to deploy the CSS to the live server. ![]() Http_path = "/sites/all/themes/custom/gt" # Set this to the root of your project when deployed: "Graphik-MediumItalic-Web.svg#Graphik Web", svg), "Graphik-MediumItalic-Web.eot", bold, italic) Īnd config.rb: # Require any additional compass plugins here. "Graphik-MediumItalic-Web.ttf", truetype, "Graphik-RegularItalic-Web.svg#Graphik Web", svg), "Graphik-Medium-Web.eot", bold, font-face("Graphik Web", font-files( "Graphik-RegularItalic-Web.svg#Graphik Web", svg), "Graphik-RegularItalic-Web.eot", normal, font-face("Graphik Web", font-files( "Graphik-RegularItalic-Web.ttf", truetype, ![]() "Graphik-Regular-Web.svg#Graphik Web", svg), "Graphik-Regular-Web.eot", normal, font-face("Graphik Web", font-files( Here's the include, which I've placed in _style_guide.scss: font-face("Graphik Web", font-files( Regardless that doesn't seem like *enough* of a reason to completely fail to load the fonts as resources. When I inspect the CSS being generated it seems to be pointing to the correct location (you can check the config.rb below) although when it's uncompressed it does show a relative path ("./fonts/."). I've been using the font-face technique described at Compass and it works a treat until I turn on CSS aggregation, at which point the fonts aren't even getting loaded in to the page.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |