w20-framework / w20

W20 is a Web framework, built upon a powerful RequireJS/AngularJS/Bootstrap mix to help you develop single page applications.
https://w20-framework.github.io/
Mozilla Public License 2.0
8 stars 9 forks source link

Allow changing the CSS framework #39

Closed kavi87 closed 8 years ago

kavi87 commented 8 years ago

Fix #35

Twitter Bootstrap libraries have been deported to their own fragment (ui-bootstrap). Another fragment has been created with angular-material related dependencies (ui-material). This allow to specify the CSS framework to use by including the corresponding fragment instead of systematically autoloading Bootstrap.

Each ui- fragment map the name "{framework}" to their id. This allow other modules to always refer to the chosen CSS framework as {framework}/framework.