[dojo-contributors] squid theme

Eugene Lazutkin eugene at lazutkin.com
Fri Aug 17 15:54:14 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

peter e higgins wrote:
>> I agree with what you're saying as well.  In fact, I'm half-tempted to put
>> a baseline stylesheet in the resources folder of DojoX as well.
> 
> Well, thinking about that, it makes sense for each project to "have to" 
> maintain it's own CSS wrt/ the the available themes. and since each 
> individual project/widget/component's css would be relatively, it would be 
> trivial to wrap all the themes into a single file:
> 
> .tundra .dojoxWidgetName { }
> .soria .dojoxWidgetName { }
> .squid .dojoxWidgetName { }

What if somebody adds new theme? Now we have to deal with a bunch of CSS
files scattered through Dojo. Have this declarations in, say, tundra.css
makes it simpler to maintain, and ultimately a theme creator will know
what visuals to style just by looking at one file.

> as there needs to be no more bloat in tundra.css than there already is (as far 
> as potentially unused definitions).  I think the styles between dijit + dojox 
> _should_ be re-used as often as possible.  the best way to go about that is a 
> mystery to me, aside from my above example. 

I agree that "the trash can approach" (put everything in one place) can
lead to the code bloat. But the other side of the coin is the ease of
maintenance.

Thanks,

Eugene
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGxfv1Y214tZwSfCsRAhNTAKCbqUQ1ItVsg7qPl22E3pNrS00FPwCggZVH
W0qdMWmbnjlQUI+7Gypi88k=
=4L02
-----END PGP SIGNATURE-----



More information about the dojo-contributors mailing list