A theme option to disable the import of the standard Zentropy styles would be very handy. Although much appreciated some people prefer to write it themselves.

Comments

rovo’s picture

I'm wondering if the SUBTHEME.css files(layout/SUBTHEME-*.css) might be best left blank? Maybe only leave the notes at the top for the purpose of each. Just thinking the CORE styles don't need to be duplicated into the SUBTHEME styles...

@Oskarrough, I'm not sure if this the same thing you are referring to?

brewthis’s picture

Not exactly, although I agree with you.

I'm looking for a way to use the Subtheme without heritating all the css layout files from the base theme. For example, what if you don't want to use the same reset, the same layout methods and the same css file structure?

For now, deleting the files of course work until the next update.

alexweber’s picture

@rob_dean, I've opened a separate issue for this: #1467132: Don't duplicate layout styles in subtheme css

@oskarrough, I'm implementing this in a few minutes :)

alexweber’s picture

Assigned: Unassigned » alexweber
Status: Active » Needs review

@oskarrough, after giving this a lot of thought I decided to opt against it.

I have, however, provided a nice alternative:

There's now a line in SUBTHEME.info which you can uncomment to effectively disable the Zentropy core CSS.

I hope this is an acceptable compromise! :)

brewthis’s picture

Hey, sounds like an even better way of doing it - thanks!

alexweber’s picture

Status: Needs review » Closed (fixed)

@oskarrough no problem! :)