[themes] Modules CSS styles...
Darrel O'Pry
dopry at thing.net
Fri Dec 2 20:49:15 UTC 2005
On Fri, 2005-12-02 at 13:20 -0500, Trae McCombs wrote:
> Darrel O'Pry wrote:
> <snip>
> > Well the idea of sensible is a consensus of whats right and a best
> > practices page :)... Not really a standard, but a set of suggested
> > guidelines would be very nice.
>
> Right...
>
> > Not sure if this is really on topic, since I'm coming in the tail end of
> > the conversation.
> >
> > Personally I think there should be a set of standard css classes....
> > something like...
> >
>
> Actually, Eric Meyers discussed this concept here:
> http://meyerweb.com/eric/thoughts/2004/06/26/structural-naming/
>
> We actualy have a lot of these implemented in the CivicSpace Theme.
>
> > .bg-color-primary, .bg-color-compliment-1, .bg-color-compliment-2
> > .text-color-primary, .text-color-compliment-1, .text-color-compliment-2
> > .wrapper, .box, etc..
> >
> > Someone with a better grasp of color theory, css, and drupal theming
> > would probably be a better candidate for working that out...
>
> I'm all for trying to stay within standards without trying to create our
> own proprietery Drupal naming scheme.
>
> > Then suggest to module developers where/how these default classes should
> > be used, and to include a module-specific class in the class tag...
> >
> > ie)
> > <div class='.box .box-$module'>
>
> class=".box" ? I didn't know that was legal?
opps wrong context..
>
> Trae
More information about the themes
mailing list