getdave / Tanlinell

Boilerplate Wordpress theme for rapid development of new WP themes. Based on the great work of the _s ("Underscore") theme.
GNU General Public License v2.0
6 stars 2 forks source link

Separate CSS Framework Repo #208

Closed getdave closed 10 years ago

getdave commented 10 years ago

The current policy of merging the CSS FW into the Theme was a simple expedient to aid development of the Theme. However as the CSS FW is now being used for other non-WP projects it makes sense that it is broken out into it's own repo (again!).

However a dependency on the CSS FW could still be maintain via Bower

https://github.com/bower/bower

Similarly other assets such as javascript could be maintained in this fashion.

getdave commented 10 years ago

Consider the following process

  1. Port all necessary frontend files to a new dedicated Tanlinell Frontend FW repo. This includes images, Javascript, fonts...etc as well as CSS.
  2. Define bower config file in FW repo and define dependencies.
  3. Create bower file in Tanlinell theme and reference the new dedicated Tanlinell Frontend FW repo.
  4. Configure /assets/ folder within Tanlinell theme to function correctly and have sensible defaults which mirror the frontend FW repo
getdave commented 10 years ago

Whohoo! Done! https://github.com/getdave/tanlinell-framework