On 2/17/17, 12:22 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
<carlos.rov...@gmail.com on behalf of carlos.rov...@codeoscopic.com> wrote:

>Aside from the problem begin discussed, I continue thinking that generated
>code should not have the verbose hardcoded styles that is shown and should
>be created as CSS. I think for various reasons.
>
>1.- I don't like CSS hardcoded in control/view component in source code
>2.- that would make people unable to remove that code, and some people
>would want to do it.
>3.- the typical "separation of concerns" apply here perfectly
>
>It's only me? or nobody thinks that our output should not be so verbose?
>
>My bet would be to create some CSS styles that unifies that and apply it
>on
>class selectors.
>Since js:Button or js:Container has a typedef of "Button" or "Container"
>classes respectively in css
>we can insert all this css styles in that rule.
>
>People nos wanting that styles can exclude default css with the compiler
>option.
>

+1 for moving more things to the Type selectors.  However, we still fiddle
with style at runtime for visible and layout.

-Alex

Reply via email to