Thank you Torsten. Issues #21 and #22 added to reflect this feedback and further research.�


On Tue, Mar 11, 2014 at 12:07 PM, Torsten Bergmann <astares@gmx.de> wrote:
Hi Gabriel,

nice work - now designers should start learning Smalltalk to be able to refactor large
style definitions :)

Some feedback:
=============
the new "RenoirSt" project unfortunately conflicts with the "Unit" package when both get loaded from the
config browser in Pharo 3.0:

�- RenoirSt loaded: �"2 px" returns an instance of CssLength (px is an extension method on Integer)
�- Units loaded: � � "2 px" returns an instance of UnitValue (px is an extension method on Number)
as you have defined own custom "units" in category "RenoirSt-Units".

I would really like to see that RenoirSt is reusing the common Units package instead of reinventing/conflicting
as the Unit package already provides pixels, millimeters, ... support including conversion. Reuse is key�
and would avoid duplicated effort.�

For instance Artefact, the PDF framework is using Units as a prerequisite already too - as it also�
has to deal with mm, pixels, points, ...�

Should be no problem to add missing CSS lengths like #em to Units project as well. Just ask Marcus Denker
to add you as a contributor to http://smalltalkhub.com/#!/~MarcusDenker/Units/
Then add Units as a prerequisite similar to ConfigurationOfArtefact and use it in your code.��

Regarding features:
===================
For Seaside there is a project called "Seafox" generating Seaside #renderContentOn: methods from
HTML. http://lists.squeakfoundation.org/pipermail/seaside/2010-August/023993.html

Maybe you want to build something similar for #cssContentOn: to support a better roundtrip with designers.

Bye
T.


Gesendet:�Dienstag, 11. M�rz 2014 um 14:13 Uhr
Von:�"Gabriel Cotelli" <g.cotelli@gmail.com>
An:�"Pharo Development List" <pharo-dev@lists.pharo.org>
Betreff:�[Pharo-dev] [ANN] RenoirSt 1.0.0 Release for Pharo 3.0

Hi,

I'm announcing the first official release of RenoirSt, a DSL enabling programmatic cascading style sheet generation for Pharo.

For the impatient, you can load it in your 3.0 image evaluating:

Gofer it � �
� � url: 'http://smalltalkhub.com/mc/gcotelli/RenoirSt/main';
� � configurationOf: 'RenoirSt';
� � loadStable�

or download a ready to use image from the Contribution CI Server[https://ci.inria.fr/pharo-contribution/job/RenoirSt/]�( a ConfigurationBrowser option comming soon).

Visit the project page[http://gcotelli.github.io/RenoirSt/] and GitHub repository[https://github.com/gcotelli/RenoirSt]�for more information on the supported and planned features, and check-out the online tutorial.[https://github.com/gcotelli/RenoirSt/blob/stable/docs/tutorial/Tutorial%20-%20TOC.md]

I hope you find it useful. Feel free to ask any questions, suggest ideas and improvements, or report bugs (the issue tracker is in GitHub).

Gabriel