Reusable components for Firefox OS.
The main folder in this repo "style" is fetched from Gaia once a day. The code you will find here could be useful to anyone interested in creating a Firefox OS application and use the look and feel of core applications in the OS, without having to clone the complete Gaia repo.
You can find more information on how to use Building Blocks in buildingfirefoxos.com. All examples showed there are also available inside "style" forlder, but in a more friendly manner.
Include cross_browser.css
if you want your webapp can run on any modern browser.
Please test your app in your target browsers, as "style" folder is pulled automatically from the original source, if some styles changes before we have the change to update this file, we cannot guarantee it will always work as expected.
-
You can git clone the code from github
https://github.com/buildingfirefoxos/Building-Blocks.git
-
Or if you have bower installed (http://bower.io/), run command:
$ bower install building-blocks#gh-pages
This repo is maintained by @rnowm. Feel free to add your suggestions in issues section.
In case you want to discuss why Firefox OS Building Blocks are coded like that and propose improvements, you should write to Gaia's mailing list.