You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While writing an scss file that defined some custom font-face rules for my company's custom fonts it became apparent that the sass_library/binary rule do not have a "data" attribute where one could reference the dependent typography files. I wasn't able to use the dependency attribute either since that attribute appears to be written to only handle scss imports.
Would it be possible to add a "data" attribute to the rule/s where typography files referenced in font-face definitions can be passed, or is there another way I should go about doing this? I thought about handling the files with filegroup or genrule to make sure they ended up where the font-face rule expected to find them, but didn't like how this appeared to disassociate the required/dependent typography files from the scss rules that references them.
The text was updated successfully, but these errors were encountered:
While writing an scss file that defined some custom font-face rules for my company's custom fonts it became apparent that the sass_library/binary rule do not have a "data" attribute where one could reference the dependent typography files. I wasn't able to use the dependency attribute either since that attribute appears to be written to only handle scss imports.
Would it be possible to add a "data" attribute to the rule/s where typography files referenced in font-face definitions can be passed, or is there another way I should go about doing this? I thought about handling the files with filegroup or genrule to make sure they ended up where the font-face rule expected to find them, but didn't like how this appeared to disassociate the required/dependent typography files from the scss rules that references them.
The text was updated successfully, but these errors were encountered: