Colorz product - beta 3 :-s - bugs fixed + new method
I have received a lot of feedback, interrest and positive comments on the Colorz product.. Thank you all. But issues showed up so I have changed it a bit. get it while it is still fresh at: http://www.zope.org/Members/maxm/productList/colorz/colorz10b3.zip/view regards max M #############################3 Bugs fixed! - I had hardwired colorz as an id into some of the dtml. This has been change. Thanks to Jerome Alet for the "patch" - Whenever a grey color was used, what should have been levels of greys actually had red in it. This is due to the Python colorsys module. I can see that it can be confusing, so I have special-cased grey colors. #############################3 New functionality A new method is added 'getcolor()' wich can be called like:: <dtml-var "colorz.getcolor(colorname='main', brightnes=50, saturation=20)"> <dtml-var "colorz.getcolor('main', 50, 20)"> <dtml-var "colorz.getcolor(brightnes=50)"> ("main" is default)
Hi Max, --On Freitag, 29. November 2002 14:02 +0100 Max M <maxmcorp@worldonline.dk> wrote:
I have received a lot of feedback, interrest and positive comments on the Colorz product..
Nice. Do you have any idea how to simplyfy the use of the product with CSS? While str(colorz) provides the string which can be used say for "body { bgcolor background-color: %(background)s;" % {'background':colorz.main} may be a supporting parser? Which finds all uses of .?color: and provides a configurable interface? Just some ideas. May be I can provide some examples/patches. Regards Tino
Tino Wildenhain wrote:
Nice. Do you have any idea how to simplyfy the use of the product with CSS? While str(colorz) provides the string which can be used say for "body { bgcolor background-color: %(background)s;" % {'background':colorz.main}
Why don't you just write the CSS in dtml?
may be a supporting parser? Which finds all uses of .?color: and provides a configurable interface?
Just some ideas. May be I can provide some examples/patches.
Then I wil certainly look at them. regards Max M
participants (3)
-
Max M -
maxm -
Tino Wildenhain