barraponto/compass-drupal-plugin — Issue #5: Resetting core CSS
Author: barraponto
Created: 2011-12-13 11:26:22+00:00
State: open

If I want skins to work on any base theme with minimal fussing, I believe I must get Tao's reset approach into every base theme I will eventually support (including core): declaring every core stylesheet file in the .info file — the Drupal CSS overwrite — but don't include any of the files. I might need to include Eric Meyer's reset as well, since it makes every browser behave the same.

No other Drupal 6 base theme I studied effectively resets core styles. Most of them re-set the styles with subtle changes in their 'base' or 'default' CSS files, not only screwing up any hope of a default base style but also making it very difficult to tame the specificity (although the cascade will always work). I have studied the latest Drupal 6 versions of Zen, Adaptive Theme, Omega and Fusion.

I have also studied the Drupal 7 versions of Zen, Tao and Omega (and found D7 allows for a far better core CSS removal approach). If there's any base theme or reset approach that I'd rather study before going Tao/Meyer, please put it in the comments.