Open sgtpep opened 10 years ago
I'm not too familiar with Bower, but from what I know, I don't think Brick is suitable for it.
Firstly, there's the multiple repository issue; then there's the issue that Brick is used by adding a <link>
tag to your HTML pages (I'm not sure Bower can do this), and not a file resource like jQuery.
A lot of binary resources already distributed with bower, including custom fonts. Example: http://bower.io/search/?q=open-sans. The only things that package should contain are: .woff file(s), and .css file with @font-face declaration. Optionally, it can contain .less/.scss file, besides .css, which allow you to redefine path to font files with some variable. Example: https://github.com/FontFaceKit/open-sans.
The inclusion of resources from bower packages is manual by adding needed / Githubissues.
It could be great to be able to run something like
bower install brick-open-sans
and almost instantly be ready to use it.But it may require to create separate git repository for each font, because it has no sense to register package with all of brick fonts.