Core Theme update

Events happening in the community are now at Drupal community events on www.drupal.org.
klaasvw's picture

Several days ago I've committed the theme to Drupal's contributions repository. I decided to call it Deco because it's inspired by art-deco and it's a short and easy to remember name.

I've tried finishing up most of the development because the deadline is due over littme more than a week.

Currently the following things have been implemented:

Regions:
- Header: Like Garland, a region that acts as hook to add html above the whole site
- Content: Goes just below the content
- Before content: Goes just before the content (above the page's title)
- Bottom content: A region between the footer and the content. It's split in two columns, so a block only spans half this region's width.
- Footer: not fully working yet
- Left sidebar: a regular left sidebar
- Right sidebar: a regular right sidebar
- Secondary right sidebar: a smaller sidebar that goes next to the right sidebar

The are two special behaviours with the sidebars:

If all three sidebars have content they will be rendered as three equally sized columns with the content beneath them.
If the secondary right sidebar has content but not the regular right sidebar it will be rendered as a regular one.

The user (with block admin access) who triggers this will get a status message explaining that the sidebars will look differently.

Elements styled:
- Nodes
- Node listings
- Comments (with zebra alternating colors)
- Tables
- Messages
- Fieldsets
- Primary and secondary navigation
- Pager
- Local Tasks (two levels)
- Lists
- Blocks for all regions with/without title
- Block admin page (shows a miniature view of the sidebars to prevent the content area to be too narrow when previewing regions)

Browser support
I've tested the basic layout in the following browsers: IE6, IE7, Firefox 2, Camino, Safari. The layout is working in all these browsers besides the following IE6 errors:
- List backgrounds tend to disappear
- Fieldsets need small adjustments
- The forum topic navigation at the bottom of a topic crashes the browser

I haven't tested the last adjustments to all the blocks yet, and I will test in Opera and Konqueror too.

Color.module support
As I said previously the color module didn't provide enough support for recoloring my theme. I've started writing a patch to make color.module support the following features:
- Fields: currently you're stuck with the base, text, link, top and bottom fields (colors the user can select). The patch will introduce support for custom fields which can be defined in the color.inc file
- Multiple regions/field: right now you can only define one region for blending for each field. The patch will allow to add an array of regions for each field
- Multiple gradients: support for more than one gradient

The module file has full support now for these features but I'm a little stuck with the javascript file. If I have enough time left next week I will make a patch for it too and make a color.inc file for my theme so it can be recolored, but right now it's not a priority.

Next week the goal is to make the theme final and stable. There are still some lesser elements that need to be themed and the footer and logo/header still needs some serious work. Besides that I will provide support for all modern browsers and if there's time left I'll finish the color.module patch and the color.inc file.

Comments

Please create a Drupal.org project for your theme

webchick's picture

This will allow more people to test it and give you feedback during development. It also gives you an issue tracker so people can log bugs, feature requests, etc.

Thanks for the info! I've

klaasvw's picture

Thanks for the info!

I've created the project, it's available here: http://drupal.org/project/deco

This theme will be really

aron novak's picture

This theme will be really fancy! Congratulations!