A collection of snippets and tools I find myself using recursively for new projects. It aims to make creating a new theme faster, and output proper HTML5 markup within Drupal 7.
v0.1.0 Needs more cleaning/refactoring/testing.
What it is:
- A framework, a starter kit for themers to scaffold a new theme.
- A base theme
primo
which cares about converting (some of) Drupal 7 default markup into HTML5. So we shouldn’t worry about those things in our theme. - A starter kit
ineo
with boilerplate and placeholder code.
What it’s not:
- Although some markup cleaning is done, it is not a "reset" theme in itself.
- This is definitely not a production ready theme to produce a nice site out of the box in just a few clicks.
- No clicky theme-settings here.
- Most likely it will not reach drupal.org, as it is not meant to be yet another HTML4.9 contrib theme.
Use in conjunction with:
- "html5_tools" http://dgo.to/html5_tools
- "elements" http://dgo.to/elements
- "Modernizr" http://dgo.to/modernizr
- "Display Suite" http://dgo.to/ds
- "Fences" http://dgo.to/fences
- "jQuery Update" http://dgo.to/jquery_update
- "Speedy" http://dgo.to/speedy
The basic strucure is primo
as base theme, and ineo
as starter kit.
ineo
is "prune friendly", so you should do whatever you like in there.
Start a new subtheme with make NAME="newthemename"
- Switch from makfile to Drush or Yeoman.
- The region wrappers pruning is a bit agressive, find a more flexible system.
- Accessible tables, use the scope attributes ? http://dgo.to/1645308 http://dgo.to/864006
- Collapsible fieldsets have been replaced with HTML5 details elements http://dgo.to/1852020
Pascal Duez
Copyright 2011-2014 Pascal Duez.
Licensed under the GNU General Public License, version 2 - http://www.gnu.org/licenses/gpl-2.0.html