Closed (fixed)
Project:
Zen
Version:
6.x-2.x-dev
Component:
CSS/HTML Markup
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 09:52 UTC
Updated:
26 Aug 2009 at 04:40 UTC
After #200495: Split up monolithic zen.css into smaller, logical stylesheets, there are a lot of stylesheets that will need to copied to a new sub-theme using the STARTERKIT. It will be a lot easier for theme developers if those stylesheets are already in the STARTERKIT ready to go. It was also shorten the "how to create a sub-theme" instructions a bit.
Comments
Comment #1
Steven_NC commentedIf all of the css files need to be copied to the sub-theme (the renamed STARTERKIT) folder, do they need to be in the zen folder at all? Would a sites/all/themes/sub-theme/css folder work?
Comment #2
johnalbinSo I asked in twitter if people prefer a “css” or a “styles” directory. I typically use styles, but the response was about 95% vote for css, so I’m also going to move all the stylesheets into a css subdirectory.
And, yes, given that this is an issue #513926: Sub-themes cannot alter order of base theme css files, it would make sense to remove them from the zen core folder. I've come up with a solution where all the stylesheets go into the STARTERKIT. And then IZen just loads a copy of those files if it is made the active theme (which is rare since why would you want to use Zen as your theme?)
Which means zen.css is re-born! But it will remain hidden from any sub-themes.